Jump to content

Search the Community

Showing results for tags 'reseize'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hello, I want to find how can I fix this problem about two players's hitboxes. When I press down, I change ths size of the hitbox but it go throught the other hitbox. function deplacementJoueur2(){ joueur2.body.velocity.x = 0; // joueur2.animations.stop(); joueur2.frame = 0; if (toucheQ.isDown) { joueur2.body.velocity.x = -400; joueur2.animations.play('left2'); }if (toucheD.isDown) { joueur2.body.velocity.x = (400); joueur2.animations.play('right2'); }if (toucheS.isDown) { joueur2.frame = 27; joueur2.anchor.setTo(1, 1); joueur2.body.setSize(110/2, 122/2); joueur2.animations.play('down2'); } else { joueur2.body.setSize(110,122); } if (toucheZ.isDown && game.time.now > jumpTimer2) { joueur2.body.velocity.y = -300; jumpTimer2 = game.time.now + 750; joueur2.animations.play('jump2'); } }
×
×
  • Create New...