indextwo

Members
  • Content count

    1
  • Joined

  • Last visited

  1. How to create a cloud platform with Tiled Map Editor

    I realise this is a super-late response, and it doesn't answer the question directly as it related to tilemaps with Tiled (I have very limited experience with that); however, this thread is the 2nd result on Google for 'phaser cloud platform', and I understood 'cloud platform' in exactly the same way as you, @jansensan - a platform that you could jump up through, and then land on (rather than an actual cloud that was moving). So, again: not an answer with Tiled, but there is already a Phaser example of almost exactly this method: https://phaser.io/examples/v2/arcade-physics/one-way-collision The trick is to set the `platform.body.checkCollision.down` property to `false`. Assuming you're doing this by adding platforms into a `group()`, you can do this with `setAll`: this.platforms = this.add.group(); this.platforms.enableBody = true; // Add the platforms this.platforms.setAll('body.checkCollision.down', false);