Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

GMLive.gml

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

Setting up a live room

A topic by tegid created 43 days ago Views: 89 Replies: 1
Viewing posts 1 to 2
(1 edit)

Good day,
first of all, thank you very much for your work. It is so much appreciated.
I am quite the beginner with programming and as such, I still have trouble understanding your in depth documentation.

I got the basic understanding of live coding for sprites and objects, but I don't seem to understand the room settings.
I followed your room settings very thoroughly, but it does not work sadly.

Could you please be so kind and give us beginners an example on how to set up the rooms? I am unsure if I put everything in its right event (e.g. is room_set_live in the create event of obj_gmlive correct? 

Thank you very much. Once this works, getting into coding will be much easier.

Developer

For simple setup,

  • Make a room as per documentation
  • Assign live_blank_room / live_blank_object in obj_gmlive's Create
  • Assign live_room_updated there as well, use the example script (which does room_goto_live)
  • Do room_set_live for room(s) of interest there too
  • At this point, when running the game with server connected, modifying and saving room will cause the game to transit to it's updated version