Hello,
I’m new to Defold and have been reading documentation and getting myself familiar with best practices and nomenclature of this framework.
My question is: I’m not sure I see the benefit of having factory components and I’m wondering why does Defold require you to create them ahead of time “at design time” rather than just creating objects at runtime?
In other words, I feel like i’m missing some key understanding of factories. I know what purpose they serve, but is there a way that I can create components at runtime without having to link a factory to a game object ahead of time?
The reason why I ask is that I want to build an engine on top of Defold where people can write code and instantiate game objects into their game without having to do do this step in the editor.
Perhaps Defold isn’t a good fit for my needs unless there is a way to do this without having to create factories in the editor while still being able to create game objects at runtime.
I feel like this is the only thing preventing me from really pulling off what I want to do.
Any guidance is appreciated!
-deckarep