Jump to content


  • Content Count

  • Joined

  • Last visited

About paulo

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It's a project for my university course. I need it in Phaser.
  2. Hi, I'm creating a game that player can walk over terrains with lots of slopes. How can I make my player rotate accordingly to the angle of the slope? This is how it's currently working: And this is how is must work (I've changed the angle manually): I'm using Box2D plugin to generate the terrain accordingly to an image. That's the reason of all these bodies. Thanks!!
  3. @samid737 This way looks really better. I'll try to improve it too. Thank you very much for your help!!
  4. @samid737 We'r almost there. Now the only problem is that the collision stops working if you "cut" the objects in 2+ pieces:
  5. @samid737 Soooo much better than the others, but it crashes when destroying the last part of a shape. Try destroying the bear for example. Edit: It looks that this problem is happening even with the first examples you posted here.
  6. @samid737 it's really optimized! so faster. But there is a problem. When making some holes, some parts of the images get distorced/moved a bit. Look: Normal: With three holes: This is a real problem in the game I want to create. Do you know how to fix it?
  7. Wow! That's EXACTLY what I need. Thank you very much Samid.
  8. Good ideas. Imma try to do this and if I had some problem I'll back here again. Thank you!!
  9. Hello, I'm trying to implement the code from this tutorial in a game I'm making. Actually I can make the holes on the texture using bitmapData. This is how I'm doing: this.bmd = game.make.bitmapData(360, 150); this.bmd.copy('ground'); //ground = image key //Makes two "holes" this.bmd.blendDestinationOut(); this.bmd.circle(50, 10, 20, 'rgba(0, 0, 0, 255'); this.bmd.circle(70, 10, 20, 'rgba(0, 0, 0, 255'); this.bmd.blendReset(); this.bmd.update(); this.ground = this.add.sprite(0, 630, this.bmd); this.game.physics.arcade.enable(this.ground); this.ground.body.allowGravity = false
  • Create New...