How do I Spawn tiles?

0 favourites
  • 3 posts
From the Asset Store
Piano tiles
$9.99 USD
Template for a piano tiles game, fully documented in comments and video
  • So, I'm making an editor for my game and I have my events set up like this.

    However when attempting to create a tile nothing happens.

    I Figured out that the tilemap itself cant be empty and there must be a tile existing to replace the tile with the selected tile.

    But that presents another problem. All tiles have some sort of collision and when testing the level the player will get stuck on those invisible collision tiles.

    So I need help figuring out if I can either

    Spawn a tile at the mouse position

    Or

    Delete all invisible tiles on the start of the layout.

    Any help would be appreciated!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tilemap can be empty. There must be a problem with some of those conditions in your event. Try disabling them one by one. Also, why do you have both Touch and Mouse conditions?

    See this demo, you may find it useful:

    dropbox.com/s/8zap7yuhwdb0pcb/Farming_TileSet.capx

  • Tilemap can be empty. There must be a problem with some of those conditions in your event. Try disabling them one by one. Also, why do you have both Touch and Mouse conditions?

    See this demo, you may find it useful:

    https://www.dropbox.com/s/8zap7yuhwdb0pcb/Farming_TileSet.capx?dl=0

    I'll check out the demo, as for why I have Touch and mouse is cause I was testing to see if it'd work.

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