An immediate mode 2D drawing API for Bevy game engine
MIT License
⚠️ NOTE. This crate is now deprecated. Use another plugin, like
bevy_prototype_lyon
instead.
An unofficial immediate mode 2D drawing API for Bevy game engine.
Check the documentation or the examples to know how to use this API.
Developing a proof of concept to help Bevy contributors and give them a reference project to develop a full-featured official Canvas API for Bevy. Another goal is to provide the community a Bevy plugin to draw shapes, which will feed back into the primary goal.
Currently (May 2021) I'm not in the mood of adding new features to the library since I want to focus on other areas of Bevy. However, issues and pull requests are welcome. Here are some guidelines:
bevy_prototype_lyon
?Probably not. While the goal is similar, there are some important differences:
bevy_canvas
, shapes must be drawn every frame because there is no entity that stores the info about the shape. You just issue drawing commands. In bevy_prototype_lyon
instead, you spawn an entity that emits draw commands by its own.bevy_prototype_lyon
, at least for now.Feel free to open an issue and/or a PR to fix.
bevy | bevy_canvas |
---|---|
0.5 | 0.1 |