Search the Community

Showing results for tags 'lose'.



More search options

  • 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 Platform
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

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 4 results

  1. Hello! I am making my first ever game and am having trouble getting my character to lose points. In the game, the character can collect two types of bottles. One of them rewards them points, while the other one I want to take away points. However, after doing the codes, my character is still getting points from collecting the wrong bottles (the ones that should take points away) This was the code I am using to take points from the player (it is in the update function) function collectbottle (player, bottle) { // Removes the bottle from the screen bottle.kill(); // Subtract and update the score score -= score -1; scoreText.text = 'score: '-score; } Anyone have tips or ideas of how to fix? Thank you!
  2. Hi, can you help me? LoseState doesn't work ... i tried a lot of times to fix this problem but i always failed. here's the code: http://pastebin.com/V4RXCrGp
  3. Hi, i don't know why the loseState doesn't work , i tried a lot of times but the loseState still doesn't work. Please can you help me? Here's the code: http://pastebin.com/FYSKj1fh
  4. XeomDime

    LoseState

    Hi, i don't know why the loseState doesn't work , i tried a lot of times but the loseState still doesn't work. Please can you help me? Here's the code: http://pastebin.com/FYSKj1fh