D
DongKnobber
Guest
I can't find any functions in the documentation where it allows you to get a specific tile within a tileset and add it to a tilemap. Suppose you have a tileset that is 128x128 and each tile is 64x64, so 3 tiles in total (since you cant use the 0,0 tile). How exactly would you add a specific tile from that tileset onto a tilemap; suppose I wanted the 0,1 tile from the tileset to be placed at the 5,5 cell position on the tilemap so that it appears in the room on the correct layer.
So in a room with only an instance layer and a background, where the controller object contains the following code:
not sure where to go from here
So in a room with only an instance layer and a background, where the controller object contains the following code:
Code:
layer_id = layer_create(-999); //create a new layer in the room at a depth
tilemap_id = layer_tilemap_create(layer_id,0,0,tileset,10,10); //then add a tilemap to that layer
Last edited by a moderator: