Question - IDE How does the gamemaker engine handle loading rooms?

Discussion in 'GameMaker Studio 2 Community Tech Support' started by UberMun, Sep 6, 2018.

  1. UberMun

    UberMun Member

    Sep 6, 2018
    If I have a very large project with a lot of rooms, will that effect the RAM usage? How many rooms does gamemaker load at one time? Does it load all of them at the start of the game or does it load them in sets?

    This would be really great info to know, currently I'm debating wether or not to migrate my current game's rooms out into external "included files" to be loaded at runtime when needed.

    Would this be beneficial or is gamemaker capable of handling these things on its own? I may do it anyway, but I'd like to know how the engine handles things.

    Thanks in advance.
  2. sylvain_l

    sylvain_l Member

    Sep 18, 2016
    I would have said it only load the active room;
    but your question raised a doubt, because I'm not sure how the persistent objects&co are handled if there are in all the rooms.
  3. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Apr 13, 2016
    It'll load them one at a time, and then only store finished room data if the room has been flagged as persistent when it is exited, otherwise room data is discarded and recreated next time it's entered.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice