Mike: created ability to do 'table = GameState.load(SAVE_FILE)

This commit is contained in:
2017-07-30 21:03:49 -07:00
parent d75e61bba9
commit b91883b3b8
3 changed files with 9 additions and 5 deletions

View File

@@ -13,3 +13,4 @@ Game crashes if I try to save without running it from the dir code: "love ." But
-- I'd also like to make it so I can do "actors = GameState.load(SAVE_FILE)" instead of having the variable (actors) in the save file
-- Should be doable with love.filesystem.read(SAVE_FILE), just need to stop adding in the "VARIABLE =" at the beginning of my save file
-- Also remove the need to put in a string at all this way.
-- Previous idea didn't work, but have created the ability to do "actors = GameState.load(SAVE_FILE)"