Re:Improving the foundation of our falling sand simulator
by DylanSp on Wednesday May 18, 2022 @02:17AM
(#31419760)
If you don't mind spoiling your plans, are you thinking of continuing with the subclass-per-particle type approach, or eventually moving to something like a simple ECS architecture?
[ Parent
| on HN ]
Re:Improving the foundation of our falling sand simulator
by jasonjmcghee on Wednesday May 18, 2022 @10:42PM
(#31430069)
A full ECS architecture? I don't plan on it. But using some sort of trait / component structure could be worth if enough particles with a mixture of different and overlapping behaviors were introduced.