1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

Question - Code Overlapping Rooms

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Coffeepugs, Sep 14, 2018.

  1. Coffeepugs

    Coffeepugs Guest

    So im pretty new to this, but last time i did the exact same thing and this didnt happen. Basically i have 2 rooms. Both have a warp but only one is currently woriking, which goes from room0 to room1. Instead of swapping rooms, room1 appears in the bottom left corner of the screen and room0 stays visible behind it. How can i fix this? I have no clue
     
  2. csanyk

    csanyk Member

    Joined:
    Jun 20, 2016
    Posts:
    821
    Without seeing the code, it's really hard to understand what you're saying. It doesn't sound like you're using rooms the way GMS intends, though. The engine is limited to running one and only one room at a time.
     
  3. chirpy

    chirpy Member

    Joined:
    Oct 6, 2016
    Posts:
    170
    It sounds like OP has some persistent objects in the rooms. If it's somewhat intended, you can set the visible flag to false before swapping rooms (before room_goto) to hide the room objects. If it's not intended, then you might need to uncheck the persistent flag on the objects.
     

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