Game examples
The engine's game examples: what each one shows, whether it runs in a browser and the command that runs it.
Small complete games and game-like programs that combine many parts of the engine. There are 7 examples on this page. For the concepts behind them, see Your first app.
Run any of them from the engine core's workspace (the folder of the engine source that holds the neo crate's Cargo.toml); see Run an example.
Examples#
| Example | What it shows | Web | Run |
|---|---|---|---|
| Alien Cake Addict | Eat the cakes. Eat them all. An example 3D game | Yes | cargo run --example alien_cake_addict |
| Breakout | An implementation of the classic game "Breakout". | Yes | cargo run --example breakout |
| Contributors | Displays each contributor as a bouncy neo-ball! | Yes | cargo run --example contributors |
| Desk Toy | NEO logo as a desk toy using transparent windows! Now with Googly Eyes! | No | cargo run --example desk_toy |
| Game Menu | A simple game menu | Yes | cargo run --example game_menu |
| Loading Screen | Demonstrates how to create a loading screen that waits for all assets to be loaded and render pipelines to be compiled. | Yes | cargo run --example loading_screen |
| Mines | A simple minesweeper-style game in NEO UI | Yes | cargo run --example mines |