Jump to content

Search the Community

Showing results for tags 'counter'.

  • 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
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • 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 5 results

  1. bucket counter! (-_-) In this game there is a bucket that is the player and it needs to be filled with 10 drops to reach the goal, then the counter is reset and starts a new round..In the game you have to collect the drops in numerical order 1-10. *The game available also for smartphones *license MIT bucketGame.zip
  2. Basically I am making a cookie clicker type game for fun. I am trying to make the counter increase each time the sprite is clicked on but for some reason the click event on the sprite is never fired if i click on the sprite. I can't figure out why the click event isn't firing does anyone know why? Or a better way of doing this? <!doctype html> <html> <head> <meta charset="UTF-8" /> <title>Shook Clicker</title> <script src="https://cdn.jsdelivr.net/npm/phaser-ce@2.9.1/build/phaser.js"></script>
  3. pheaset

    View Counter

    Hey Guys, I was wondering if anybody knew how to add a view counter. I want to know how many views my breakout game will get when it is launched and the same for my other tennis game. Help is really appreciated Pheaset
  4. I saw a few examples and games with implemented simple score logic. Seemed easy enough. But why is my counter updating like crazy? By each passed obstacle it jumps to 20 or so. Is it because the game loop calls each function 60 times per second. If so, what should I do? I want the counter to itterate by 1 each time an obstacle is passed(behind the player or out of bounds). The game is an endless runner type. My code: update{ obstacles.forEachAlive(this.passedObstacle, this); }, passedObstacle: function(){ var obstacle = obstacles.getFirstAlive(); if (obstacle.x &l
  5. Hi, I am trying to to use the code from an example for dragging sprites to let me count the number of times a sprite has been clicked. I want to place sprites on the screen that will serve as buttons that will tell the stage to addChild new Sprites. I have been able to place a button and cause that button being pressed to generate one new sprite, but now I want to generate more exactly like it. And I am not sure how to do this. Also, I am not sure if placing the logic to create a new sprite inside the mousedown function curly braces is the best way to be creating the first sprite to
×
×
  • Create New...