It all works, except for one thing: room resizing. I know why: Game Maker's manual warns you against manipulating the currently active room. And it doesn't work.
Is there any way to resize the active room? Because if I leave the room, all of the rest of the data disappears. And I can't make it persistant because that has the same effect as the room being active.
My code is basically:
room_set_width(room,file_text_read_real(myfile)); file_text_readln(myfile); room_set_height(room,file_text_read_real(myfile));
The obvious answer is to use room_add(); and just make a new room, but that defeats the purpose of having externally stored levels in the first place.
So: is there any way around the limitations on the active room, and if there isn't, how could I load the room data in beforehand?
Edited by mcoot, 04 July 2010 - 09:18 PM.