Compare commits

...

19 Commits

Author SHA1 Message Date
MrZ_26
bb89665fff 版本推进 2022-09-10 19:11:35 +08:00
MrZ_26
eca1f00549 框架跟进(修复触屏弹不出键盘问题) 2022-09-10 19:01:04 +08:00
MrZ_26
ca20b93632 调整一些语言相关文本
整理代码
2022-09-10 03:16:08 +08:00
MrZ_26
f3d08bae1a 整理代码,大规模整理(展开)使用次数不多的局部变量名
框架跟进
2022-09-10 03:02:00 +08:00
MrZ_26
ad4365faab 版本推进 2022-09-07 02:35:23 +08:00
MrZ_26
e8c69f7c03 删除那个没用过的c2限速式图片,不打算用了 close #735 2022-09-07 01:59:41 +08:00
MrZ_26
f4267cfe2a 行号不再只在场地高度大于20的时候显示,只要开了就常驻 close #748 2022-09-07 01:32:18 +08:00
MrZ_26
ce178d5b2b 框架跟进,修复键盘不能和按钮交互 close #745 2022-09-07 01:25:07 +08:00
MrZ_26
07eb296956 框架跟进,修复自定义场地界面按任何颜色按钮报错 close #743 2022-09-07 01:21:13 +08:00
MrZ_26
3eb982d00c 部分模式在游戏过程中就可以看到当前评级 close #747 2022-09-07 01:16:55 +08:00
MrZ_26
c52d2d0cd0 调整defender_n难度曲线(会损坏之前录像) close #739 2022-09-07 00:09:00 +08:00
MrZ_26
f6c00ec8fb 把miya语音包的b3b也换新,虽然读得不太一样 2022-09-06 22:13:11 +08:00
MrZ_26
70d5be3613 调整一些tip相关 2022-09-02 01:28:44 +08:00
ParticleG
1cedf7000f - Fix other names 2022-08-31 21:17:20 +08:00
ParticleG
0aaa5d2193 - Rename core artifact & release 2022-08-31 21:13:35 +08:00
ParticleG
8203f882b9 - Add ColdClear wrapper to Windows 2022-08-30 17:23:59 +08:00
MrZ_26
e1885bdb60 miya语音包重录 2022-08-29 14:49:53 +08:00
Richard969
21c8355340 add AUR(techmino-git) badge (#742)
renamed AUR version to AUR techmino-client
renamed AUR techmino-client's label from 'AUR' to 'techmino-client'
2022-08-27 02:45:56 +08:00
NOT_A_ROBOT
1db65c6d03 fix error message (#738) 2022-08-27 02:44:39 +08:00
252 changed files with 599 additions and 1107 deletions

View File

@@ -53,13 +53,20 @@ jobs:
runs-on: ubuntu-latest
needs: get-info
env:
PACKAGE_NAME: ./${{ needs.get-info.outputs.base-name }}_Core.love
OUTPUT_FOLDER: ./build
outputs:
download-url: ${{ steps.transfer.outputs.download-url }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Process app name
id: process-app-name
shell: python3 {0}
run: |
import os
import re
os.system("echo ::set-output name=product-name::" + re.sub(r"[^A-Za-z0-9]+", "_", "${{ needs.get-info.outputs.app-name }}"))
- uses: ./.github/actions/update-version
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
with:
@@ -76,24 +83,26 @@ jobs:
name: ${{ env.CORE_LOVE_ARTIFACT_NAME }}
path: ${{ env.CORE_LOVE_PACKAGE_PATH }}
- name: Rename love package
run: mv ${{ env.CORE_LOVE_PACKAGE_PATH }} ${{ env.PACKAGE_NAME }}
run: |
mkdir -p ${{ env.OUTPUT_FOLDER }}
mv ${{ env.CORE_LOVE_PACKAGE_PATH }} ${{ env.OUTPUT_FOLDER }}/${{ steps.process-app-name.outputs.product-name }}.love
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ needs.get-info.outputs.base-name }}_Core
path: ${{ env.PACKAGE_NAME }}
name: ${{ needs.get-info.outputs.base-name }}_Core_love
path: ${{ env.OUTPUT_FOLDER }}/${{ steps.process-app-name.outputs.product-name }}.love
- name: Upload release
if: ${{ startsWith(github.ref, 'refs/tags/pre') || startsWith(github.ref, 'refs/tags/v') }}
uses: softprops/action-gh-release@v1
with:
body: ${{ github.event.head_commit.message }}
files: ${{ env.PACKAGE_NAME }}
files: ${{ env.OUTPUT_FOLDER }}/${{ steps.process-app-name.outputs.product-name }}.love
prerelease: ${{ startsWith(github.ref, 'refs/tags/pre') }}
- name: Upload to WeTransfer
id: transfer
run: |
curl -sL https://git.io/file-transfer | sh
./transfer wet -s -p 16 --no-progress ${{ env.PACKAGE_NAME }} 2>&1>./wetransfer.log
./transfer wet -s -p 16 --no-progress ${{ env.OUTPUT_FOLDER }}/${{ steps.process-app-name.outputs.product-name }}.love 2>&1>./wetransfer.log
echo "::set-output name=download-url::$(cat ./wetransfer.log | grep https | cut -f3 -d" ")"
- name: Show download link
shell: bash
@@ -328,7 +337,7 @@ jobs:
- name: Upload AppImage artifact
uses: actions/upload-artifact@v3
with:
name: ${{ needs.get-info.outputs.base-name }}_Linux
name: ${{ needs.get-info.outputs.base-name }}_Linux_AppImage
path: ${{ env.OUTPUT_FOLDER }}/${{ steps.process-app-name.outputs.product-name }}.AppImage
- name: Upload release
if: ${{ startsWith(github.ref, 'refs/tags/pre') || startsWith(github.ref, 'refs/tags/v') }}
@@ -551,6 +560,11 @@ jobs:
uses: actions/download-artifact@v3
with:
name: ${{ env.CORE_LOVE_ARTIFACT_NAME }}
- name: Download ColdClear
uses: ./.github/actions/get-cc
with:
platform: Windows
dir: ./ColdClear
- name: Build Windows packages
id: build-packages
uses: 26F-Studio/love-actions-windows@v1
@@ -558,6 +572,8 @@ jobs:
icon-path: ./.github/build/windows/${{ env.BUILD_TYPE }}/icon.ico
rc-path: ./.github/build/windows/${{ env.BUILD_TYPE }}/template.rc
love-package: ${{ env.CORE_LOVE_PACKAGE_PATH }}
extra-assets-x86: ./ColdClear/x86/CCloader.dll ./ColdClear/x86/cold_clear.dll
extra-assets-x64: ./ColdClear/x64/CCloader.dll ./ColdClear/x64/cold_clear.dll
product-name: ${{ steps.process-app-name.outputs.product-name }}
version-string: ${{ needs.get-info.outputs.version-string }}
output-folder: ${{ env.OUTPUT_FOLDER }}

View File

@@ -80,15 +80,14 @@ table.insert(_LOADTIMELIST_,("Load Zframework: %.3fs"):format(TIME()-_LOADTIME_)
--Create shortcuts
setFont=FONT.set
getFont=FONT.get
mStr=GC.mStr
mText=GC.simpX
mDraw=GC.draw
mDraw=GC.mDraw
Snd=SFX.playSample
string.repD=STRING.repD
string.sArg=STRING.sArg
string.split=STRING.split
--Delete all naked files (from too old version)
--Delete all naked files (from ancient versions)
FILE.clear('')
--Create directories
@@ -150,18 +149,15 @@ do--Z.setCursor
{'dCirc',8,8,7},
{'fCirc',8,8,3},
}
local min,int,abs=math.min,math.floor,math.abs
local gc_setColor,gc_draw=love.graphics.setColor,love.graphics.draw
local ms=love.mouse
Z.setCursor(function(time,x,y)
if not SETTING.sysCursor then
local R=int((time+1)/2)%7+1
local R=math.floor((time+1)/2)%7+1
_=BLOCK_COLORS[SETTING.skin[R]]
gc_setColor(_[1],_[2],_[3],min(abs(1-time%2),.3))
GC.setColor(_[1],_[2],_[3],math.min(math.abs(1-time%2),.3))
_=DSCP[R][0]
gc_draw(TEXTURE.miniBlock[R],x,y,time%3.14159265359*4,8,8,2*_[2]+1,2*(#BLOCKS[R][0]-_[1])-1)
gc_setColor(1,1,1)
gc_draw(ms.isDown(1)and holdImg or normImg,x,y,nil,nil,nil,8,8)
GC.draw(TEXTURE.miniBlock[R],x,y,time%math.pi*4,8,8,2*_[2]+1,2*(#BLOCKS[R][0]-_[1])-1)
GC.setColor(1,1,1)
GC.draw(love.mouse.isDown(1)and holdImg or normImg,x,y,nil,nil,nil,8,8)
end
end)
end
@@ -241,7 +237,7 @@ if
pcall(TABLE.cover, loadFile('conf/virtualkey','-json -canSkip')or loadFile('conf/virtualkey','-luaon -canSkip')or{},VK_ORG)
)
then
MES.new('error',"Be careful, an error accured when loading saving, some data was lost")
MES.new('error',"An error occured during loading, and some data was lost.")
end
--Initialize fields, sequence, missions, gameEnv for cutsom game
@@ -277,7 +273,6 @@ IMG.init{
lifeIcon='media/image/mess/life.png',
badgeIcon='media/image/mess/badge.png',
ctrlSpeedLimit='media/image/mess/ctrlSpeedLimit.png',
speedLimit='media/image/mess/speedLimit.png',--Not used, for future C2-mode
pay1='media/image/mess/pay1.png',
pay2='media/image/mess/pay2.png',

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
media/vocal/miya/b3b_3.ogg Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
media/vocal/miya/bye_3.ogg Normal file

Binary file not shown.

BIN
media/vocal/miya/bye_4.ogg Normal file

Binary file not shown.

BIN
media/vocal/miya/bye_5.ogg Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
media/vocal/miya/lose_4.ogg Normal file

Binary file not shown.

BIN
media/vocal/miya/lose_5.ogg Normal file

Binary file not shown.

BIN
media/vocal/miya/lose_6.ogg Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
media/vocal/miya/mini_4.ogg Normal file

Binary file not shown.

BIN
media/vocal/miya/mini_5.ogg Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
media/vocal/miya/sad_1.ogg Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More