Debian Codegraph @

examples/mobile/game_services/README.md

raw symbols SCIP
1 # Game services (achievements, leaderboards, save games...) with Google Play Games and Apple Game Center
2
3 Download the game for Android from Google Play: https://play.google.com/store/apps/details?id=io.castleengine.mobile.game.services
4
5 Records and shows achievements and leaderboard scores using `CastleGameService`. This uses:
6
7 - Google Play Games (on Android)
8
9 - Apple Game Center (on iOS)
10
11 - On other platforms achievements are ignored now. In the future we may integrate e.g. with Steam achievements, if a Steam service is activated in the project.
12
13 The game itself is a simple 2D game with models animated in Spine. It is very similar to the _"New Project -> 2D Game"_ template from the CGE editor, extended only to demonstrate achievements, leaderboards and savegames.
14
15 ![Screenshot](screenshot.jpg)
16
17 Using [Castle Game Engine](https://castle-engine.io/).
18
19 ## Building
20
21 Compile by:
22
23 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
24
25 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
26
27 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `game_services_demo_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).
28
29 - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `game_services_demo_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details.