Skip to content

Commit 14fc601

Browse files
N22: 2048 bevy reset game event video (#670)
Co-authored-by: Joe Clay <[email protected]>
1 parent 7738041 commit 14fc601

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Loading

content/news/022/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,23 @@ these operations.
461461

462462
[rust_in_unreal]: https://www.reddit.com/r/rust_gamedev/comments/n9v8m9/rust_in_unreal_engine_may_2021_summary/
463463

464+
### [2048: Using an event system to reset the game][2048-bevy-youtube]
465+
466+
[![YouTube Card](2048-bevy-reset-game-events.png)][2048-bevy-youtube]
467+
468+
[@chrisbiscardi] published [a video][2048-bevy-youtube] about using Bevy's event
469+
readers and writers to implement a reset game button for a 2048 clone.
470+
471+
The video walks through implementing a "reset game" UI button in Bevy 0.5 by taking
472+
advantage of Bevy's event system for reading and writing a ResetGameEvent. It also
473+
covers recursively despawning entities and sprites.
474+
475+
_Discussion: [Twitter][2048-bevy-twitter]_
476+
477+
[2048-bevy-youtube]: https://youtube.com/watch?v=4TJsEXupFso
478+
[2048-bevy-twitter]: https://twitter.com/chrisbiscardi/status/1397291221702254595
479+
[@chrisbiscardi]: https://twitter.com/chrisbiscardi
480+
464481
## Library & Tooling Updates
465482

466483
### [egui]

0 commit comments

Comments
 (0)