Skip to main content
Participating Frequently
December 8, 2022
Question

Save and Load Game

  • December 8, 2022
  • 2 replies
  • 870 views

Hello, I was wondering how to save and load game progress, like check points or something so everything you had when you lasted saved is till there when you log back on. How could you do this?

 

This topic has been closed for replies.

2 replies

JoãoCésar17023019
Community Expert
Community Expert
December 8, 2022

Hi.

 

For local/offline storage:

- You can use the save and load methods from the File class (AIR) or SharedObject (AIR and Flash Player).

 

For remote/online storage:
- Firebase (AIR and Flash Player).

 

Regards,

JC

kglad
Community Expert
Community Expert
December 8, 2022

you have to have to save the game progress in some kind of data file (eg, xml) or data base (eg, mysql) on your server.  ie, this is not suitable for a novice.

 

otoh, it doesn't require advanced programming skiils, either. for basic data storage and retrieval, an xml file would work.