Python Forum
[PyGame] finding local area in dictionary
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] finding local area in dictionary
#2
UPDATE:

I went with the try/except route. Works fine. I've used that local list for drawing and updating too. I discovered a fun fact. Using sprite.Group.update() on a huge group, even if most of the sprites in the group don't even have an update section is resource intensive. Who knew?! lol

Atom crashed when I tried to generate a 1000x1000 map, but 100x1000 worked and now with 100,000 tiles there is still no hint of lag. Pretty happy.
Reply


Messages In This Thread
RE: finding local area in dictionary - by XavierPlatinum - Sep-02-2022, 03:07 AM
RE: finding local area in dictionary - by Windspar - Sep-02-2022, 03:10 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020