diff --git a/content/news/022/2048-bevy-reset-game-events.png b/content/news/022/2048-bevy-reset-game-events.png new file mode 100755 index 000000000..0fa55e043 Binary files /dev/null and b/content/news/022/2048-bevy-reset-game-events.png differ diff --git a/content/news/022/index.md b/content/news/022/index.md index 5fb015239..04c6b01b0 100644 --- a/content/news/022/index.md +++ b/content/news/022/index.md @@ -451,6 +451,23 @@ _Discussion: [r/rust_gamedev](https://www.reddit.com/r/rust_gamedev/comments/nhd [ld48-mmo]: https://kuviman.itch.io/dig-world/devlog/255566/so-i-made-an-mmo-in-48-hours +### [2048: Using an event system to reset the game][2048-bevy-youtube] + +[![YouTube Card](2048-bevy-reset-game-events.png)][2048-bevy-youtube] + +[@chrisbiscardi] published [a video][2048-bevy-youtube] about using Bevy's event +readers and writers to implement a reset game button for a 2048 clone. + +The video walks through implementing a "reset game" UI button in Bevy 0.5 by taking +advantage of Bevy's event system for reading and writing a ResetGameEvent. It also +covers recursively despawning entities and sprites. + +_Discussion: [Twitter][2048-bevy-twitter]_ + +[2048-bevy-youtube]: https://youtube.com/watch?v=4TJsEXupFso +[2048-bevy-twitter]: https://twitter.com/chrisbiscardi/status/1397291221702254595 +[@chrisbiscardi]: https://twitter.com/chrisbiscardi + ## Library & Tooling Updates ### [egui]