| 1 | # Platformer |
| 2 | |
| 3 | ## Introduction |
| 4 | |
| 5 | This a a full-featured _platformer_ game implemented using [Castle Game Engine](https://castle-engine.io/). |
| 6 | |
| 7 | Watch the movie with a playthrough on https://www.youtube.com/watch?v=yVTxr9tTHxg . |
| 8 | |
| 9 | ## Downloads |
| 10 | |
| 11 | - [Linux, Windows, Android APK (from itch.io)](https://castle-engine.itch.io/platformer). |
| 12 | - [Android (from Google Play)](https://play.google.com/store/apps/details?id=io.castleengine.platformer). |
| 13 | |
| 14 | ## Screenshots |
| 15 | |
| 16 |  |
| 17 |  |
| 18 |  |
| 19 |  |
| 20 |  |
| 21 | |
| 22 | ## Features |
| 23 | |
| 24 | A complete demo of a platformer game, with |
| 25 | |
| 26 | - Level (and all UI) designed visually using the editor. |
| 27 | |
| 28 | - Sprites sheets designed using CGE editor and managed in .castle-sprite-sheet format (see [sprite sheets docs](https://castle-engine.io/sprite_sheets)). |
| 29 | |
| 30 | - Full platformer gameplay. Player can move, jump, pick up a weapon, be hurt by enemies, be hurt by obstacles, collect things, die, finish the level. Extra jumps in the air are possible (check out _Advanced player_ checkbox). Enemies move following a simple pattern. |
| 31 | |
| 32 | - Sound and music. |
| 33 | |
| 34 | - All UI states you expect from a usual game — main menu, options (with volume configuration), pause, credits, game over and of course the actual game. |
| 35 | |
| 36 | ## Keys, mouse, touch input |
| 37 | |
| 38 | You can use keys, mouse or touch (on mobile) input to fully control the game. On mobile, multi-touch works, so you can e.g. move left and jump at the same time. |
| 39 | |
| 40 | - Move left: "A" key, or "left arrow" key, or press mouse/finger in the left-bottom screen part. |
| 41 | |
| 42 | - Move right: "D" key, or "right arrow" key, or press mouse/finger in the right-bottom screen part. |
| 43 | |
| 44 | - Jump: "W" key, or "up arrow" key, or press mouse/finger in the upper screen part. |
| 45 | |
| 46 | - Shoot: "Space" key, or press right mouse button, or press at least 2 fingers on the touch device. |
| 47 | |
| 48 | ## Building |
| 49 | |
| 50 | Compile by: |
| 51 | |
| 52 | - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_. |
| 53 | |
| 54 | - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory. |
| 55 | |
| 56 | - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `platformer_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus). |
| 57 | |
| 58 | - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `platformer_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details. |