Hi all!
Is it possible to make a portable game, like C:/games/myGame/ with C:/games/myGame/saves/ so all saved data are in the folder near of fused .exe file?
How to make Portable Version?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: How to make Portable Version?
In the case of a fused game, you can use love.filesystem.getSourceBaseDirectory. Get the path, mount it, and access a subfolder or zip file you've probably called "saves".
I believe the next major release of Love will let you mount the whole filesystem, so you could mount that path for non-fused games too, I think.
I believe the next major release of Love will let you mount the whole filesystem, so you could mount that path for non-fused games too, I think.
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Re: How to make Portable Version?
I've been doing this for years using nativefs library. You looking for a way that doesn't work around Love?
Current project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life. Simple to learn, hard to master. Learn when to advance, dodge, strike and counter. Learn how to strike without being struck.
https://discord.gg/HeHgwE5nsZ
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life. Simple to learn, hard to master. Learn when to advance, dodge, strike and counter. Learn how to strike without being struck.
https://discord.gg/HeHgwE5nsZ
Who is online
Users browsing this forum: Ahrefs [Bot], pericles and 10 guests