Skip to content

onelikeandidie/meetballs-sessions-bevy-dungeon-crawler

Repository files navigation

A Meetballs Session on Bevy

This session was made for Bevy 0.14.2

The goal is to create a simple retro turn-based 2d dungeon crawler with a procedural generated dungeon using some kenney.nl assets.

This session is split into 2 sessions, Bevy is a game engine that requires a lot of time to learn and the basics of bevy will take up 1 session on its own. Also because I could not prepare everything in a digestible way.

The projects included are in the following order:

  • Basic Project
    • Introduction to bevy, how to create your own components and systems to create a simple program
  • Refactored Project
    • How to refactor your game into a plugin and how to handle input
  • Asset Loading
    • How to load sprites and fonts, spawn sprites in your world, creating a camera, creating UI and handling pausing and unpausing the game

Getting started

Follow the basic setup steps on the Bevy getting started page. The most important part of this is to enable the dynamic_linking feature of bevy, this is literally a 5000000% decrease in subsequent builds. I cannot stress this enough, this is crucial to not spend 2 hours debugging your game.

I recommend following the rest of the bevy tutorial to create your first Bevy App.

Here are some resources to help:

  • Bevy Examples
    • This is your go-to for examples, you shouldn't need to look anywhere else for examples unless you're using third-party plugins
  • Unofficial Cookbook
    • Not always updated to the most recent version of bevy, specially in the more advanced topics, but will get you there most of the time.
  • The following image
    • A right hand with their index, middle and thumb fingers highlighted to show the directions of the coordinate system. The index finger is the Y coordinate, the middle finger is the z coordinate and the thumb is the x coordinate. It also shows a table comparing to the various game engines and modeling softwares

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors