Closed Shadowblitz16 closed 4 years ago
A utility class is quite different from a component. Besides there already are utility classes for stuff like math. So its unclear what benefits this issue would provide us.
@Barsonax the point is it would be alot easier to make new components
I don't see the benefit of this. Your example is something completely different compared to a component. I think you want a static utility class (which we already use where appropriate).
Closing this.
Summary
ok so I had an idea on how to make components a bit better. basically there would be a Util class for math, drawing, sound, physics, etc this class would be then used to implement logic into components without having to actully use components.
here is a example of what I can think of (note I am shorting the names for convenience )..
It would also be nice to have PixMaps, Textures and RenderTextures be combined into just Textures. this allows for easy pixel manipulation
Analysis
This would then allow us to get rid of the default components and package them as plugins
Pros
Cons