retroburst

GitHub Project Space for Andrew D

View on GitHub

Project :: Tower of Debt

This started as a simple kata in a few different languages - calculating when a loan will be paid off. I wanted to experiment with using Unity as an interface to some kind of computational code rather than a game. This is the result: a visual representation of your debt, see how far it stretches into the sky! Each level of the tower represents a month it will take you to remove yourself from the bank's manacles. Climb the tower, if just to see how far it really goes, then look down again - can you still see the mountains? Unity as an interface was a little clunky and somewhat immature, though it got the job done with a little code to plumb it together.

Development in Unity IDE
Source => http://github.com/retroburst/Kata/tree/master/Unity/Kata.LoanPrediction.Unity

External Sources

  • Textures sourced from Spiral Graphics, used under the royalty free license.
  • 'YuzuPop' font sourced from black-yuzunyan.
  • Sans and serif fonts sourced from GNU.
  • Skybox sourced from Unity Asset Store.

Default Bindings

  • Movement - Up and Down Arrows
  • Start Over / Change Input Values - Esc

How to Win

Does the tallest or the shortest tower win?

Notes

This hybrid application will store your last entered values, so you can return to marvel at your tower as often as you like. Note that the values are stored in your browser's cache locally, nothing you enter gets transmitted anywhere. As this is a WebGL build it runs in your browser - as such - if you try to fry it by entering ridiculous input - your browser is all that suffers.

WebGL Build

At this stage Unity WebGL player is starting to support mobile device browsers but that functionality can sometimes be patchy. For best results, play the WebGL build in any decent modern desktop browser that supports HTML5. Touch input is now be supported in the WebGL player as of Unity 5.1 (2015-06-16).

Use Tower of Debt in Unity WebGL Player

Screenshots - Mac OS X

Use on Mac OS X
Use on Mac OS X
Use on Mac OS X
Use on Mac OS X
Use on Mac OS X
Use on Mac OS X