In this tutorial we add wild encounters to our RPG. We cover using states in Bevy to run different systems when the player is in the overworld versus when it is in combat. We also cover timers and use them to add some basic polish to our game.
Bevy 0.10 has finally released and this video covers my first thoughts on the release blog and a quick overview on the new scheduling features. I also quickly go over some of the new graphics features that caught my eye.
Discord Invite: https://discord.gg/w674Ze7ud7
Patreon: https://patreon.com/logicprojects
Resources:
Update Blog: https://bevyengine.org/news/bevy-0-10/
Bevy: https://bevyengine.org/
Bevy Cheatbook: https://bevy-cheatbook.github.io/
Bevy Examples: https://github.com/bevyengine/bevy/tree/main/examples
Chapters:
0:00 Introduction
0:55 Stageless RFC
1:50 Schedule Basics
2:26 System Sets
3:37 Commands/Flushes
4:19 Run Conditions
4:48 States
6:18 Schedule Overview
6:44 Graphics Features
7:50 Other Features
8:00 Performance Improvements
8:35 Outro
...
https://www.youtube.com/watch?v=e92clhk0OBk
A few weeks ago I completed the LudumDare 53 Game Jam as part of a collaboration with @TurboMakesGames and we both made basically the same game in both Unity Dots and Bevy. In this video I go through some of the comparable systems and components and talk about the differences in both engines.
Johnny's Channel: https://www.youtube.com/@TurboMakesGames
My Game: https://logicprojects.itch.io/delivery-survivor
Johnny's Game: https://johnnyturbo.itch.io/pizza-survivors
My Code: https://github.com/mwbryant/logic_pizza_survivor
Johnny's Code: https://github.com/JohnnyTurbo/LD53
...
https://www.youtube.com/watch?v=UvLsr_XUbrM
In this video I cover the basics of compute shaders in bevy including how to modify the bevy render graph to add our shader steps. Our end goal is to create a beautiful gpu accelerated particle system but we still have a ways to go on that goal.
Git: https://github.com/mwbryant/logic_compute_shaders
Discord Invite: https://discord.gg/w674Ze7ud7
Patreon: https://patreon.com/logicprojects
Resources:
Particle System Blog: https://gpfault.net/posts/webgl2-particles.txt.html
Bevy Hanabi: https://github.com/djeedai/bevy_hanabi
Render Graph Git Question: https://github.com/bevyengine/bevy/discussions/2524
Bevy: https://bevyengine.org/
Bevy Cheatbook: https://bevy-cheatbook.github.io/
Bevy Examples: https://github.com/bevyengine/bevy/tree/main/examples
Chapters:
0:00 Intro
0:52 What/Why Compute Shaders
2:01 High Level Overview
2:55 Main/Render Graph
5:27 Implementing Node
10:03 Dispatching the Shaders
11:33 FromWorld Resources
13:37 queue_bind_groups
15:08 Reading back to CPU
16:30 Duplicating for Rendering
17:25 Writing the Shaders
19:44 Final Result
20:26 Recap/Outro
...
https://www.youtube.com/watch?v=neyIpnII-WQ
In this tutorial we add a basic turn based combat system to our game. We cover using events in Bevy and more state management. We also roll our own UI to create a combat menu.
Discord Invite: https://discord.gg/w674Ze7ud7
Tutorial Github: https://github.com/mwbryant/rpg-bevy-tutorial
Resources:
Bevy: https://bevyengine.org/
Bevy Cheatbook: https://bevy-cheatbook.github.io/
Bevy Nineslice: https://docs.rs/bevy_ninepatch/latest/bevy_ninepatch/
UI Discussion:
https://github.com/bevyengine/bevy/issues/254
https://github.com/bevyengine/rfcs/pull/41
https://github.com/nicopap/ui-navigation/tree/v0.14.0
Chapters:
0:00 Intro
0:41 Combat and Events
3:33 Ascii Text
5:10 Nineslice Boxes
8:16 Combat Menu
10:18 Turn Based Combat
12:09 Outro
...
https://www.youtube.com/watch?v=-YUrhDnmO8I
This week I added all of the basic overworld features for the RPG. We now have enemies that can trigger battles and wander around. We also have npcs that the player can interact with which spawn dialog boxes.
Project Github: https://github.com/mwbryant/logic-turn-based-rpg/tree/devlog4
Discord Invite: https://discord.gg/w674Ze7ud7
Patreon: https://patreon.com/logicprojects
Resources:
Bevy: https://bevyengine.org/
Bevy Cheatbook: https://bevy-cheatbook.github.io/
Bevy Examples: https://github.com/bevyengine/bevy/tree/main/examples
Chapters:
0:00 Introduction
1:33 NPCs
3:08 Wandering Enemies
4:58 Fade Effect Polish
5:48 Outro
...
https://www.youtube.com/watch?v=luyDgccpHgE
In this video we cover many different ways to handle player input. We also dive a little bit deeper into how to order systems in Bevy and how to use community plugins.
Git: https://github.com/mwbryant/bevy-tower-defense-tutorial/tree/part-4
Discord Invite: https://discord.gg/w674Ze7ud7
Patreon: https://patreon.com/logicprojects
Resources:
Bevy: https://bevyengine.org/
Bevy Cheatbook: https://bevy-cheatbook.github.io/
Bevy Examples: https://github.com/bevyengine/bevy/tree/main/examples
Chapters:
0:00 Introduction
0:44 Camera Controls
3:34 Better Models
4:27 Stages Overview
5:38 Click Detection and bevy_mod_picking
8:33 bevy_mod_picking Usage
10:29 Tower Building
11:34 Final Product/Outro
...
https://www.youtube.com/watch?v=h9FQDupcPlg
This is just a very short update since it's been 2 weeks since my last devlog. I am giving up on making the project in DOTS because there are just too many features that aren't DOTS ready at this point. Stay tuned for a new devlog in the future with more exciting features and progress
Music Credits:
Late Night Radio by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song/7613-late-night-radio
License: https://filmmusic.io/standard-license
...
https://www.youtube.com/watch?v=dmi1HCBotrY
Super off topic video for my channel but I explored an old hobby and wanted to showoff a cool Rust project.
rust-hdl: https://github.com/samitbasu/rust-hdl
Discord Invite: https://discord.gg/w674Ze7ud7
Patreon: https://patreon.com/logicprojects
Chapters:
0:00 Introduction
1:11 What is an FPGA and how do I get one
4:50 Vivado
6:05 Project Setup
7:41 My Musing about HLS
9:02 rust-hdl Blinky
13:17 Rams
14:44 VGA basics
18:20 Text Rendering
19:53 Outro
...
https://www.youtube.com/watch?v=gA9Rjc1_VsY
This video is just a quick unscripted recap of the first 9 coding sessions. This is meant to make the code for the project more approachable to new-comers and people who might want to contribute. It also should serve as a historical record of where the project is currently.
Github: https://github.com/mwbryant/live_coding_survial_crafting_game
Discord Invite: https://discord.gg/w674Ze7ud7
Patreon: https://www.patreon.com/LogicProjects
...
https://www.youtube.com/watch?v=zAc4EyylfEY