Dec-27-2019, 05:01 PM
I've never used it, but I see this in the docs:
So instead of pytmx.load_pygame, try
But also, the source for pytmx just imports submodules (source), so what you're doing should work. How are you importing the module?
Quote:Load with pygame surfaces:
>>> from pytmx.util_pygame import load_pygame >>> tmxdata = load_pygame("map.tmx")
So instead of pytmx.load_pygame, try
pytmx.util_pygame.load_pygame
.But also, the source for pytmx just imports submodules (source), so what you're doing should work. How are you importing the module?