comet/examples
2025-11-27 00:26:24 +01:00
..
hello_sound.rs feat: added comet_sound to cargo toml and added with_audio to the builder pattern 2025-11-27 00:26:24 +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 feat: added simple_text example 2025-05-03 21:56:56 +02: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.