Room switch - Seamless rooms


Contact Publisher | Support


Sales: 30

Short desc:

  • Sometimes you want a giant world or room. But you would like to split it up into small pieces and travel between them without notice the room change. Also works in GMS2 if you create it in GM1.4 and import it to GMS2.


  • Check the video to get a step by step.


  • You can find a exCamera.gmez in the included files folder that you need to add as an extension.
  • You only need to import the obj_ex_camera

This extension:

  • This code module let you travel from one room to the next without notice the room change (GM will cause a little load next room delay):
  • The view is always in center (well you can offset it) of the player except on the edges of your big room where the view is limited like an ordinary room.
  • You can add special objects on the edges that show in all rooms, to hide edges.
  • If you want to have dynamic stuff near the edges you can set it to zoom in when travel from room to room, this will hide the other room a little.
  • Add special move coordinates that is recalculated for you.
  • All in GML

Getting started video:


Code example:

  • You only need to create a 2d array of the rooms you want and call a script.

Player object - Create event:


Edge objects:

  • Just set it to persistent and set the parent to "obj_room_switch_on_edge_parent". Add the object in the player object room.

Moveable edge objects:

  • If you use a move to click position object you only need to add x,y array variables. Call init script and add a script before you move.

Create event:


Step event:

// Ex Move script
if x>ClickedX[0] x-=5;
if x<ClickedX[0] x+=5;


You can also teleport to another room with just one script:

scr_room_switch_TELEPORT(room, x, y)

More info

End User Licence Agreement (EULA).

Changes in 2.3.6

2.3.6 Fixed bug in deactivater. 2.3.5 Got permission from @alexandervrs to Include old exCamera.gmez 1.0.4 in included files folder. He's awesome :-) 2.3.4 Added multiplayer offset calc: When you try use room switch for multiplayer you...

Version 2.3.6. Published August 22, 2017

Created with GameMaker: Studio v1.4.1567

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Anonymous 07 February 2019


jeremy b 29 June 2017

broken atm

hi the latest ex camera update breaks room switch please fix this

This review was left for a previous version of this asset.


The-any-Key (Publisher) 16 January 2018

You can now find the old exCamera in the included files folder (Got permission from @alexandervrs). Simply add the exCamera.gmez as an extension to make it work. The new version of exCamera is changed in a way that makes it impossible to adapt to room switch.

Getting started guide: https://www.youtube.com/watch?v=qXWCPZm5bNQ&feature=youtu.be

Old message:
Sorry. Will check that asap.


Vikram P 07 January 2017

Great Asset - Great support

Worth it. The asset was complex for a beginner like myself but the support really helped out alot.

Great work!

This review was left for a previous version of this asset.


Ioannis D 10 March 2016

Awesome, easy to use, well documented!

This review was left for a previous version of this asset.


The-any-Key (Publisher) 29 March 2016

Thanks. Send me a message if you want more features or another asset.

Package contents

Loading, please wait

What is the issue?

Back to Top