From ec84d9e7401cb96b12cc55233aae1a9dc6c42432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20Konik?= Date: Fri, 18 Apr 2025 08:54:33 +0000 Subject: [PATCH] move demo up (#37) --- README.md | 6 ++---- src/lib.rs | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9bf46b6..e4d359c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # bevy_scriptum 📜 +![demo](demo.gif) + bevy_scriptum is a a plugin for [Bevy](https://bevyengine.org/) that allows you to write some of your game logic in a scripting language. Currently [Rhai](https://rhai.rs/) and [Lua](https://lua.org/) are supported, but more languages may be added in the future. @@ -174,10 +176,6 @@ App::new() You should then see `my_print: 'Hello world!'` printed in your console. -### Demo - -![demo](demo.gif) - ### Provided examples You can also try running provided examples by cloning this repository and running `cargo run --example _`. For example: diff --git a/src/lib.rs b/src/lib.rs index 730e5c6..04c7d94 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,5 @@ +//! ![demo](demo.gif) +//! //! bevy_scriptum is a a plugin for [Bevy](https://bevyengine.org/) that allows you to write some of your game logic in a scripting language. //! Currently [Rhai](https://rhai.rs/) and [Lua](https://lua.org/) are supported, but more languages may be added in the future. //! @@ -172,10 +174,6 @@ //! //! You should then see `my_print: 'Hello world!'` printed in your console. //! -//! ## Demo -//! -//! ![demo](demo.gif) -//! //! ## Provided examples //! //! You can also try running provided examples by cloning this repository and running `cargo run --example _`. For example: