The Power of Progress Bars

Posted on Feb 20, 2011 by Michael Gugel in Gaming, Programming

The effectiveness of progress bars in ProgressWars really blew me.  So much so that it inspired me to create my own version.

I’ve been wanting to learn how to code PHP, so I created Level Up, a simple “game” whose sole objective is to click a button and increase your level.  It was a great project to get my feet wet in PHP, MySQL and Javascript.

Here’s the source code.

Some notes:

  • It’s written in PHP and uses a MySQL database to store user information and the amount of XP required to achieve every level.
  • The progress bar uses jQuery progressBar.
  • The big “Get XP” button uses Javascript to create a “juicy” experience when you click the button.

Comments are closed.