• 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 Create Object on a (matching) tile

M

MuddyMuddy

Guest
Hi - I am trying to create an object where a tile/tileset has been placed.

I have a background layer, which I am building with tilesets, which will not change or be interacted with. But I need an identical layer above it made up of objects.

Simplified, something like: If tileset at (x,y) = grass_tileset{instance_create_layer(x,y,"objects",o_grass);} etc....

I have tried various tileset_get... functions, but cannot get it to work.

Any ideas? Many thanks.
 
Top