Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Save and Load Game

Community Beginner ,
Dec 07, 2022 Dec 07, 2022

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?

 

TOPICS
ActionScript
741
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2022 Dec 07, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2022 Dec 08, 2022
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines