gesichtsfelsen

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. I got it, I changed the map to a tilemap (which is better anyways, just use the old tiled version: https://github.com/bjorn/tiled/releases/tag/v0.18.2) And instant of body.touching.down, I use body.blocked.down now.
  2. Hi, i'm currently woriking on a litle Phaser side scroller. My problem is, my player can jump on items such as stars, and other things. I tried it with arcade.overlap like this: if (cursors.up.isDown && player1.body.touching.down && !game.physics.arcade.overlap(player1, stars)) { player1.body.velocity.y = -700; } But it didn't work for some reason... I didn't get any errors, but I can still jump on the stars. Does somebody have a solution for this?