If you create a map editor in Windows, you can embed your Gideros game (export a win32 version and zip it), extract it to temp then add a level file to the assets folder. Then run the win32.exe program from within your program (set the working dir to the place you extracted the zip to).
In your game: If this file is present then play the game and auto start that level (edit mode?).
Make sure the file is a .txt so it will not be encrypted.
eg:
local file=io.open("edit.txt","r")
if file then
local editdata=file:read()
if editdata then
level[1]=json.decode(editdata)
EditMode=true
end
file:close()
end |
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
https://deluxepixel.com