![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | MadDevil57 |
Right now i am just using individual script for every enemy and player characters, they share one class that do movement and ability stuff, but in that script they have same variable and i assuming that it isn’t the right way of storing data. So i want to knew if i am doing everything right or i should change implemintation and why?
these are the ways you can store data in godot (that im aware of):
- individually in the thing itself
- autoloads / singletons
- metadata
you could probably look into each one and see which one fits your needs
OgGhostJelly | 2023-03-09 15:21
Thanks, i will try to read about it later! Also could you reupload your comment to answers section so i can select it as an answer?
MadDevil57 | 2023-03-09 15:40