How to do this using C++ & Python (Best Way)
Hello guys,
I´m looking for a system where I could load different entitiy types dinamicalyand them instanciate them by demand.
For example, I could have my maps and my enemy references put in there, an my engine could load it and instruct python to load the enemies classes and then instanciate the type I need using the info in the map. I''d like to know the best way to accomplish this using c++ and python because I can´t make it out. For example, where should be the object manager placed? in C++ side or python side. Where should be created the objects in the c++ or python side? what should be estored in the object manager py_objects, Object IDs... Well all this kind of this if what I need to know.
thanks in advance,
HexDump.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement