3 ms·
Great article, loved your style of writing! I'm not sure how they usually do things in the ECS space, but I think the natural thing to do for the spell megafunc
by Permik 3y ago
Great article, loved your style of writing!
I'm not sure how they usually do things in the ECS space, but I think the natural thing to do for the spell megafunction is to split it up into smaller systems. The original system just slaps a spell component onto the entity that affects it and after that there are the spell systems that check for the tagged entities. Now the queries in the megafunction are greatly simplified. Also the spell queries are now more tightly defined
- Roseique 3y agoI am thinking of implementing your suggestion in the form of Events directing and activating smaller systems! If I stick with Bevy, that is.