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: