afonsolage / projekto

Voxel game made with Bevy Engine
MIT License
59 stars 4 forks source link

Rework how VoxWorld interacts with Bevy ECS #53

Closed afonsolage closed 2 years ago

afonsolage commented 2 years ago

Currenctly VoxWorld is wrapped in a resource VoxWorldRes and can be accessed only when no task is being performed on VoxWorld which introduces many frame delays and can be very boilerplate.

A more ECS'ish way of doing it would be to have Kinds, Lights and so on as a resource, so this way many systems can run in parallel.