Jump to content

Search the Community

Showing results for tags 'increase'.

  • 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 everyone, I'm developing a side scrolling mobile game for fun in my spare time. The objective is to direct a flying bee, who moves continuously to the right, between sets of honeycombs. If the player touches the honeycombs, they lose. It's effectively a replica of flappy bird. I'm trying to implement an incremental increase in velocity so the game gets harder the longer you play. - I've created a group (honeycombs) and added physics to the group - Created 20 honeycombs - Got the first dead honeycomb of our group - Set the new position of the honeycomb - Added velocity to the honeycombs to make it move left (creates the illusion of the bee flying): pipe.body.velocity.x = -200; - Kill the honeycombs when they're no longer visible - Picked where the hole will be - Added six honeycombs - Run function to add honeycombs every 1.5 seconds I'm aware I could have two different game states (easy and hard) with different velocities but I'd rather have it increase over time. Any help would be hugely appreciated! Thanks!
×
×
  • Create New...