python - How to use Panda3d and Pygame together -
i new game development , trying develop game panda3d. can directly use pygame modules along panda3d ones?
yes. both panda3d , pygame python modules can used in (compatible) python installation. there (at least awareness) nothing either library prevents importing other python modules.
depending on you're trying do, though, answer may more tricky. instance, presumably both pygame , panda3d have own main game loops, , using them require making 1 game loop run part of other library's game loop.
sharing resources or graphics contexts tricky, both libraries manage own graphics state. lot more tricky (but not impossible) if question included, example, drawing pygame elements panda3d window or vice versa.
Comments
Post a Comment