Jump to content

Search the Community

Showing results for tags 'learner'.

  • 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. Hi Guys, I'm pretty new to Phaser Game development. I'm trying to make a cool 2D platformer. I've created a very basic first level, enough to let me start working on the player controls. One thing I want to do is add a double jump feature to my player. I'm trying to find something like a key.up function to use to stop it so my player doesn't just hold down the spacebar to jump really high. Here is my code behind jumps below. if (userKeys[2].onDown && player.jumpCount < 2) { player.body.velocity.y = -350*upForce; player.jumpCount++; console.log(player.jumpCount); } I think what I need is the processKeyUp function, in the keyboard.js. I'm not sure how I call it. Any ideas? Also right now I am using Cloud9 as my development environment. I've heard good things about mighty editor. Which one do you guys prefer?
×
×
  • Create New...