How do I Destroy Tile From TileMap At My Touch Position?

0 favourites
  • 4 posts
From the Asset Store
40 Seamless textures for tile backgrounds. High resolution 1024x1024!
  • Hi everyone,

    Im messing around with the tilemap feature and i cant seem to figure out how to destroy a tile at my Touch.X,Touch.Y

    Is there a different way of doing this with TileMap?

  • I had a play about a while ago. Is this something like what you're after?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • zenox98

    Epic, Thats exactly what i was looking to do. It seems like the Mouse.X/32 Mouse.Y/32 is what had me alittle lost.

    I didnt know we needed to write the expression this way to get the result that you pulled off.

    Very Cool,thanks for the example and the knowledge!

  • Hi everyone,

    Im messing around with the tilemap feature and i cant seem to figure out how to destroy a tile at my Touch.X,Touch.Y

    Is there a different way of doing this with TileMap?

    make a Xtouch and Ytouch variable! and make it on updating when you are touching it! (when in touch set xtouch to touchx set ytouch to touchy ) trigger event when touching tilemap destroy tile at xtouch ytouch the simplest way to do it!

    so basically you do a secondary touch x touch y to the original 1 somehow aint working with direct input of touch x touch y !

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)