#bevy #2d #gamedev #pixel-perfect #bevy-retro #2d-game

bevy_retro_physics

Physics utilities for Bevy Retro

1 unstable release

0.1.0 Jan 30, 2023

#1905 in Game dev

Custom license

14KB
156 lines

Bevy Retro

lines of code MIT License Apache 2.0 License

( Screenshot of Bounty Bros. game made with Bevy Retro and Skip'n Go )

bounty bros game screenshot

Bevy Retro is an opinionated plugin pack for the Bevy game engine with tools to help you make 2D games!

Bevy Retro is not specific to pixel-art games, but it does include some features that would be particularly useful for pixel games. The ultimate goal is to act as an extension to Bevy that gives you common tools necessary to make a 2D game such as map loading, physics, UI, save-data, etc. Not all of the features we want to add are implemented yet, but we will be expanding the feature set as we developer our own game with it.

License

Bevy Retro is licensed under the [MIT License] OR [APACHE Liscense]

Development Status

Bevy Retro is in early stages of development. The API is not stable and may change dramatically at any time.

Now Bevy Retro mostly includes some existing libraries and provides small utilities on top such as the 9-patch style UI addtions for egui.

Since it’s been so long since our last update we want to get another release out soon, just to get everything working again on top of the latest crates.

After that we plan to re-visit what extra features we might want, such as an easier way to setup the 2D camera, and a save data system, and we will look at polishing our integrations and utilities where appropriate.

See also Supported Bevy Version below.

Features & Examples

Check out our examples list to see how to use each Bevy Retro feature:

  • Supports web and desktop out-of-the-box
  • LDtk map loading and rendering using .
  • An integration with the UI library with extra 9-patch style widgets.
  • Text rendering of bitmap fonts in the BDF format
  • Physics and collision detection powered by Rapier with automatic generation of convex collision shapes from sprite images.
  • Sound playing with .

Supported Bevy Version

bevy bevy_retro
0.9 0.3 + master
0.7 0.1, 0.2
0.6 0.1, 0.2

Dependencies

~56MB
~785K SLoC