GMS 2 Room Transition Effects

Binsk

Member
If you want smooth room transition effects in your game, look no further. This extension provides you with all you need to get going quickly as well as for designing your own transitions with ease!

Purchase

You can purchase the extension at any one of the following sites:

GameMaker Marketplace [$1.99]
Upset Baby Games [$0.99 crypto only]
Itch.IO Store [$1.00]

Initial Setup

There is none! Simply call room_goto_transition to switch rooms while using a transition effect. The function takes an enum value from ROOM_TRANSITION to specify which transition you would like to use, the length of transition in seconds, and whether or not the room you are entering should freeze for the length of the transition or not.

Features

This extension is made to be as simple to use as possible but feature rich as well. Here are some highlights:
  • Over 30 transitions included out of the box
  • Instance freezing can make the game wait for the transition. Handles deactivated instances and physics objects perfectly fine.
  • Adding your own transitions is a piece of cake. Your transition code is automatically provided with a snapshot of each room, a surface to render to, and the percentage through the transition.
  • System handles difficult situations with ease. If you change screen sizes between rooms or even don't use the application surface, the system can still function just fine.
  • No setup required! Just pop in the extension and call the room_goto_transition function out-of-the-box!
  • Transitions are handled in realtime not game time. Lag, or changing FPS mid-way through your project doesn't alter the transitions at all.
Platform Support / Resources

This system is programmed in native GML with all systems in mind. It has not been tested on mobile or browser exports at this time, however.

Development

Is there something here you need or want? Came a cross a bug? Let me know! I actively maintain all my extensions for the lifetime of the product they are targeted for.

Video

Take a look at the built-in transition effects. Also, I was obviously bored when making this video.

 
Last edited:

Binsk

Member
Just a small bump to say that it is now listed on GameMaker's store as well. It seems they fixed whatever issue was going on.
 

Binsk

Member
Small update today addresses a bug that rendered semi-transparent objects oddly during the transition.
 
Top