Super Hexagon stats
Would it be possible to do something like this for another Steam game (or all other Steam games) with a leaderboard?
Yes, but I don't want to simply because Valve now knows that e.g. group leaderboards are useful (thanks, greuben :)) so I hope they will implement it as a native Steam feature. Or it may be available on awesome sAPI in the future, I don't know.
Does it work in IE or similar ancient browsers?
I have no idea. If there are any problems, create a new issue or make a pull request with a fix.
I have more questions!
Oh, also buy our game Euro Truck Simulator 2. It's required to use Super Hexagon stats... Ok, just kidding. But try it.
This site was built with AngularJS. It's my first project in it, so it may be ugly. I'm using Ruby for server stuff (specifically Sinatra), MongoDB (MongoLab) for the database, CoffeeScript, and Twitter Bootstrap because you wouldn't want to look at the website if it was designed by me.
I want to try it on my machine!
- You definitely want to get RVM (Ruby Version Manager). Life would be hard without this awesome tool. Or try pik if you are on Windows, but I haven't tried that so it's possible that it doesn't work.
- Go to the directory and run
bundle installin the terminal.
- Open file
env_variables.rb.example, rename it to
env_variables.rband change it to your needs (used in development, use e.g. Heroku config in production).
rake hex:update_datato update leaderboard and users. It will take a while, Steam API is slow.
- Install Node.js and then
sudo npm install -g coffee-scriptto install CoffeeScript compiler.
rake js:compileto compile CoffeeScript files in the
coffescriptsdirectory. It's a good idea to put it in a shell script before launching the server (or if you use RubyMine, just set Run Rake task js:compile in the Before launch option).
- Run Super Hexagon stats with
rackupor however you want!