<Tower>
A downloadable game for Windows
Chinese Only
作为地球防御军的程序员,你的任务是给防御塔编写脚本,让他们自动追踪并攻击敌人。脚本语言比较像python,底层是对gdscript的包装。编程的方式是传统的围绕GameObject来获取信息并编写行为,一些常见的事件可以通过继承来模拟。
觉得太难了?我们有提供简单的教程和API,以及一个简易的蓝图系统。你也可以在游戏进程中随时暂停并进入编辑模式,在一个独立的环境中运行并测试你的代码!
QQ群:1018737623
欢迎反馈bug以及提供建议!
实例代码:
func tick(delta) { var pos = api.get_nearest_enemy_pos(this); var rad = api.angle(pos); var deg = api.rad2deg(rad); if (deg != 0) { api.set_tower_move_degree(this, deg); } }
Status | In development |
Platforms | Windows |
Author | Alan Lai |
Genre | Puzzle |
Tags | programming |
Download
Download
tower_v1.0.zip 72 MB
Install instructions
Windows
Leave a comment
Log in with itch.io to leave a comment.