Asteroids Sample

The Asteroids Sample is a small game that shows how to use various components and messages to create simple game logic.

Asteroids Asteroids

Prerequisites

Note: The project is only available when the solution is built with EZ_BUILD_SAMPLES activated.

The game itself is a stand-alone application (TODO), but the assets that it uses need to be transformed by ezEditor. Open the editor project in Data/Samples/Asteroids with ezEditor, then open the asset browser and click the Transform All button (white box with red arrow). Afterwards you can run the Asteroids application.

Code

The code is a slightly more complex demonstration of how to write custom components (TODO) and let them interact to create game logic.

See Also