Last active
March 31, 2022 19:10
-
-
Save EngineerSmith/7fd575dfdd4420d46fa2281a1dc94538 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appleCake.beginSession() -- Default "profile.json" in the save direcotry | |
appleCake.beginSession("profile.json") | |
appleCake.beginSession("/profiles/profile.json") | |
appleCake.beginSession(nil, "Best Project") | |
appleCake.beginSession("profile.json", "Game4000") | |
if love.filesystem.isFused() then | |
local dir = love.filesystem.getSourceBaseDirectory() | |
love.filesystem.mount(dir, "gameSource") | |
appleCake.beginSession("gameSource/profile.json") -- write profile.json next to fused source | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment