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
  • ... AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : chrisnorman7 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector

Reply via email to