Skip to content

Latest commit

 

History

History

README.md

Zombie fighter - game with multiple states

Demo of Castle Game Engine states (TCastleView) to define various game states, like

  • main menu
  • playing the game
  • dialog asking user for something

You can organize your game into such states, it is a nice way of splitting your user interface code into manageable chunks. See https://castle-engine.io/states .

Using Castle Game Engine.

Building

Compile by:

  • CGE editor. Just use menu items "Compile" or "Compile And Run".

  • Or use CGE command-line build tool. Run castle-engine compile in this directory.

  • Or use Lazarus. Open in Lazarus zombie_fighter_standalone.lpi file and compile / run from Lazarus. Make sure to first register CGE Lazarus packages.

  • Or use Delphi. Open in Delphi zombie_fighter_standalone.dproj file and compile / run from Delphi. See CGE and Delphi documentation for details.