Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Hello, I've been following platformer tutorial so far, and wanted to implement similar stomping behavior to the one on the main page. Once the mainPlayer stomps something, I want the second object to flash for a while and then get removed. I'm using boilerplate 2.3.0 atm and tried to fiddle with me.Timer; onCollision: function (response, other) { if (response.b.body.collisionType !== me.collision.types.WORLD_SHAPE) { // res.y >0 means touched by something on the bottom // which mean at top position for this one if (th
  • Create New...