Re: Create a game map?
Hello,
You don't iterate through tiles, you iterate through polygons. That way you can create a world that is endless and if you only have 1 object, then you're only looping through that one object.
Look at:
https://github.com/frastlin/PyAudioGame … ui/grid.py
The Grid class is self-contained and is what you are looking for. It's extremely fast and can hold thousands of objects.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector