From c0ce4e60ee910ff4019f3540a4491827ddb1f437 Mon Sep 17 00:00:00 2001 From: lisk77 Date: Thu, 27 Nov 2025 11:52:07 +0100 Subject: [PATCH] chore(examples): rename hello_sound to simple_audio and fix the links in the README --- examples/README.md | 14 ++++++++------ examples/{hello_sound.rs => simple_audio.rs} | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) rename examples/{hello_sound.rs => simple_audio.rs} (95%) diff --git a/examples/README.md b/examples/README.md index 2b805a1..a1e9cd8 100644 --- a/examples/README.md +++ b/examples/README.md @@ -7,9 +7,11 @@ Simply run cargo run --example ``` -| Example | Description | -|------------------------------------|----------------------------------------------------------------------------------------| -| [hello_world](hello_world) | A simple boilerplate example to show how to properly start creating a Comet App. | -| [textured_entity](textured_entity) | This covers the basics on how to create a camera and your first entity with a texture. | -| [simple_move_2d](simple_move_2d) | A simple demonstration of a hypothetical movement system in 2D. | -| [simple_text](simple_text) | A simple demonstration of how to write some text in Comet. | \ No newline at end of file +| Example | Description | +|-------------------------------------------|----------------------------------------------------------------------------------------| +| [hello_world](hello_world.rs) | A simple boilerplate example to show how to properly start creating a Comet App. | +| [textured_entity](textured_entity.rs) | This covers the basics on how to create a camera and your first entity with a texture. | +| [simple_move_2d](simple_move_2d.rs) | A simple demonstration of a hypothetical movement system in 2D. | +| [simple_text](simple_text.rs) | A simple demonstration of how to write some text in Comet. | +| [simple_audio](simple_audio.rs) | A simple demonstration of how to use the audio system in Comet. | +| [prefabs](prefabs.rs) | Shows how to register and spawn prefabbed entities. | diff --git a/examples/hello_sound.rs b/examples/simple_audio.rs similarity index 95% rename from examples/hello_sound.rs rename to examples/simple_audio.rs index fa4d6a4..24a12b4 100644 --- a/examples/hello_sound.rs +++ b/examples/simple_audio.rs @@ -19,7 +19,7 @@ fn update(app: &mut App, renderer: &mut Renderer2D, dt: f32) { fn main() { App::new() - .with_title("Comet Audio Example") + .with_title("Comet Sound Example") // This can be used to add your own sound engine to the engine .with_audio(Box::new(comet_sound::KiraAudio::new())) // to .run::(setup, update);