Skip to content

include 2048 bevy reset game event video #670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added content/news/022/2048-bevy-reset-game-events.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions content/news/022/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down