• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code Treating Sprite Images from Tilemaps as Objects



Hey everyone,

I'm about to start working on a project and I have a fairly large tilemap set up. In the game, I would like the user to have their own sort of editor. I envision them being able to open up some menu, select the tile they'd like to draw with, and proceed to create their own level. Basically, I'd like to isolate every 16x16 chunk I have within my tilemap, and have it treated as though it were its own object. Obviously I could go through, cut out every tile in an image editor, import them all as sprites, and then create some objects to represent those sprites, but basically what I'm asking is if I can avoid all that, and just use a tilesheet somehow.

Thank you!