OUR OFFICIAL WEBSITE: https://dsgamemaker.online - ONLINE


WARNING! YOU WILL BE BANNED WITHOUT WARNING PERMENANTLY FOR SPAMMING THE FORUM WITH NON-DSGM RELATED TOPICS & POSTS! - FULLY ENFORCED!!!

NOTICE: ALL members that have NOT logged in once since their activation within 5 days have been and will be deleted!!! LAST UPDATED: 5-1-2022

NOTICE: I will NOT be sending anymore emails confirming your account being activated.. Try to log in and see if your account was activated yet..

ALL accounts MUST be Admin activated due to the server we are on! - More info in the announcements section

Please read announcements section of the forum upon logging in to stay up to date

Side note: Just a reminder, 4.9 and 5.12 are 2 totally different programs. You cannot use 1 app to load projects from the other.

AUTO SWITCH ROOMS WITH FADE

Tutorials SPECIFICALLY for 4.9
Post Reply
User avatar
Ruffsta
Site Admin
Site Admin
Posts: 170
Joined: Fri May 22, 2020 6:21 am

AUTO SWITCH ROOMS WITH FADE

Post by Ruffsta »

Usually used for automatic room switching from intro screen to game screen, etc..

Room_1

Code: Select all

--- Timer to automatically fade out and switch to the next room
Declare Room Global a;Whole Number;0
Set Variable a;a + 1
If a == 120
Fade Out
Switch Room Room_2
End If

Room_2

Code: Select all

--- Fade into room
Do Just Once
Fade In
End Do Just Once
OR - simply just set Room_2 to fade in and not use the above Room_2 code
DS Games:
BananaCraze / MasterMind / Rock,Paper, Scissors

*strictly a 4.9 user
Post Reply