A
AF_2004
Guest
So I've encountered a pretty major problem, which is really stopping me from being able to work on my game further. I've seen other people post about this issue as well back when the 2.3 update came out, but I haven't come across a solution that works for me. Basically, whenever I add a new room now, it seems like I am unable to change its room order. Even when I do it through the room manager, it doesn't seem to make a difference. Now my problem isn't going from room to room, because I use room_goto(), however it does mess up one of the things I do at the beginning of the game. Basically, I have a display manager object which cycles through all the rooms at the beginning of the game and changes the view of all the rooms until it reaches the final room. The problem is that for some reason, the new room I have added is not being affected. Maybe I'm misunderstanding the problem and that this isn't really an issue with the room order, but that is all I can think of that could be causing this. Is there any way to fix this issue? Here is the code that I use(btw I got this code from pixelated pope's video about aspect ratios I think):
GML:
for (var i = 1; i <= room_last; i++;) {
if room_exists(i) {
room_set_view(i, 0, true, 0, 0, ideal_width, ideal_height, 0, 0, ideal_width, ideal_height, 0, 0, 0, 0, -1);
room_set_view_enabled(i, true);
}
}