1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice
  2. NOTICE: We will be applying a Xenforo update on Tuesday 25th of February. This means that from approximately 10:00 to 14:00 BST the forums will be offline (or possibly longer). Sorry for the inconvenience! Official Announcement here.

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:
    192
    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