Jump to content

Search the Community

Showing results for tags 'tilemap replace'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. I have a sprite with arcade physics I also have a tilemap and have set up a collision with a ground tile: map.setCollision(22); In my update loop I have: game.physics.arcade.collide(player, layer); At a point in my game I replace the ground tile with another one: map.replace(22, 131, 16, 9, 2, 1, layer); Tile 22 gets replaced by tile 131, which doesn't have collisions set, however the player still collides with the ground where tile 22 used to be. Is there something I need to do to update the collision locations?
×
×
  • Create New...