S
Stoneskull
Guest
Hello! I am trying to make an isometric game in GM 1.4.1804 and I need an object to follow the cursor but have it snap to my isometric grid. So far I have my room's grid snap set to 64px by 32px so I can place objects relatively easily but don't have any code built into the objects themselves. My diamond shaped tiles are 64px wide and 32px tall, so I started off by using move_snap(64,32) but that obviously will cause the object to snap between the tiles on their vertices.
I have also tried implementing an offset by figuring out what column the tile is in and adjust the height by 32px downward but this just causes more issues. I've been scratching my head for hours now and I'd really appreciate any help I can get! Thank you all in advance!
I have also tried implementing an offset by figuring out what column the tile is in and adjust the height by 32px downward but this just causes more issues. I've been scratching my head for hours now and I'd really appreciate any help I can get! Thank you all in advance!