Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

[Solved] Starting out problems

A topic by Redspark created May 24, 2019 Views: 532 Replies: 2
Viewing posts 1 to 3
(1 edit)

Hi,

I just purchased GM Live and I'm not doing so well.  I'm using Windows for now.  Would like to get it working on my Mac but for now just trying to make sure I'm using it correctly on a platform I don't have to fiddle with.  

I have a room with the GMLive Object and a controller object that creates other objects in the same room, initially within the create event of the controller.  So I put the live_call() at the top of the Create Event of the controller object.  I figured that wouldn't work well since that event would only be called once in the game.  So I added a keyboard event that would restart the game with game_restart(), hoping that would trigger the create event again and load the changes.

I made changes to the code in the Create Event (just changed a color setting), saved and nothing happened.  Is there something special that needs to be done for supporting Created Event code? Or do I need to add more live_calls within the created game objects?  Or something else?  Thanks.

James

Developer

You want room_restart, not game_restart - game_restart would also reset GMLive's variables, so it'd have to fetch stuff from server again, but the game would already run the create event before it's done.

That worked!  Thanks!