Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [PyGame] Creating "saves" for the game
Hi, I'm a beginner on pygame, and I was wondering if I can create "saves" for my game, I mean, if I close the game, I can return in the same point when I open it again. Is this possible?
The most simplified version of save is using a text file to store data. You can go all the way up to using MySQL, and anywhere between. A readable and editable save in a text editor could be JSON. I often use this as this is a natural python dictionary, which is perfect for storing data.
I'd try pickle files.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Creating Snake game in Turtle Shadower 1 4,704 Feb-11-2019, 07:00 PM
Last Post: woooee

Forum Jump:

Users browsing this thread: 1 Guest(s)