一个不错的简单教程,链接地址:Runner,a minimal side-scroller。
in this tutorial we'll create a very simple endless running game. You'll learn to
- generate a layered background;
- reuse objects;
- use simply physics;
- detect input to make the player jump;
- implement a power-up;
- write a small event manager;
- switch stuff on and off on demand;
- make a minimal GUI.