comet/examples
2025-11-27 11:52:07 +01:00
..
hello_world.rs chore(all): fix warnings 2025-11-02 15:58:28 +01:00
prefabs.rs refactor(examples): adapt to new entity system 2025-11-26 17:07:30 +01:00
README.md chore(examples): rename hello_sound to simple_audio and fix the links in the README 2025-11-27 11:52:07 +01:00
simple_audio.rs chore(examples): rename hello_sound to simple_audio and fix the links in the README 2025-11-27 11:52:07 +01:00
simple_move_2d.rs refactor(examples): adapt to new entity system 2025-11-26 17:07:30 +01:00
simple_text.rs refactor(examples): adapt to new entity system 2025-11-26 17:07:30 +01:00
textured_entity.rs chore(all): fix warnings 2025-11-02 15:58:28 +01:00

Examples

This directory contains a few examples that demonstrate how you can use Comet to create an application/game.

Simply run

cargo run --example <example_name>
Example Description
hello_world A simple boilerplate example to show how to properly start creating a Comet App.
textured_entity This covers the basics on how to create a camera and your first entity with a texture.
simple_move_2d A simple demonstration of a hypothetical movement system in 2D.
simple_text A simple demonstration of how to write some text in Comet.
simple_audio A simple demonstration of how to use the audio system in Comet.
prefabs Shows how to register and spawn prefabbed entities.