Re: Large map arrays in Python?

No. They are under 1 MB in size. My issue comes in when creating the sonar. Basically I have to loop through them each time my sonar moves a single step.  If my sonar scans in six directions for 10 steps, you can see why that would be a problem, even with 50 of those tiles.  That would mean that the program performs 3000 condition checks, 50 per step * 10 * six.  Those 3000 checks can be noticed Buy your average user because the game lags as they are being performed , which is a problem
Can you explain a little more about the list of coordinates you posted? I am not sure I am grasping correctly what shape you are trying to represent.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/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 : magurp244 via 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 : frastlin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via 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 : amerikranian via Audiogames-reflector

Reply via email to