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

0 favourites
  • 4 posts
From the Asset Store
slide the tiles to fill the board.60 awesome levels.
  • 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?

  • 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!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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)