Jump to content

Schuh

Members
  • Content Count

    2
  • Joined

  • Last visited

About Schuh

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  • Location
    W├╝rzburg
  • Interests
    Web- and game- and graphicdesign

Contact Methods

  • Twitter
    schuuh
  • Skype
    its-schuh
  1. Thanks! Setting the body.static to true solved my problem. I'll need the physics later because I what to reset the shapes and use polygons for a pixel perfect collision.
  2. hey everyone! I'm new to phaser and I'm running into a little problem using the P2 physics engine: I have objects moving from top to bottom and the player at the very bottom (imagine a little shmup here). I want all of the objects to stop moving the moment the player touches either object. I've set up collisionGroups for the objects and the player and I've set a onBeginContact listener on the player's body. Problem is: everything stops just fine but the player and the object hit both keep moving slowly away from one another. I assume it's because the actual collision is being executed af
×
×
  • Create New...