GameMaker: Studio

GameMaker: Studio

View Stats:
LambdaPyro May 5, 2016 @ 3:18am
Strange Glitch that keeps occuring in only one room
When I change rooms from room9 to room0 using room_goto(), room0 seems to automatically turn off the interlopate setting and it doesn't stop the music I had playing in room9.

In room0, I have an object that should turn off the music that plays from room0 but it doesn't work. I keep checking the objects from room9 and nothing seems to be wrong.

Is it possibly because the rooms are different sizes?
< >
Showing 1-3 of 3 comments
TheouAegis May 6, 2016 @ 1:52pm 
Is there another object that deactivates objects outside the view? What event is the code that stops the music? Does the code actually stop the music the rest of the time? Have you debugged that the object that should disable the music is actually active in the room when it should be stopping the music?

"In room0, I have an object that should turn off the music that plays from room0"
Assuming that's a typo and would think it wouldn't much matter anyway.
LambdaPyro May 6, 2016 @ 2:38pm 
1. I have made the player unable to leave the room if that counts
x=clamp(x, 0, room_width);
y=clamp(y, 0, room_height);
Only other thing I could think of relating to this is my light code but that only seems to affect the interior of the room.

2. It's a create event that tells the audio to shutup.

3. It has worked for other rooms besides this one

4. Yeah that was either a typo or I was talking about the music that continued to play through the rooms wouldn't stop playing
TheouAegis May 7, 2016 @ 11:07pm 
When the issue occurs, have you been to room0 previously or does the error occur the very first time you go to room0? (considering if the object that stops the music is persistent, in which case the Create Event will not work twice).

Does going from any other room to room0 have the same issue? (not sure if it'd be possible but maybe the audio from room9 is different than the other audios).

< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: May 5, 2016 @ 3:18am
Posts: 3