• Hey! Guest! The 37th GMC Jam will take place between May 28th, 12:00 UTC and June 1st, 12:00 UTC. Why not join in! Click here to find out more!

GMS 2 [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