GameMaker: Studio

GameMaker: Studio

Vis statistikker:
LambdaPyro 5. maj 2016 kl. 3:18
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?
< >
Viser 1-3 af 3 kommentarer
TheouAegis 6. maj 2016 kl. 13:52 
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 6. maj 2016 kl. 14:38 
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 7. maj 2016 kl. 23:07 
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).

< >
Viser 1-3 af 3 kommentarer
Per side: 1530 50

Dato opslået: 5. maj 2016 kl. 3:18
Indlæg: 3