Python Forum
[PyGame] Handle giant 2D map
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Handle giant 2D map
#4
It was just an example. The right hand size doesn't really matter. I don't understand what you mean about Array, and you hadn't mentioned x previously.

Making a class doesn't mean you'd need to hard code the the file. The method call on the class can reference the file as-needed. It's "heavy" in the sense that it's not as fast as keeping the entire thing in RAM, but your original problem here seems to be that that's not an option. Unless you need to read a ton, it should be fine, reading from disk is a normal activity.

What are you trying to communicate with the screenshot?
Reply


Messages In This Thread
Handle giant 2D map - by MrMahus - May-23-2018, 07:32 AM
RE: Handle giant 2D map - by micseydel - May-23-2018, 04:35 PM
RE: Handle giant 2D map - by MrMahus - May-23-2018, 05:10 PM
RE: Handle giant 2D map - by micseydel - May-23-2018, 08:19 PM

Forum Jump:

User Panel Messages

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