Save game

I’m looking to make a way of saving game data such as player position and enemy position however i have no idea how i would do this any suggestions??

You can choose one of these methods:

  1. Use sys.save and sys.load methods to work with tables. Example.

  2. Use the defsave extension to support more platforms.

  3. Do this by working directly with the files. Look at Working with files.

3 Likes