Compare commits

..

285 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
MrZ_26
608d6464d9 修改更新日志 2022-08-27 02:35:18 +08:00
MrZ_26
89358c2259 没应用语音包的时候不再能点击交互了
微调俩v家语音包立绘尺寸和位置
2022-08-27 02:25:57 +08:00
MrZ_26
76073dffb1 mono语音包重录 2022-08-27 02:11:24 +08:00
MrZ_26
a3f2da5b3d 添加一个词条(日英待翻译) 2022-08-27 00:36:25 +08:00
MrZ_26
4037bd08ce 微调中文词典一个词条 2022-08-26 22:23:26 +08:00
MrZ_26
a17947006b 更新赞助名单和研究群号 2022-08-22 17:16:38 +08:00
ParticleG
c2f1e9d8af - Update action 2022-08-09 12:59:04 +08:00
Particle_G
d39bad76c9 Update readme.md 2022-08-08 07:50:28 +08:00
MrZ_26
8101a1dc51 修改版本号 2022-08-08 00:28:46 +08:00
MrZ_26
5539e967a5 新语音包rin
更换miku立绘
2022-08-05 17:40:46 +08:00
MrZ_26
d864802bba 框架跟进,按钮改为松开触发,修复音量设置导致的一些bgm不循环问题 2022-08-05 17:13:24 +08:00
ParticleG
e2d7574d7c - Skip update-version on release
- Add new lines between jobs
2022-08-05 02:43:09 +08:00
ParticleG
ed03e1dbe7 - Bump run_number 2022-08-05 02:22:39 +08:00
ParticleG
f6f3a59692 - Bump run_number 2022-08-05 02:22:13 +08:00
ParticleG
a96ea88e34 - Unify workflow 2022-08-05 02:06:49 +08:00
ParticleG
c1831f7945 - Try external tests 2022-08-05 01:08:53 +08:00
ParticleG
b2a8e9157b - Fix duplicate macos portable artifact names 2022-08-05 00:15:30 +08:00
ParticleG
d7c2227fb3 - Try upload with separate packages
- Display download links
2022-08-04 23:09:49 +08:00
ParticleG
ea16383231 - Try display download links
- Initialize test CI
2022-08-04 21:58:15 +08:00
ParticleG
2462c32fa5 - Fix android icons
- Fix android package name and product name
2022-08-04 21:34:00 +08:00
sakurw
f884a92d64 Update manual_ja.txt (#730) 2022-07-30 15:34:10 +08:00
MrZ_26
09d3202bb2 调整音乐empty的长度 2022-07-30 15:09:22 +08:00
Particle_G
aedb541f68 Use new CI system (#732)
* - Init new CI/CD system

* - Update resources

* - Update android assets

* - Update iOS assets

* - Use stable version

* - Fix apple bundle id

* - Use libs-path

* - Try modify iOS love source codes

* - Update patch

* - Try add ColdClear to macOS

* - Try add Cold Clear to Linux

* - Fix download ColdClear

* - Change inputs order

* - Try new get-CC

* - Fix iOS
2022-07-29 18:21:46 +08:00
MrZ_26
b111e67077 修改中文词典的极简词条 2022-07-27 02:28:55 +08:00
MrZ_26
946d2012c7 修复cc落块与期望不符的时候有个调试用print会报错 2022-07-24 02:08:49 +08:00
Imple Lee
ecb64a112f fix release.yml (#728) 2022-07-18 00:12:25 +08:00
MrZ_26
deb8c09c22 版本推进 2022-07-18 00:01:16 +08:00
MrZ_26
9606cb2dc9 修正堆叠模式超额消除奖励 2022-07-17 23:58:59 +08:00
NOT_A_ROBOT
a4d6585e9c Add ability to remove garbage by clearing [height+2] lines or more (#714)
* Resolve #684

* oh right almost forgor stack_u 💀
2022-07-17 23:23:46 +08:00
XMiao
e161e39b66 Add a language zh_code & Adjust languages (#725)
* Add language zh_code & Adjust some language

* Update lang_pt.lua
2022-07-17 23:20:41 +08:00
NOT_A_ROBOT
8d61759d4c Secret grade mode improvements (#726)
* Fix crash when getting TM+6 and above

* Add line counter to secret grade
2022-07-17 22:58:18 +08:00
MrZ_26
5a004bcfa7 修正lang_ja一处语法错误 2022-07-17 22:58:15 +08:00
sakurw
52f16c2fb4 Update lang_ja.lua (#727) 2022-07-17 22:57:56 +08:00
MrZ_26
d993810269 主菜单ai不再会因为失焦而md致死 2022-07-17 22:39:27 +08:00
MrZ_26
a9ad95f0c8 回放菜单按钮位置微调 2022-07-17 22:35:54 +08:00
C₂₉H₂₅N₃O₅
0ed475c994 Updated Skins (#723)
* Three new skins: pastel, letters, kanji;
* Updated the minoes skin to match the color-block schemes
2022-07-04 01:16:39 +08:00
MrZ_26
f5e889214e 过期的域名暂时先换成云服务器ip 2022-07-01 10:24:09 +08:00
MrZ_26
ee658d34c5 修正中文词典几个关键字 2022-07-01 09:37:49 +08:00
渣渣120
87cf4ee5c7 Update .gitmodules (#722) 2022-06-30 10:29:35 +08:00
Particle_G
0771dd5159 Merge pull request #702 from 26F-Studio/imple/embed-lua-into-yml
actions: embed lua into yaml
2022-06-26 21:02:17 +08:00
MrZ_26
ef16ae9aec 更新赞助列表 2022-06-18 23:06:36 +08:00
MrZ_26
1a595a38f8 在音乐室场景失去焦点不会自动静音 close #710 2022-06-16 21:50:22 +08:00
NOT_A_ROBOT
9cb5b15c8f Update Indonesian translation again (#716) 2022-06-16 21:45:00 +08:00
NOT_A_ROBOT
ccc41d6b57 Update 40L WR tip (#715) 2022-06-16 21:44:39 +08:00
MrZ_26
ab48bec472 调整雷达图三个轴的比例 2022-06-16 21:44:09 +08:00
MrZ_26
f3f2f4dd95 忘改版本名 2022-06-11 13:38:36 +08:00
MrZ_26
6e37113b34 再更新字体文件 2022-06-09 02:12:30 +08:00
MrZ_26
a516cdb228 修改一个赞助id 2022-06-04 22:31:07 +08:00
MrZ_26
618be8898f 版本推进 2022-05-24 15:21:16 +08:00
MrZ_26
2192e291a8 删除日文字体,更新主字体 2022-05-24 15:21:16 +08:00
MrZ_26
02de532241 trs里T的1→0/3→0新增一个上1的踢 2022-05-24 15:21:15 +08:00
MrZ_26
2fa8978b47 删除词典的人物介绍部分
更新/调整中文tips
2022-05-24 15:21:15 +08:00
Imple Lee
390208abfa fix grading of dig-quad-10l (#704) 2022-05-18 01:07:36 +08:00
sakurw
0a36523fbb Update lang_ja.lua (#706) 2022-05-18 01:07:02 +08:00
MrZ_26
8a61172764 版本推进 2022-05-16 00:24:58 +08:00
MrZ_26
97fd1721c5 中文词典新增timing词条 2022-05-13 21:40:14 +08:00
MrZ_26
55419cc183 调整一处中文模式说明错误 2022-05-07 12:52:32 +08:00
Imple Lee
db47528a37 check syntax validity in automatic test (#701) 2022-05-07 12:30:27 +08:00
Imple Lee
38be81114f add dig_techrash_10l.lua (#703) 2022-05-07 12:28:31 +08:00
Imple Lee
6c960fdde8 fix line breaks in manuals (#700)
Currently manuals can't be automatically fix, so for now we can only
break them manually....
2022-05-07 12:25:09 +08:00
Imple Lee
362cc506c5 fix yaml syntax error 2022-05-05 22:32:09 +08:00
Imple Lee
20351391ed actions: embed lua into yaml 2022-05-05 22:30:26 +08:00
MrZ_26
05c277a690 可以根据设置显示日文的说明书了 2022-05-05 16:15:28 +08:00
Imple Lee
9dab204ae8 change fixed URL to relative URL in GitHub Actions (#699) 2022-05-05 16:11:47 +08:00
Imple Lee
075f643fb7 check font in automatic test (#698)
* check font in automatic test

* fix `description` in `action.yml`

* check font first
because it's faster

* add link to missing character

* fix grammar error

* fix grammar error again

* fix SHA error

* fix one-line error to align with github

* fix: make line-number start from 1
2022-05-04 18:25:52 +08:00
NOT_A_ROBOT
8d4e2fa0d0 Improved invis/fading roll modes (#697)
* Added target line in master_ex

* Added roll target line in master_g

* Added roll countdown during transition in master_g
2022-05-04 18:06:42 +08:00
MrZ_26
5d05583e26 修正TRS的O变JL条件错误 2022-05-04 14:46:24 +08:00
MrFaq2018
31425440dc Update lang_es.lua (#695) 2022-05-04 12:41:18 +08:00
sakurw
5409e18ede Update manual_ja.txt (#692) 2022-05-04 12:40:52 +08:00
MrZ_26
1d50e37df2 微调中文词典一处用词 2022-05-03 23:26:43 +08:00
MrZ_26
afa86fe0ac 修正lang_es少一个括号 2022-05-03 23:21:41 +08:00
sakurw
77b031fdde Update lang_ja.lua (#694) 2022-05-03 21:51:26 +08:00
MrZ_26
d0c71cd0af 订正一处英文说明书的错误 2022-05-03 20:59:06 +08:00
MrZ_26
5b743a4103 一处治标不治本的玩家游戏结束时的场地矩阵相关报错修正 2022-05-03 13:10:25 +08:00
MrFaq2018
da8d7e2080 Updated Spanish Translation 05-2022 (#693) 2022-05-03 13:06:05 +08:00
MrZ_26
3934a61a6d 版本推进 2022-04-30 21:38:44 +08:00
MrZ_26
1f225ae6ad 移除机翻语言,调整语言设置界面 2022-04-30 21:38:44 +08:00
MrZ_26
303a1d7afc 微调中文语言文件 2022-04-30 21:38:44 +08:00
MrZ_26
1d4a2eeb66 移除地图上的clearRush模式
整理代码
2022-04-30 21:38:44 +08:00
MrZ_26
3fe0f7281a 修复trs的V的踢墙表错误 2022-04-30 21:38:44 +08:00
NOT_A_ROBOT
f89248a8b7 Improve Indoneisan Translation (#688) 2022-04-28 11:26:15 +08:00
MrZ_26
0453e8d94d 去掉之前“移除”mono语音包的时候添加的强制修改设置 2022-04-23 14:15:01 +08:00
NOT_A_ROBOT
fd1070c313 Fix minor mistake in Indonesian language (#685) 2022-04-23 13:18:24 +08:00
MrZ_26
d987008cf6 版本推进 2022-04-20 19:23:37 +08:00
MrZ_26
73fc7c037d 修复big模式统计行数可能超出200 close #682 2022-04-20 19:23:23 +08:00
MrZ_26
718540db5a 新的mono立绘+重新开放mono语音包选项 2022-04-20 19:22:57 +08:00
MrZ_26
9c2b09e589 修复键盘编辑自定义场地不能切换画笔,同时新增c为智能画笔快捷键 2022-04-19 20:16:14 +08:00
MrZ_26
0c2f0904ef 修复经典模式通关就报错
整理代码
2022-04-17 20:57:40 +08:00
MrZ_26
2ae34bded1 如果加载存档时发生错误会提示有文件丢失而不是蓝屏 2022-04-17 20:57:40 +08:00
C₂₉H₂₅N₃O₅
30b1d2ddfd 大改词典,更新Legals (#683)
* 更新英文翻译
* 修改中文词典小细节
* 更新Legals
2022-04-17 14:31:38 +08:00
MrZ_26
d769604724 修补中文词典 2022-04-10 21:03:51 +08:00
Richard969
573366fed9 对词典进行一些补充和修改 (#681) 2022-04-10 20:24:42 +08:00
MrZ_26
6f3667e65a 制作人员名单添加插图作者 2022-04-08 16:08:35 +08:00
Imple Lee
9426dcdc69 better .gitattributes (#680)
* better .gitattributes

* .gitattributes per directory

* No binary file detection

https://stackoverflow.com/questions/57030698

* fix .github/actions/*/*.yml
2022-04-04 12:28:42 +08:00
MrZ_26
bdb117c0df 添加.gitattributes 2022-04-04 05:35:41 +08:00
MrZ_26
8fd4391549 移除音乐室“old works”文本
整理代码
2022-04-04 05:32:32 +08:00
MrZ_26
373c8a8a5f 版本推进 2022-04-04 05:29:54 +08:00
MrZ_26
2207f7e414 添加少许魔法
框架跟进
2022-04-04 05:25:42 +08:00
MrZ_26
984bb7d6a6 词典调整 2022-04-04 04:57:20 +08:00
Richard969
664afb0bb3 Added a mino list in Zictionary (#679) 2022-04-04 04:53:02 +08:00
MrZ_26
716a08b31d 着色器技术飞跃
框架跟进
2022-04-03 02:41:49 +08:00
MrZ_26
a6c63c41b6 限制着色器们输入的时间范围防止精度问题导致掉帧(略暴力,会导致一个背景连续40分钟左右后会闪烁一次) 2022-04-03 00:40:21 +08:00
MrZ_26
286e330077 版本推进 2022-03-31 17:04:29 +08:00
MrZ_26
5e8af423f2 修复一些背景相关问题,框架跟进 2022-03-31 17:04:29 +08:00
NOT_A_ROBOT
5f539a2d4f Fixed off-by-one error in rank calculation in Master Graded (#678) 2022-03-31 13:58:04 +08:00
MrZ_26
73f63cfd0a 修复秒表小程序不能用触屏 2022-03-27 00:35:28 +08:00
MrZ_26
11422bee5a 微调说明书里对于HPC的说明 2022-03-26 21:12:48 +08:00
MrZ_26
baf36ac86b 版本推进 2022-03-22 14:14:03 +08:00
MrZ_26
d8c058b0e1 修正词典文件语法错误 2022-03-22 14:14:03 +08:00
MrZ_26
6c69c38b32 登录界面可选隐藏邮箱 close #639 2022-03-22 02:39:26 +08:00
Untitled_unrevised
d17e62e36b Update dict_zh.lua (#675)
added "DPC", "Gamushiro Stacking", "Fractal"
added some link of setups and patterns
2022-03-22 02:19:40 +08:00
MrZ_26
3a2ec3a5dd 移除FTLock,全局强制开启 2022-03-22 02:15:48 +08:00
MrZ_26
ce25f17676 修正一个背景代码细节 2022-03-14 04:27:47 +08:00
MrZ_26
61fe4a5897 版本推进 2022-03-11 19:36:02 +08:00
MrZ_26
f50e90b29b 删除一个重复词条 2022-03-11 19:33:27 +08:00
MrZ_26
c151c1176f 简化部分中文文本 2022-03-11 19:22:01 +08:00
C₂₉H₂₅N₃O₅
69491e2f8b Good grammar makes reading easier (#668)
- 英语使用typesetting quotation marks
- 引号使用美式规则排版
- 重做IPA相关符号

* Good grammar makes reading easier

* 改细节 顺便改下中文文本准备下新UI
2022-03-11 19:21:12 +08:00
NOT_A_ROBOT
4f4988d7ef Fix incorrect score order in Dig Efficiency modes 2022-03-10 02:13:49 +08:00
MrZ_26
9ee4af48da 修正中文词典几个词条缺少中文关键词 2022-03-08 00:03:27 +08:00
NOT_A_ROBOT
566ebbf213 Added new icon and added the modes to the map 2022-03-07 00:44:15 +08:00
NOT_A_ROBOT
b1ea222b90 Added entry to language files 2022-03-07 00:44:15 +08:00
NOT_A_ROBOT
d85f77b480 Added efficiency-based Dig modes 2022-03-07 00:44:15 +08:00
NOT_A_ROBOT
20f5d07d05 Add Sonic Drop to Master Graded, closes #641 2022-03-07 00:42:33 +08:00
NOT_A_ROBOT
9864a75e0f Fixed Master Graded final section counted as regret during roll 2022-03-07 00:42:17 +08:00
NOT_A_ROBOT
af4cf9fc0d Made level counter more readable + added level overflow mechanic 2022-03-05 01:03:38 +08:00
MrZ_26
d0597e6836 修正一处拼写错误 close #663 2022-03-05 01:00:38 +08:00
MrZ_26
61fb504b21 中文词典新增一条新人指引 2022-03-01 18:43:23 +08:00
MrZ_26
bd055a7c60 修复关闭3D方块选项后场地方块饱和度设置无效 close #656 2022-02-28 03:56:27 +08:00
MrZ_26
f22c188753 版本推进 2022-02-28 03:50:48 +08:00
MrZ_26
7df55b1584 整理代码 2022-02-28 03:42:46 +08:00
C29H25N3O5
f9d5e054d4 大改标点和更新字体
- 英语使用typesetting quotation marks
- 引号使用美式规则排版
- 重做IPA相关符号
2022-02-28 03:32:13 +08:00
NOT_A_ROBOT
a17a3f9ba4 Add comments and cool/regret history 2022-02-28 03:31:29 +08:00
Chumo2791
f3945b9afe Add a new skin: guidetris by lusisi 2022-02-28 03:30:54 +08:00
NOT_A_ROBOT
e3fffc5d7c Add strategy_plus to world map 2022-02-28 03:29:08 +08:00
Imple Lee
54175a6ee8 change default cc branch 2022-02-20 18:26:22 +08:00
Imple Lee
9ddee1059c cc techmino-alize 2
- builtin b2b gauge, attack and extra block systen
- builtin spawn position integration
2022-02-20 18:26:22 +08:00
MrZ_26
0e965eaaae 不再允许防沉迷时间到后创建房间 2022-02-20 15:46:23 +08:00
MrZ_26
e66c5c41ee 修复master_g没开锁定特效报错 2022-02-15 17:25:02 +08:00
MrZ_26
da1ec35a55 调整几个中文tips 2022-02-15 00:09:35 +08:00
MrZ_26
d919812f44 新增两个赞助者 2022-02-08 16:35:12 +08:00
MrZ_26
eddcd726ca 补充地图新增模式的一点翻译
整理代码
2022-02-08 13:41:44 +08:00
MrZ_26
190e64de92 修正master_g老版本成绩在模式地图报错 2022-02-08 13:18:39 +08:00
MrZ_26
6ee2833cf7 框架跟进 2022-02-08 13:05:43 +08:00
NOT_A_ROBOT
beaaac6892 Update documentation on theme command in console (#643)
- Make list of themes appear when `name` is empty instead of `[ThemeList]`
2022-02-08 13:01:16 +08:00
MrZ_26
f4e0cabcf3 版本推进 2022-02-06 18:37:01 +08:00
MrZ_26
3b60590f8a 删除”全简体中文“语言 2022-02-06 18:30:09 +08:00
MrZ_26
96a695819e 修复关闭背景时设置背景亮度报错 2022-02-06 18:07:33 +08:00
MrZ_26
0a11d2cf47 暴力修复联网对战时不知道怎么触发的一个错误,能用,不懂,不理解,but it works,等重构 2022-02-06 18:07:30 +08:00
NOT_A_ROBOT
f932005ea0 Add some hidden modes + misc changes (#640)
* Added secret_grade and sprint123 to map and added some icons

* Add master_g to map

* add classic_u and master_instinct and misc changes

* added big modes

* Fix some bugs on master_instinct

* fix bugs on big mode

* Simplified Grade Display
2022-02-06 17:51:38 +08:00
MrZ_26
fedce2ae2b 更新char与mj小程序里1s的显示 2022-01-30 14:20:28 +08:00
MrZ_26
85cf77f15d 更新字体文件
Co-authored-by: C₂₉H₂₅N₃O₅ <cgu52@wisc.edu>
2022-01-30 14:20:28 +08:00
MrZ_26
fa3d7ff199 暴力修复物理hold可能导致的一个错误,能用,不懂,不理解,but it works,等重构 2022-01-30 14:20:27 +08:00
Airun
1da6c0c8a9 More Translations (Before I pull off the official version) (#633) 2022-01-30 14:18:42 +08:00
NOT_A_ROBOT
83349707d5 Add secret grade mode (#631) 2022-01-28 20:19:45 +08:00
NOT_A_ROBOT
d4090dea6f Update lang_id.lua (#629) 2022-01-28 20:19:02 +08:00
MrZ_26
ea83add8fa 词典添加secret grade词条 close #628
微调中文词典部分格式
2022-01-26 15:23:54 +08:00
MrZ_26
7687fb2c12 版本推进 2022-01-26 00:10:45 +08:00
MrZ_26
1fb741d7c2 大幅降低高难ai速度 2022-01-25 23:00:24 +08:00
MrZ_26
157f8cc7d5 算数小程序进制更明显 close #624 2022-01-25 03:27:40 +08:00
MrZ_26
846d477e9d 不再限定master_g模式的旋转系统 close #626 2022-01-25 00:54:39 +08:00
Chumo2791
452cdf6ab0 add AUR badge (#627) 2022-01-24 16:51:50 +08:00
NOT_A_ROBOT
e9396c43c9 Improved master_g (#622)
Fixed mroll ending not giving you points in the record, fixed crash when you got a negative grade, added colors that indicate cool/regret
2022-01-24 08:46:01 +08:00
MrZ_26
dd726e75e8 麻将小程序使用自制字符(有些小问题,等之后字体修改) 2022-01-22 17:38:13 +08:00
MrZ_26
a66bb9013a gray背景改名fixColor,允许自定义颜色 2022-01-22 17:16:48 +08:00
MrZ_26
ea0448af5a 修改字体文件名大小写(step 2) 2022-01-21 16:02:54 +08:00
MrZ_26
44735cd6cd 修改字体文件名大小写(step 1) 2022-01-21 16:02:41 +08:00
NOT_A_ROBOT
3956d1d7bc Add Classic Lunatic mode (#619) 2022-01-21 03:09:50 +08:00
MrZ_26
a7a2124bb6 版本推进 2022-01-20 13:27:23 +08:00
sakurw
9399938be0 Update lang_ja.lua (#616) 2022-01-20 13:10:39 +08:00
C₂₉H₂₅N₃O₅
195f9b2c46 字体格式转换为OTF (#615)
* 字体格式转换为OTF

**HERE COMES THE OPENTYPE**
* 更改几个自定义图标的样式
2022-01-20 13:10:11 +08:00
C₂₉H₂₅N₃O₅
d7546e5f41 更新英文说明书 (#614) 2022-01-20 01:39:21 +08:00
NOT_A_ROBOT
888909b48c Re-add classic_l (#612) 2022-01-19 23:46:36 +08:00
MrZ_26
d68f732884 重写说明书的攻击和b2b点数段落,英文和日文需要重翻 2022-01-19 23:43:08 +08:00
MrZ_26
5243ed0c6b 再整理落块后结算顺序 2022-01-19 23:04:46 +08:00
MrZ_26
856c490a2b 再修正master_g的一些细节 2022-01-19 20:02:30 +08:00
MrZ_26
5e9dcc27aa 再更新所有的音效文件 2022-01-19 19:46:27 +08:00
NOT_A_ROBOT
3f129a9585 Fix crash bug on graded master when reaching a very high internal grade 2 (#611)
* Fix crash bug on graded master when reaching a very high internal grade 2
2022-01-19 19:45:59 +08:00
MrZ_26
e682ff1de5 提前修改好更新历史和版本号 2022-01-19 18:46:40 +08:00
MrZ_26
2c064d5809 修复倒计时时不能充das close #610 2022-01-19 18:43:08 +08:00
MrZ_26
e0573382e8 更新manual关于攻击系统的说明 2022-01-19 18:38:57 +08:00
MrZ_26
5a514ce495 修正master_g的规则 2022-01-19 18:10:15 +08:00
MrZ_26
ba4fb00c85 版本推进 2022-01-19 03:51:53 +08:00
MrZ_26
ab02d2063f 修正刚刚合并的日文翻译pr的相关小问题,可以用了 2022-01-19 03:50:07 +08:00
MrZ_26
a6c87d3a1a 替换一处缩进为空格 2022-01-19 03:48:07 +08:00
MrZ_26
f15541db4a master_g模式的cool和regret强制使用英文 2022-01-19 03:48:07 +08:00
Airun
dadd09d25a Done with manual_jp.txt (#605)
* Added draft for jp files (editing)

* Manual_JP.txt Done
2022-01-19 03:47:28 +08:00
C₂₉H₂₅N₃O₅
a7dea4dafe 紧急更新字体 (#606)
* 麻将字符采用立直麻将式命名

* 补上两个缺少的符号
2022-01-19 03:47:10 +08:00
MrZ_26
34ac5eed93 版本推进 2022-01-19 02:43:08 +08:00
MrZ_26
89134d4f07 整理刚增加的模式的代码 2022-01-19 02:43:08 +08:00
NOT_A_ROBOT
58d068b776 Add graded Master mode (#594) 2022-01-19 02:21:34 +08:00
NOT_A_ROBOT
dacefb2b01 classic_h 0.5G now starts on lvl19 (#601)
resolves #598
2022-01-15 22:28:37 +08:00
MrZ_26
efe4f5a210 版本推进 2022-01-15 19:36:26 +08:00
MrZ_26
000188ac86 修正pc是特殊消除但还是会扣因为最后是普通消除的b2b点数 2022-01-15 17:09:17 +08:00
MrZ_26
de6814bd34 修正说明书攻击系统一处顺序问题 2022-01-15 17:07:27 +08:00
MrZ_26
fac020db8c 新增一个赞助者 2022-01-15 15:51:12 +08:00
MrZ_26
d4ec3eefbb 控制台#代码环境微调 2022-01-14 01:02:57 +08:00
MrZ_26
d43e58f450 跟进调整GC模块用法 2022-01-14 01:02:40 +08:00
MrZ_26
6e9bf97d89 更新框架 2022-01-14 01:01:04 +08:00
MrZ_26
e41aefd17c 再更新staff表的翻译人员 2022-01-12 16:56:45 +08:00
MrZ_26
d96c5ca0fa 修改mini方块的实现 2022-01-12 16:24:18 +08:00
MrZ_26
4953abbb8c 更新字体
Co-authored-by: C₂₉H₂₅N₃O₅ <cgu52@wisc.edu>
2022-01-12 13:06:56 +08:00
MrZ_26
637e1a7602 staff表添加一个翻译人员 2022-01-12 12:43:33 +08:00
MrZ_26
55cc3c48be 更新日语翻译
Co-authored-by: YL3383
2022-01-12 12:43:28 +08:00
Airun
d7d9e60b1e Update lang_ja.lua (#592)
Little Fixes
2022-01-10 18:08:45 +08:00
MrZ_26
61218bb942 微调一些语言相关 2022-01-09 18:04:12 +08:00
MrZ_26
d24888cff5 加载完成后也会更新保存一下统计数据 2022-01-08 20:08:49 +08:00
MrZ_26
79cf1cf238 游戏服务器域名设置移到main最后 2022-01-07 18:17:22 +08:00
MrZ_26
1aa0d4927f 版本推进 2022-01-06 17:42:19 +08:00
MrZ_26
59ded87cee 框架跟进 2022-01-06 17:38:11 +08:00
C₂₉H₂₅N₃O₅
6496dc824c 麻将字符采用立直麻将式命名 (#587) 2022-01-06 17:36:59 +08:00
Airun
6c7aff8fd5 Update lang_ja.lua (#590)
Co-authored-by: MrZ_26 <1046101471@qq.com>
2022-01-06 17:35:58 +08:00
sakurw
ed171186a3 Update lang_ja.lua (#589) 2022-01-06 17:32:01 +08:00
MrZ_26
e3a1c9114a 超级消除也会增加b2b点数了 close #585 2022-01-05 22:59:23 +08:00
MrZ_26
4ba05ae80c 暴力修复回合制开关玩家控制的问题(开始摆烂,准备重构) 2022-01-05 19:58:19 +08:00
C₂₉H₂₅N₃O₅
30a700d0be 更新法律信息 (#584)
* 修改日语文件的小错误

* 新增麻将字符 and more

* 字体新增麻将字符
* 字体加入自动hint
* 微调几个表情包

* 更新法律信息

* 更新一个标点符号小问题
2022-01-05 19:39:34 +08:00
NOT_A_ROBOT
d2ba8b5aa9 Add Mono+do+trimino sprint mode (#578) 2022-01-05 14:35:25 +08:00
NOT_A_ROBOT
db17575ca3 Revert commit 58b8f354e0 (#577) 2022-01-05 14:34:40 +08:00
MrZ626
a0596acfde 修改安卓版本号 2022-01-05 14:33:18 +08:00
MrZ626
6954ed06a6 修复主菜单开关全屏会让快速开始按钮文本错误 close #566 2022-01-05 14:31:36 +08:00
Imple Lee
00919c1067 cc techmino-alize (#579)
this should only be used with imple/techmino-alize branch
on 26F-Studio/cold_clear_ai_love2d_wrapper
2022-01-05 12:57:54 +08:00
NOT_A_ROBOT
ceb77e46c3 Fix some spelling/grammar mistakes on Console app (#576) 2022-01-05 12:51:16 +08:00
Trebor Huang
ae15281db0 Allow Zframework to be checked out (#580)
* Allow checkout Zframework

* Propagate changes to all workflows

* Fix indentation

* Decide to be `recursive`

* Remove unnecessary checkouts

* Remove unnecessary recursive checkouts
2022-01-05 12:50:43 +08:00
MrZ626
6105f32cfa 修改房间版本号,不再允许快照版本进0.17.0的房间 2022-01-05 12:29:02 +08:00
MrZ626
4927d56c1e 修改自定义背景注释文本 2022-01-04 16:48:31 +08:00
MrZ626
0ef1103931 框架跟进 2022-01-04 16:48:21 +08:00
MrZ626
07d5a4c4d2 整理中文tip 2022-01-03 15:58:53 +08:00
MrZ626
c0cc759c72 Zframework使用子模块 2022-01-03 14:37:50 +08:00
MrZ626
94e06fab4a 移除Zframework,准备使用submodule 2022-01-03 14:35:10 +08:00
C₂₉H₂₅N₃O₅
8fa2e055d5 新增/调整字符 (#575)
* 修改日语文件的小错误

* 新增麻将字符 and more

* 字体新增麻将字符
* 字体加入自动hint
* 微调几个表情包
2022-01-03 01:36:56 +08:00
MrZ626
2d5642a99c 数学扩展模块新增listLerp函数 2022-01-03 00:14:10 +08:00
MrZ626
98050f99be 数学扩展模块新增lerp函数 2022-01-02 20:14:26 +08:00
MrZ626
27d9cf8a9b 字符串扩展模块新增几个进制转换函数 2022-01-02 13:57:42 +08:00
MrZ626
9ad7443745 版本推进 2022-01-01 22:01:30 +08:00
MrZ626
d3441628a9 词典也会搜索词条标题 2022-01-01 22:00:36 +08:00
MrZ626
0f83ae0f1b 补回之前不小心删掉的中文staff表 2022-01-01 19:36:54 +08:00
MrZ626
cdb19179f3 麻将小程序添加触屏控制 2021-12-31 16:40:36 +08:00
MrZ626
d1581b1efe 新小程序:Mahjong(无和牌检测) 2021-12-31 16:38:55 +08:00
MrZ626
511426356c table扩展模块新增一个方法 2021-12-31 15:09:30 +08:00
C₂₉H₂₅N₃O₅
282dc9bef2 修改日语文件的小错误 (#574) 2021-12-31 14:25:47 +08:00
MrZ626
b364d16b3d 暂时移除复活延迟的代码(设计变了,坏了,之后重新设计) 2021-12-31 01:18:55 +08:00
Allustrate
0a4a09479a 修正小Z词典中LST堆叠的错误链接 (#571)
* 更新LST堆叠的链接

* link fix in LST Stacking
2021-12-30 22:42:55 +08:00
MrZ626
29002f8465 版本推进 2021-12-30 18:53:40 +08:00
MrZ626
1c5b7f1f9c 整理代码
调整中文tip
2021-12-30 18:35:54 +08:00
MrZ626
05921c2c53 更新一些日语翻译 2021-12-30 18:21:32 +08:00
MrZ626
5615037fd5 MES改回根据屏幕比例绘制 2021-12-29 00:03:38 +08:00
MrZ626
786490c654 调整一个人物词条细节 2021-12-28 22:38:09 +08:00
MrZ626
e6dc60afed 整理代码 2021-12-28 17:46:33 +08:00
MrZ626
939b32129d 框架新增setDebugInfo方法,原来的左下角debug信息可外部自定义 2021-12-28 17:43:17 +08:00
MrZ626
0ce3c7f9bc 缩短miya语音包欢迎语音 2021-12-28 17:42:35 +08:00
MrZ626
388a9fe418 微调音乐室交互 2021-12-28 14:59:16 +08:00
MrZ626
75e44da055 修复bgm资源管理问题导致的一些音频bug close #557 2021-12-28 14:59:06 +08:00
MrZ626
6aedeff515 重新编辑+裁剪部分音效 2021-12-28 14:47:59 +08:00
MrZ626
1bf6b887df 微调中文tip 2021-12-28 13:38:14 +08:00
MrZ626
fde80893ef 修改时间字符串使用的字符 2021-12-28 13:37:08 +08:00
MrZ626
b1fb9cc9f9 更新win和linux的图标 2021-12-28 12:04:37 +08:00
MrZ626
ceafcccc3b 修正开局倒计时问题 2021-12-28 12:01:57 +08:00
MrZ626
ac41690e76 修正staff菜单按键小问题 2021-12-28 12:01:52 +08:00
MrZ626
b941399aa8 微调主菜单按钮移动速度 2021-12-28 11:55:31 +08:00
MrZ626
97eb434d5f 添加一个赞助者 2021-12-28 11:54:06 +08:00
MrZ626
ea76b618a7 更新日语文本(by sakurw) 2021-12-28 11:53:32 +08:00
MrZ626
89595aa0d8 更新mac用图标 2021-12-28 11:42:22 +08:00
MrZ626
df28ca4cc1 补充一些日语文本
Co-authored-by: C₂₉H₂₅N₃O₅ <cgu52@wisc.edu>
2021-12-28 11:36:42 +08:00
MrZ626
7ca83597c4 修改更新历史 2021-12-27 19:51:35 +08:00
MrZ626
459d1e4c64 移除yygq语言
新增日语(by sakurw,不完整,待后续补充)
staff列表重做

Co-authored-by: C₂₉H₂₅N₃O₅ <cgu52@wisc.edu>
2021-12-27 19:34:14 +08:00
C₂₉H₂₅N₃O₅
683d73b04c 大改staff名单 (#565)
* 大改staff名单
2021-12-27 14:54:52 +08:00
NOT_A_ROBOT
0e838f08a6 Update issue templates (#568)
* Update bluescreen crash report template

* Update normal bug report template

* Update feature request template
2021-12-27 14:54:16 +08:00
727 changed files with 9167 additions and 11827 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* text=auto

2
.github/.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
actions/**/*.yml text eol=lf
workflows/*.yml text eol=lf

View File

@@ -1,8 +1,8 @@
---
name: Bug report (bluescreen crash) Bug报告 (蓝屏报错)
about: Create a report of problems which made the crash with a bluescreen
about: Create a bug report which causes a bluescreen crash
---
Screenshot with crash information (*Image(s) Here*):
If you can reproduce it, write the steps here. If you can't, try to describe the exactly time the game crash, like pressing which key or which button (*Details Here*)
If you can reproduce it, write the steps here. If you can't, try to describe what causes the game to crash, like pressing a key/button (*Details Here*)

View File

@@ -1,8 +1,8 @@
---
name: Bug report (unintended behaviors) Bug报告 (奇怪的现象)
about: Create a report of unintended behaviors
about: Create bug report that causes unintended behaviors
---
Screenshot with unintended behaviors (*Image(s) Here*):
If you can reproduce it, write the steps here. If you can't, try to describe the exactly time the game crash, like pressing which key or which button (*Details Here*):
If you can reproduce it, write the steps here. If you can't, try to describe what causes the unintended behavior, like pressing a key/button (*Details Here*):

View File

@@ -2,3 +2,7 @@
name: Feature Request 添加新功能
about: Suggest an idea that may improve Techmino 提一些有意思的新想法,让Techmino越来越好!
---
### What feature do you want to suggest to the game?

View File

@@ -1,24 +0,0 @@
name: 'Automatic Test'
description: 'Check for obvious errors.'
runs:
using: "composite"
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/build-love
with:
file-path: Techmino.love
- name: Download love
shell: bash
run: |
curl -L https://github.com/love2d/love/releases/download/11.3/love-11.3-linux-x86_64.tar.gz | tar xz
- name: Prepare PulseAudio
shell: bash
run: |
sudo apt-get update
sudo apt-get install pulseaudio pulseaudio-utils pavucontrol alsa-oss alsa-utils -y
- name: Run automated test
uses: GabrielBB/xvfb-action@v1
with:
run: |
./dest/love Techmino.love --test

View File

@@ -1,102 +0,0 @@
name: 'build Android'
description: 'build Android package'
inputs:
type:
required: true
apkCode:
required: true
name:
required: true
file-path:
required: true
SIGNING_KEY:
required: true
KEY_STORE_PASSWORD:
required: true
ALIAS:
required: true
KEY_PASSWORD:
required: true
runs:
using: "composite"
steps:
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '8'
- name: Clone love-android
shell: bash
run: |
git clone --recurse-submodules https://github.com/26F-Studio/love-android -b CI --depth 1 --shallow-submodules
- uses: ./.github/actions/build-love
with:
file-path: love-android/app/src/main/assets/game.love
- name: Download ColdClear arm64-v8a
uses: ./.github/actions/get-cc
with:
arch: android_aarch64
dir: ColdClear/arm64-v8a
- name: Process ColdClear arm64-v8a
shell: bash
run: |
mkdir -p love-android/app/libs/arm64-v8a
mv ColdClear/arm64-v8a/love-11.3-android/lib/arm64-v8a/libcold_clear.so love-android/app/libs/arm64-v8a
mkdir -p libAndroid/arm64-v8a
mv ColdClear/arm64-v8a/libs/arm64-v8a/libCCloader.so libAndroid/arm64-v8a
- name: Download ColdClear armeabi-v7a
uses: ./.github/actions/get-cc
with:
arch: android_armv7
dir: ColdClear/armeabi-v7a
- name: Process ColdClear armeabi-v7a
shell: bash
run: |
mkdir -p love-android/app/libs/armeabi-v7a
mv ColdClear/armeabi-v7a/love-11.3-android/lib/armeabi-v7a/libcold_clear.so love-android/app/libs/armeabi-v7a
mkdir -p libAndroid/armeabi-v7a
mv ColdClear/armeabi-v7a/libs/armeabi-v7a/libCCloader.so libAndroid/armeabi-v7a
- name: Pack ColdClear
shell: bash
run: |
7z a -tzip love-android/app/src/main/assets/game.love libAndroid
- name: update Android information
shell: python
run: |
if '${{ inputs.type }}' == 'Release':
appName = 'Techmino'
packageName = 'org.love2d.MrZ.Techmino'
edition = 'release'
elif '${{ inputs.type }}' == 'Snapshot':
appName = 'Techmino_Snapshot'
packageName = 'org.love2d.MrZ.Techmino.Snapshot'
edition = 'snapshot'
with open('./love-android/app/src/main/AndroidManifest.xml', "r+", encoding='utf-8') as file:
data = file.read()
data = data\
.replace('@appName', appName)\
.replace('@edition', edition)
file.seek(0)
file.truncate()
file.write(data)
with open("./love-android/app/build.gradle", "r+", encoding='utf-8') as file:
data = file.read()
data = data\
.replace('@packageName', packageName)\
.replace('@versionCode', '${{ inputs.apkCode }}')\
.replace('@versionName', '${{ inputs.name }}')\
.replace('@storePassword', '${{ inputs.KEY_STORE_PASSWORD }}')\
.replace('@keyAlias', '${{ inputs.ALIAS }}')\
.replace('@keyPassword', '${{ inputs.KEY_PASSWORD }}')
file.seek(0)
file.truncate()
file.write(data)
- name: Build Techmino
shell: bash
run: |
echo "${{ inputs.SIGNING_KEY }}" | base64 -d > love-android/app/android.keystore
chmod 777 love-android/gradlew
cd love-android/
./gradlew assembleRelease
- name: rename apk
shell: bash
run: mv love-android/app/build/outputs/apk/release/app-release.apk ${{ inputs.file-path }}

View File

@@ -1,96 +0,0 @@
name: 'build iOS'
description: 'build iOS package'
inputs:
name:
required: true
description: "Version name"
type:
required: true
description: "Build type"
APPLE_API_ID:
required: true
description: "API key ID"
APPLE_API_ISSUER:
required: true
description: "API issuer ID"
APPLE_API_KEY:
required: true
description: "API key content"
APPLE_APP_BUILD:
required: true
description: "Build number"
APPLE_APP_CHANGELOG:
required: true
description: "Changelog"
APPLE_APP_ID:
required: true
description: "AppStore Apple ID"
APPLE_APP_IDENTIFIER:
required: true
description: "Bundle ID"
APPLE_APP_PROFILE:
required: true
description: "Provisioning Profile specifer"
APPLE_KEYCHAIN_NAME:
required: true
description: "Temporary keychain name"
APPLE_KEYCHAIN_PWD:
required: true
description: "Temporary keychain password"
FASTLANE_DISCORD_WEBHOOK:
required: true
description: "Fastlane Discord webhook"
FASTLANE_ACTION_ID:
required: true
description: "Fastlane Action ID"
FASTLANE_MATCH_PWD:
required: true
description: "Fastlane Match description password"
FASTLANE_MATCH_TOKEN:
required: true
description: "Fastlane Match Github token"
runs:
using: "composite"
steps:
- uses: ./.github/actions/build-love
- name: Checkout source codes
uses: actions/checkout@v2
with:
repository: '26F-Studio/Techmino-iOS'
path: 'Techmino-iOS'
- name: Download CCloader
uses: ./.github/actions/get-cc
with:
arch: iOS
- name: Update source codes
shell: bash
run: |
mv Techmino.love Techmino-iOS/platform/xcode
mv libcold_clear.a Techmino-iOS/platform/xcode
mv libCCloader.a Techmino-iOS/platform/xcode
- name: Run fastlane
uses: maierj/fastlane-action@v2.0.1
with:
lane: '${{ inputs.type }}'
subdirectory: 'Techmino-iOS/platform/xcode'
env:
ACTION_ID: '${{ inputs.FASTLANE_ACTION_ID }}'
API_ID: '${{ inputs.APPLE_API_ID }}'
API_ISSUER: '${{ inputs.APPLE_API_ISSUER }}'
API_KEY: '${{ inputs.APPLE_API_KEY }}'
APP_BUILD: '${{ inputs.APPLE_APP_BUILD }}'
APP_CHANGELOG: '${{ inputs.APPLE_APP_CHANGELOG }}'
APP_ID: '${{ inputs.APPLE_APP_ID }}'
APP_IDENTIFIER: '${{ inputs.APPLE_APP_IDENTIFIER }}'
APP_PROFILE: '${{ inputs.APPLE_APP_PROFILE }}'
APP_VERSION: '${{ inputs.name }}'
DISCORD_WEBHOOK: '${{ inputs.FASTLANE_DISCORD_WEBHOOK }}'
KEYCHAIN_NAME: '${{ inputs.APPLE_KEYCHAIN_NAME }}'
KEYCHAIN_PWD: '${{ inputs.APPLE_KEYCHAIN_PWD }}'
MATCH_PASSWORD: '${{ inputs.FASTLANE_MATCH_PWD }}'
MATCH_TOKEN: '${{ inputs.FASTLANE_MATCH_TOKEN }}'
- name: Move ipa
shell: bash
run: |
mv Techmino-iOS/platform/xcode/Techmino.ipa Techmino.ipa

View File

@@ -1,40 +0,0 @@
name: 'build Linux'
description: 'build Linux package'
inputs:
file-path:
required: false
default: Techmino.AppImage
icon:
required: true
runs:
using: "composite"
steps:
- name: Download AppImageKit
shell: bash
run: |
curl -OL https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage
- name: Download love
shell: bash
run: |
curl -OL https://github.com/love2d/love/releases/download/11.3/love-11.3-x86_64.AppImage
chmod 777 love-11.3-x86_64.AppImage
./love-11.3-x86_64.AppImage --appimage-extract
- name: Download ColdClear
uses: ./.github/actions/get-cc
with:
arch: linux
- name: Pack Techmino
shell: bash
run: |
rm -rf squashfs-root/love squashfs-root/love.desktop squashfs-root/love.svg squashfs-root/.DirIcon
mv .github/build/Linux/love.template squashfs-root/love
mv .github/build/Linux/Techmino.desktop.template squashfs-root/Techmino.desktop
mv ${{ inputs.icon }} squashfs-root/icon.png
cp squashfs-root/icon.png squashfs-root/.DirIcon
chmod 777 squashfs-root/love
mkdir -p squashfs-root/usr/share/Techmino
mv media parts Zframework conf.lua main.lua version.lua legals.md license.txt squashfs-root/usr/share/Techmino
mv CCloader.so squashfs-root/usr/share/Techmino
mv libcold_clear.so squashfs-root/usr/lib
chmod 777 appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage squashfs-root ${{ inputs.file-path }}

View File

@@ -1,11 +0,0 @@
name: 'build love'
description: 'build love file'
inputs:
file-path:
required: true
default: Techmino.love
runs:
using: "composite"
steps:
- run: 7z a -tzip ${{ inputs.file-path }} media parts Zframework conf.lua main.lua version.lua legals.md license.txt
shell: bash

View File

@@ -1,152 +0,0 @@
name: 'build Mac OS'
description: 'build Mac OS package'
inputs:
name:
required: true
description: "Version name"
icon:
required: true
description: "App icons (.icns)"
APPLE_API_ID:
required: true
description: "API key ID"
APPLE_API_ISSUER:
required: true
description: "API issuer ID"
APPLE_API_KEY:
required: true
description: "API key content"
APPLE_APP_IDENTIFIER:
required: true
description: "Bundle ID"
APPLE_KEYCHAIN_NAME:
required: true
description: "Temporary keychain name"
APPLE_KEYCHAIN_PWD:
required: true
description: "Temporary keychain password"
FASTLANE_MATCH_PWD:
required: true
description: "Fastlane Match description password"
FASTLANE_MATCH_TOKEN:
required: true
description: "Fastlane Match Github token"
runs:
using: "composite"
steps:
- uses: ./.github/actions/build-love
- name: Checkout template
uses: actions/checkout@v2
with:
repository: '26F-Studio/Techmino-macOS'
path: 'Techmino-macOS'
- name: Download ColdClear
uses: ./.github/actions/get-cc
with:
arch: macOS
- name: Fastlane match
uses: maierj/fastlane-action@v2.0.1
with:
lane: 'get_cert'
subdirectory: 'Techmino-macOS'
env:
API_ID: '${{ inputs.APPLE_API_ID }}'
API_ISSUER: '${{ inputs.APPLE_API_ISSUER }}'
API_KEY: '${{ inputs.APPLE_API_KEY }}'
APP_IDENTIFIER: '${{ inputs.APPLE_APP_IDENTIFIER }}'
KEYCHAIN_NAME: '${{ inputs.APPLE_KEYCHAIN_NAME }}'
KEYCHAIN_PWD: '${{ inputs.APPLE_KEYCHAIN_PWD }}'
MATCH_PASSWORD: '${{ inputs.FASTLANE_MATCH_PWD }}'
MATCH_TOKEN: '${{ inputs.FASTLANE_MATCH_TOKEN }}'
- name: Modify template
shell: python
run: |
import datetime
from io import open
thisYear = str(datetime.datetime.today().year)
with open('./.github/build/macOS/info.plist.template', 'r', encoding='utf-8') as file:
data = file.read()
data = data\
.replace('@versionName', '${{ inputs.name }}'[1:])\
.replace('@thisYear', thisYear)\
.replace('@bundleId', '${{ inputs.APPLE_APP_IDENTIFIER }}')
with open('./Techmino-macOS/Techmino.app/Contents/info.plist', 'w+', encoding='utf-8') as file:
file.write(data)
- name: Pack
shell: bash
run: |
mv Techmino.love Techmino-macOS/Techmino.app/Contents/Resources
mv CCloader.dylib Techmino-macOS/Techmino.app/Contents/Frameworks
mv ${{ inputs.icon }} Techmino-macOS/Techmino.app/Contents/Resources/iconfile.icns
chmod +x Techmino-macOS/Techmino.app/Contents/Frameworks/CCloader.dylib
chmod +x Techmino-macOS/Techmino.app/Contents/MacOS/love
- name: Codesign executable
shell: bash
run: |
security unlock-keychain -p ${{ inputs.TEMP_KEYCHAIN_PASSWORD }} \
~/Library/Keychains/${{ inputs.TEMP_KEYCHAIN_USER }}-db
[[ $(security find-identity) =~ ([0-9A-F]{40}) ]]
codesign --timestamp --force --strict --deep -v \
--options runtime \
-s ${BASH_REMATCH[1]} \
--entitlements Techmino-macOS/love.entitlements \
Techmino-macOS/Techmino.app
- name: Fastlane notarize
uses: maierj/fastlane-action@v2.0.1
with:
lane: 'make_safe'
subdirectory: 'Techmino-macOS'
env:
API_ID: '${{ inputs.APPLE_API_ID }}'
API_ISSUER: '${{ inputs.APPLE_API_ISSUER }}'
API_KEY: '${{ inputs.APPLE_API_KEY }}'
APP_IDENTIFIER: '${{ inputs.APPLE_APP_IDENTIFIER }}'
NOTARIZE_OBJECT: 'Techmino.app'
- name: Create DMG file
shell: bash
run: |
brew install create-dmg
create-dmg \
--volname "Techmino for MacOS" \
--volicon "./.github/build/macOS/Techminodisk.icns" \
--window-pos 200 120 \
--window-size 800 500 \
--icon-size 100 \
--icon "Techmino.app" 239 203 \
--background ".github/build/macOS/backgroundImage.tiff" \
--hide-extension "Techmino.app" \
--app-drop-link 565 203 \
"Techmino-macOS/Techmino-macOS.dmg" \
"Techmino-macOS/Techmino.app/"
- name: Codesign DMG
shell: bash
run: |
security unlock-keychain -p ${{ inputs.TEMP_KEYCHAIN_PASSWORD }} \
~/Library/Keychains/${{ inputs.TEMP_KEYCHAIN_USER }}-db
[[ $(security find-identity) =~ ([0-9A-F]{40}) ]]
codesign --timestamp --force --strict --deep -v \
--options runtime \
-s ${BASH_REMATCH[1]} \
--entitlements Techmino-macOS/love.entitlements \
Techmino-macOS/Techmino-macOS.dmg
- name: Fastlane notarize
uses: maierj/fastlane-action@v2.0.1
with:
lane: 'make_safe'
subdirectory: 'Techmino-macOS'
env:
API_ID: '${{ inputs.APPLE_API_ID }}'
API_ISSUER: '${{ inputs.APPLE_API_ISSUER }}'
API_KEY: '${{ inputs.APPLE_API_KEY }}'
APP_IDENTIFIER: '${{ inputs.APPLE_APP_IDENTIFIER }}'
NOTARIZE_OBJECT: 'Techmino-macOS.dmg'
- name: Finalize
shell: bash
run: |
mv Techmino-macOS/Techmino-macOS.dmg Techmino.dmg
spctl -a -t open --context context:primary-signature -vv Techmino.dmg

View File

@@ -1,60 +0,0 @@
name: 'build Windows'
description: 'build Windows package'
inputs:
love-url:
required: true
love-dir:
required: true
arch:
required: true
version:
required: true
icon:
required: true
runs:
using: "composite"
steps:
- name: Download love
uses: ./.github/actions/get-unzip
with:
url: ${{ inputs.love-url }}
- name: move love
shell: bash
run: mv ${{ inputs.love-dir }} love
- name: Download ColdClear
uses: ./.github/actions/get-cc
with:
arch: ${{ inputs.arch }}
- name: Download ResourceHacker
uses: ./.github/actions/get-unzip
with:
url: http://www.angusj.com/resourcehacker/resource_hacker.zip
- uses: ./.github/actions/build-love
- name: update Windows template
shell: python
run: |
Version = '${{ inputs.version }}'.replace('V', '')
FileVersion = (f"{Version.replace('.', ',')},0")
with open('./.github/build/Windows/Techmino.rc.template', 'r', encoding='utf8') as file:
data = file.read()
data = data\
.replace('@FileVersion', FileVersion)\
.replace('@Version', Version)
with open('Techmino.rc', 'w+', encoding='utf8') as file:
file.write(data)
- name: Pack Techmino
shell: pwsh
run: |
cmd /c copy /b .\love\love.exe + .\Techmino.love .\love\Techmino.exe
del .\love\love.exe
del .\love\lovec.exe
del .\love\game.ico
del .\love\love.ico
del .\love\changes.txt
del .\love\readme.txt
move .\cold_clear.dll .\love
move .\CCloader.dll .\love
cmd /c '.\ResourceHacker.exe -open .\love\Techmino.exe -save .\love\Techmino.exe -action delete -mask ICONGROUP,,'
cmd /c '.\ResourceHacker.exe -open .\Techmino.rc -save .\Techmino.res -action compile'
cmd /c '.\ResourceHacker.exe -open .\love\Techmino.exe -save .\love\Techmino.exe -action addoverwrite -res "${{ inputs.icon }}" -mask ICONGROUP,1,'
cmd /c '.\ResourceHacker.exe -open .\love\Techmino.exe -save .\love\Techmino.exe -action addoverwrite -res ".\Techmino.res" -mask VERSIONINFO,1,'

View File

@@ -3,8 +3,8 @@ description: 'download cc into specific dir'
inputs:
tag:
required: false
default:
arch:
default: "11.4"
platform:
required: true
dir:
required: false
@@ -27,6 +27,6 @@ runs:
shell: bash
- uses: ./.github/actions/get-unzip
with:
url: https://github.com/${{ inputs.repo }}/releases/download/${{ steps.get-tag.outputs.tag }}/${{ inputs.arch }}.zip
url: https://github.com/${{ inputs.repo }}/releases/download/${{ steps.get-tag.outputs.tag }}/${{ inputs.platform }}.zip
dir: ${{ inputs.dir }}
temp-file: ${{ inputs.temp-file }}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -1,5 +0,0 @@
#!/bin/sh
export LOVE_LAUNCHER_LOCATION="$(dirname "$(which "$0")")"
export LD_LIBRARY_PATH="${LOVE_LAUNCHER_LOCATION}/lib/x86_64-linux-gnu:${LOVE_LAUNCHER_LOCATION}/usr/bin:${LOVE_LAUNCHER_LOCATION}/usr/lib:${LOVE_LAUNCHER_LOCATION}/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
/sbin/ldconfig -p | grep -q libstdc++ || export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${LOVE_LAUNCHER_LOCATION}/libstdc++/"
exec ${LOVE_BIN_WRAPPER} "${LOVE_LAUNCHER_LOCATION}/usr/bin/love" "${LOVE_LAUNCHER_LOCATION}/usr/share/Techmino"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/icon_background"/>
<foreground android:drawable="@mipmap/icon_foreground"/>
</adaptive-icon>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/icon_background"/>
<foreground android:drawable="@mipmap/icon_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/icon_background"/>
<foreground android:drawable="@mipmap/icon_foreground"/>
</adaptive-icon>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/icon_background"/>
<foreground android:drawable="@mipmap/icon_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

106
.github/build/iOS/love.patch vendored Normal file
View File

@@ -0,0 +1,106 @@
diff --git a/src/common/ios.h b/src/common/ios.h
index c1932555..552e432e 100644
--- a/src/common/ios.h
+++ b/src/common/ios.h
@@ -66,7 +66,7 @@ std::string getExecutablePath();
/**
* Causes devices with vibration support to vibrate for about 0.5 seconds.
**/
-void vibrate();
+void vibrate(const double seconds);
/**
* Enable mix mode (e.g. with background music apps) and playback with a muted device.
diff --git a/src/common/ios.mm b/src/common/ios.mm
index 7730991e..4ba8e708 100644
--- a/src/common/ios.mm
+++ b/src/common/ios.mm
@@ -36,6 +36,8 @@
#include <SDL_video.h>
#include <SDL_syswm.h>
+#include <sys/utsname.h>
+
static NSArray *getLovesInDocuments();
static bool deleteFileInDocuments(NSString *filename);
@@ -391,10 +393,40 @@ std::string getExecutablePath()
}
}
-void vibrate()
+void vibrate(const double seconds)
{
@autoreleasepool
{
+ struct utsname systemInfo;
+ uname(&systemInfo);
+ NSString *deviceString = [NSString stringWithCString:systemInfo.machine encoding:NSUTF8StringEncoding];
+ NSRange iPhoneRange = [deviceString rangeOfString:@"iPhone"];
+ if (iPhoneRange.length == 6) {
+ NSRange commaRange = [deviceString rangeOfString:@","];
+ NSString *iPhone = [deviceString substringWithRange:iPhoneRange];
+ NSRange numRange = NSMakeRange(iPhoneRange.location + iPhoneRange.length, commaRange.location - iPhoneRange.location - iPhoneRange.length);
+ NSString *num = [deviceString substringWithRange:numRange];
+
+ if ([num intValue] >= 9) {
+ // iPhone 7 and above, see: https://gist.github.com/adamawolf/3048717#file-apple_mobile_device_types-txt-L22
+
+ if (@available(iOS 10.0, *)) {
+ // iOS 10.0 and above
+ UIImpactFeedbackGenerator *impact = nil;
+ if (seconds >= 0.5 && seconds < 1.5) {
+ impact = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleLight]; // 轻
+ } else if (seconds >= 1.5 && seconds < 2.5) {
+ impact = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium]; // 中
+ } else if (seconds >= 2.5) {
+ impact = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleHeavy]; // 重
+ } else {
+ return;
+ }
+ [impact impactOccurred];
+ return;
+ }
+ }
+ }
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
}
}
diff --git a/src/love.cpp b/src/love.cpp
index c8af8596..ae7a5e32 100644
--- a/src/love.cpp
+++ b/src/love.cpp
@@ -140,6 +140,10 @@ enum DoneAction
DONE_RESTART,
};
+extern "C" {
+ int luaopen_CCloader(lua_State *L);
+}
+
static DoneAction runlove(int argc, char **argv, int &retval)
{
// Oh, you just want the version? Okay!
@@ -158,6 +162,9 @@ static DoneAction runlove(int argc, char **argv, int &retval)
lua_State *L = luaL_newstate();
luaL_openlibs(L);
+ // Init CCloader
+ luaopen_CCloader(L);
+
// LuaJIT-specific setup needs to be done as early as possible - before
// get_app_arguments because that loads external library code. This is also
// loaded inside require("love"). Note that it doesn't use the love table.
diff --git a/src/modules/system/System.cpp b/src/modules/system/System.cpp
index e1de16d5..e0f03557 100644
--- a/src/modules/system/System.cpp
+++ b/src/modules/system/System.cpp
@@ -174,7 +174,7 @@ void System::vibrate(double seconds) const
#ifdef LOVE_ANDROID
love::android::vibrate(seconds);
#elif defined(LOVE_IOS)
- love::ios::vibrate();
+ love::ios::vibrate(seconds);
#else
LOVE_UNUSED(seconds);
#endif

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Name=Techmino Development
Comment=Techmino is fun!
MimeType=application/x-love-game;
Exec=app %f
Type=Application
Categories=Game;
Terminal=false
Icon=icon
NoDisplay=false

View File

@@ -0,0 +1 @@
*.template text eol=lf

BIN
.github/build/linux/release/icon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@@ -1,8 +1,10 @@
[Desktop Entry]
Name=Techmino Alpha
Name=Techmino
Comment=Techmino is fun!
Exec=wrapper-love %f
MimeType=application/x-love-game;
Exec=app %f
Type=Application
Categories=Game;
Terminal=false
Icon=icon
NoDisplay=false

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