• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker [SOLVED] A question regarding tile placement in a room

Mr Errorz

Member
First time trying to use tiles in GM2.
I have this tile set, the tiles' size is at 273x273 [pretty large tiles, I know],
when I create and select a tile layer in the room editor,
it auto creates a grid equal to the size of my tiles, cool.
Thing is, I don't want to place them tiles starting at 0,0, also, don't want to start at 0,273.
Is there a way to place tiles outside the grid, or alternatively, a way to move or offset the grid so it won't start at 0,0?
 

samspade

Member
First time trying to use tiles in GM2.
I have this tile set, the tiles' size is at 273x273 [pretty large tiles, I know],
when I create and select a tile layer in the room editor,
it auto creates a grid equal to the size of my tiles, cool.
Thing is, I don't want to place them tiles starting at 0,0, also, don't want to start at 0,273.
Is there a way to place tiles outside the grid, or alternatively, a way to move or offset the grid so it won't start at 0,0?
The IDE has an x and y offset - see this for more detail: https://docs2.yoyogames.com/source/_build/2_interface/1_editors/rooms.html#room_layers.

The functions tilemap_x and tilemap_y appear to be the code version of the same though I've never used them.
 
Top