Commit Graph

107 Commits

Author SHA1 Message Date
5ca995d689
Supports throwing items out of a specific item slot.
支持扔出特定物品槽内的物品了。
2024-06-06 22:43:07 +08:00
95515ddab2
When the selected item slot A is selected, pressing the shortcut key of item slot A again will no longer invoke the press event of A.
当选中物品槽A时,再次按下物品槽A的快捷键,就不能再调用A的按下事件了。
2024-06-06 21:05:51 +08:00
21b3691925
Merge branch 'master' of github.com:Cold-Mint/Traveller 2024-06-06 19:46:54 +08:00
fac2047f79
Update Readme.
更新readme。
2024-06-06 19:37:50 +08:00
f7139dd60d
Update readme.
更新readme。
2024-06-06 07:35:50 +08:00
6adb1b057c
Update readme.
更新readme。
2024-06-05 23:15:49 +08:00
4c61f3b50e
Remove unused source files. Fixed an issue where the health tank was empty after resurrection.
移除未使用的源文件。修复复活后生命槽为空的问题。
2024-06-05 22:15:23 +08:00
39ca716e3d
Conduct code reviews.
进行代码审查。
2024-06-05 21:38:45 +08:00
2a836e32e6
Support for restarting the game.
支持重新开始游戏了。
2024-06-04 22:23:06 +08:00
74c85cd5a7
Support for generating creatures on the map, adding the game end screen.
支持在地图上生成生物了,加入了游戏结束的画面。
2024-06-03 22:58:59 +08:00
64688252f0
Fixed an issue where players could not pick up items.
修复玩家不能拾起物品的问题。
2024-06-02 22:25:07 +08:00
b474ac0ed3
Support to detect when the player has entered or exited the room.
支持检测玩家进入或退出房间了。
2024-06-02 21:48:38 +08:00
db402ab7b2
Supports spawning players at birth points.
支持将玩家生成在出生点。
2024-05-31 22:26:38 +08:00
91cffd4866
Adjust the test based on the time range of the room injector.
调整测试基于时间范围的房间注入器。
2024-05-31 20:37:15 +08:00
a957c91ffe
Add probability-based and time-interval based room injection processors.
加入基于概率的和基于时间间隔的房间注入处理器。
2024-05-30 22:49:54 +08:00
959dcc3092
Add room injection processor.
加入房间注入处理器。
2024-05-28 22:14:35 +08:00
ea319f032e
Resolved an issue where the room slots were not used but marked as matching when generating a map with multiple forks, resulting in no forks being generated.
解决生成多岔道的地图时,房间槽未使用但被标记为匹配,导致无法生成岔道的问题。
2024-05-27 23:10:56 +08:00
0c0adf3a25
Tag is now supported when creating a room.
创建房间时支持指定Tag了。
2024-05-27 22:10:05 +08:00
4b9bac6ac7
Fixed an issue where banners would not display properly.
修复标语不能正常显示的问题。
2024-05-26 22:04:28 +08:00
fdb8b88c1e
Fixed an issue where maps could not be generated after exporting the project.
解决导出项目后,无法生成地图的问题。
2024-05-26 19:09:43 +08:00
b0da4b049e
Improve the log of map generator.
完善地图生成器的日志。
2024-05-26 11:10:21 +08:00
ace9ba5b65
Solve the problem of room overlap.
解决房间重叠问题。
2024-05-26 00:02:00 +08:00
5ec6b3065b
Distinguish log levels to solve the problem of overlapping room splicing borders.
区分日志等级,解决房间拼接边框重叠的问题。
2024-05-24 22:58:52 +08:00
c73bc185a5
Add the Generate map button used in the test to adjust the room selection algorithm.
加入测试使用的生成地图按钮,调整房间的选取算法。
2024-05-23 21:58:49 +08:00
4023d1d870
Calculation algorithm for optimizing room location.
优化房间位置的计算算法。
2024-05-23 20:52:52 +08:00
16a2a1d551
Algorithms for adjusting room placement.
调整房间放置的算法。
2024-05-22 22:39:41 +08:00
544c5303f3
Fixed an issue where the return path of the room template set was invalid, the initial room placement was extracted separately from the new method and added to the seed of map generation.
修复房间模板集返回路径无效的问题,初始房间的放置被单独提取出新的方法,加入地图生成时的种子。
2024-05-21 22:50:33 +08:00
529d5e95b5
Adjust the map generator.
调整地图生成器。
2024-05-20 22:38:41 +08:00
dd2577cfd0
Add sequential layout diagram parsing policies.
添加顺序的布局图解析策略。
2024-05-19 22:32:34 +08:00
b5b79eccc1
Fixed an issue where images referenced in readme would not display properly.
修复readme内引用的图片不能正常显示的问题。
2024-05-19 20:40:22 +08:00
e902974a14
Refactoring the top layer algorithm of the map generator and updating the readme.
重构地图生成器的顶层算法,更新readme。
2024-05-19 20:29:32 +08:00
ed91d5a03b
Update readme.
更新readme。
2024-05-19 09:44:02 +08:00
f07b073dc6
Refactoring map generator, updating readme.
重构地图生成器,更新readme。
2024-05-18 23:35:12 +08:00
2fe9353732
Update the Readme.
更新Readme。
2024-05-17 22:18:14 +08:00
250bd53392
Support to delete the selected node, the room template edit box for anti-shake processing.
支持删除选中的节点了,对房间模板编辑框进行防抖处理。
2024-05-17 22:08:19 +08:00
4d583b6650
Update LICENSE.
更新协议。
2024-05-16 22:57:26 +08:00
e0723ec261
Supports loading and saving hierarchy diagrams from json files now.
支持加载和保存层级图从json文件了。
2024-05-16 22:46:03 +08:00
c9dd33b840
Remove useless dependencies and modify incorrect comments.
移除无用依赖,修改错误的注释。
2024-05-15 22:08:52 +08:00
2e64f57749
Support for saving node data to json files.
支持将节点数据转存为json文件了。
2024-05-15 21:52:07 +08:00
2fded22910
Attempt to serialize node data.
尝试序列化节点数据。
2024-05-14 22:26:33 +08:00
968fa7d723
Support for connecting nodes. Adding taglines does not require changing random ranges in the code.
支持连接节点了。添加标语无需到代码内修改随机范围了。
2024-05-12 23:06:07 +08:00
2a28702fc6
Make a level map editor.
制作关卡图编辑器。
2024-05-12 18:00:47 +08:00
92659d23b0
Prepare to add forks to the map.
准备为地图添加分叉。
2024-05-10 22:56:27 +08:00
5c4dc37181
Update the main menu.
更新主菜单。
2024-05-09 21:25:04 +08:00
5cdb720d37
Add Japanese translation to improve item picking logic.
增加日语翻译,改善物品的拾捡逻辑。
2024-05-09 21:07:14 +08:00
222d26441e
Improve empty references and improve code robustness.
改善空引用,提升代码健壮性。
2024-05-08 18:22:04 +08:00
1c116eb820
Add a null judgment.
添加空判断。
2024-05-07 19:36:06 +08:00
802eb599da
Fixed an issue where the health bar was drawn incorrectly.
修复健康条绘制不正确的问题。
2024-05-07 17:38:50 +08:00
9435f76fc0
Adjust the logic of how the player picks up items.
调整玩家捡起物品的逻辑。
2024-05-06 18:59:39 +08:00
801b3dd93b
Supports the use of mouse wheel to switch currently held items.
支持使用鼠标滚轮切换当前持有的物品了。
2024-05-04 22:59:46 +08:00