How to do this using C++ & Python (Best Way)

Started by
1 comment, last by HexDump 20 years, 6 months ago
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.
Advertisement
Don''t cross-post.
Ok I thought it was legal :/. Only wanted to get more answers to my prob. Sorry...


HexDump.

This topic is closed to new replies.

Advertisement