transform component ? (Or alternative to using one)
Posted: Tue Sep 29, 2015 11:13 am
Hello there.
My game involves entities which moves, rotate, often with different rotation centres, and has to carry around several sub-entities that also has to carry sub-entities.
On big frameworks (unreal engine, Unity, etc...) the solution is easy, there is always a kind of scene graph and rotating the root component makes everything dependant move accordingly like magic.
From my research, there doesn't seems to be any transform component/class ready to use for love2d in the libraries.
The only ones I found on the forums are here and there, and neither looks like they are widely used, or usable for the masses ?
1st question : did I miss it ?
2nd question : If I don't use one, is there some alternatives ? (Or what are you using instead of a transform component ?)
My game involves entities which moves, rotate, often with different rotation centres, and has to carry around several sub-entities that also has to carry sub-entities.
On big frameworks (unreal engine, Unity, etc...) the solution is easy, there is always a kind of scene graph and rotating the root component makes everything dependant move accordingly like magic.
From my research, there doesn't seems to be any transform component/class ready to use for love2d in the libraries.
The only ones I found on the forums are here and there, and neither looks like they are widely used, or usable for the masses ?
1st question : did I miss it ?
2nd question : If I don't use one, is there some alternatives ? (Or what are you using instead of a transform component ?)