bbarker / RustyRogue

0 stars 0 forks source link

Consider switching to the Bevy ECS #17

Open bbarker opened 9 months ago

bbarker commented 9 months ago

Needs more investigation, but supposedly Bevy is nearly panic-free unless you're doing something very wrong.

Also, other parts of Bevy might provide the possibility to use more advanced rendering.

What remains to be seen is whether or not we want to stick with bracket-lib for rendering, given it is also nice to support retro graphics.

bbarker commented 8 months ago

See also:

https://discord.com/channels/691052431525675048/692648638823923732/1166551670969344032 https://discord.com/channels/691052431525675048/1166551670969344032/1166553479473545236

Multiplayer roguelike boilerplate using bracketlib and bevy_replicon. Thanks to <@187812668646621184> for his ascii-factory code. You can find the boilerplate here: https://github.com/solnyszczko/bevy-bracket-replicon

bracket-bevy integrates the bracket-lib game loop as a bevy plugin so you can use bevy's App system to manage all of the bevy functionality, of which bevy-ecs is just part. unfortunately the integration doesn't support terminal output.

bbarker commented 8 months ago

Bevy ECS considerations

bbarker commented 3 months ago

bracket-bevy integrates the bracket-lib game loop as a bevy plugin so you can use bevy's App system to manage all of the bevy functionality, of which bevy-ecs is just part. unfortunately the integration doesn't support terminal output.

It might be interesting to add https://github.com/asciinema/avt as a bevy render plugin; avt is fairly light weight, although the potential downsides may be that it doesn't have a very thought-out public API (at the time of this writing anyway).