Jump to content

Search the Community

Showing results for tags 'progress-bar'.

  • 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. So I noticed that a lot of people in here were asking about a loading/progress bar so I came up with my own solution. Let me know what you think var barGreen,barYellow,maxWidth,tween;function create(){ barGreen = game.add.graphics(200,300); barGreen.beginFill(0xEAF516); barGreen.drawRect(0,0,300,50); barYellow = game.add.graphics(200,300); barYellow.beginFill(0x4BFAF7); barYellow.drawRect(0,0,300,50); maxWidth = 300; barYellow.width=0; tween = game.add.tween(barYellow); tween.to({width:maxWidth},1000); tween.start();}Here's the JSFiddle if you want to see what it looks like: http://jsfiddle.net/Batzi/op3grg2w/10/
×
×
  • Create New...