B
BenjaminB
Guest
Hello!
I am having some issues figuring out where to go from here... I currently have a room that consists of block objects that represent future rooms.
I am trying to create rooms via code which doesn't appear to be so difficult:
This is perfect! Next is to give this room some tiles:
This looks great: room_tile_add
Uh oh, this is deprecated... Apparently not valid for GMS2.0
And try as I might, I can't find a new alternative means to accomplishing what it is I am trying to accomplish. Which is to be able to create a room through code, add objects and backgrounds/tiles to this room accordingly.
Does anyone know of any new tricks?
Much appreciated!
I am having some issues figuring out where to go from here... I currently have a room that consists of block objects that represent future rooms.
I am trying to create rooms via code which doesn't appear to be so difficult:
Code:
var _newRoom = room_add();
room_set_height(_newRoom, 1152);
room_set_width(_newRoom, 1152);
room_set_persistent(_newRoom, true);
This looks great: room_tile_add
Uh oh, this is deprecated... Apparently not valid for GMS2.0
And try as I might, I can't find a new alternative means to accomplishing what it is I am trying to accomplish. Which is to be able to create a room through code, add objects and backgrounds/tiles to this room accordingly.
Does anyone know of any new tricks?
Much appreciated!