Godot
Dodge the Creeps
Dodge the Creeps 是官方的「第一款 Godot 游戏」循环。角色移动、敌人刷新、计时得分。如果文档让你做第一款游戏,对应的就是这个仓库。

Godot街机GDScriptMIT示例
Ad
适合谁
- 第一个周末打开 Godot 的人
- 需要 30 分钟现场演示的老师
- 做平台跳跃之前先要刷怪和计分的人
能学到什么
- 用输入动作驱动玩家移动
- 用计时器刷怪
- HUD 分数和结束后重开
克隆并运行
- 安装 Godot 4。
- 打开 godot-demo-projects 里的 2d/dodge_the_creeps(克隆或 ZIP)。
- 导入 project.godot,按 Play。
这不是平台跳跃。没有瓦片也没有跳跃。价值是一套能在晚饭前读完的街机循环,然后把贴图换成 Jam 主题。
对着官方 “Your first 2D game” 文档读代码。这份演示是那篇教程的完成态,不是另一套引擎功能清单。
这些是公开仓库。简介是为本站写的,不是转载。
编辑说明核对于 2026-10-05。
相关源码
Godot Pong
Two paddles and a ball, small enough to read in one sitting.

Finite state machine
Enemy states you can trace: idle, chase, attack.

Squash the Creeps
3D cousin of Dodge the Creeps: move and squash.

2D particles
Particle bursts you can attach to a pickup or hit.
DynaDungeons
Bomberman-style arena built in Godot.

Pimple Popper
A tiny Godot toy: tap and clear.