On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

reload code on changes doesn't work for me

A topic by GuaiWuLieRenGe created Oct 08, 2023 Views: 110 Replies: 2
Viewing posts 1 to 3

Create Event:

live_init("ui.lua");

Step Event:

live_update();

Draw GUI Event:

live_call("draw");

Hi, I got this asset at YOYO store a long time ago, but it seems like you are more active around here, so I asked the question here.

I need to restart the game to see what I changed in ui.lua file. I don't know where I went wrong.

Developer

When running from GameMaker, you will need to copy your file to the save directory (in appdata) and edit it there, but you might be able to do it in the current GM versions by disabling file system sandbox in Game Options and then figuring out the full path to your .lua file from GM_project_filename.

(+1)

it works right now. thanks.