/gam-ball

GamBall -- A gambling game prototype

Primary LanguageJavaScript

GamBall

Do you have your faith on your balls? Put your money in!

Where to play?

I've deployed two versions on my website:

GamBall -- Release Version (High Graphic Quality)

GamBall -- Release Version (Medium Graphic Quality)

GamBall -- Release Version (Low Graphic Quality)

GamBall -- Development Version (can use debug keys aka. cheating keys)

How to Set Up

  1. Download and install Node JS;
  2. Download and install Haxe 3.2.1;
  3. Locate your repo folder. Make sure you are UNDER the root;
  4. Run npm install -- it will install all the grunt dependencies;
  5. Run npm install -g grunt-cli -- it will install the grunt command line for your machine (global install);
  6. Run haxelib install build_debug.hxml -- it will install all the dependency Haxe libraries.
  7. Run grunt -- debug auto build;
  8. Run grunt release -- make a release build.

Debug Keys

  • "5" -- Toogle physics debug draw.
  • "[" -- Toogle step by step physics.
  • "]" -- Next frame of the physics calculation. Note: It's not "one step" but actually "one frame" (we don't update graphic transforms on each step, only on each frame)
  • "?quality" -- Query parameters for graphic quality, can be "high", "medium" or "low".