//My First Game
Custom Game Engine
Shape Clicker runs on a game engine I coded myself. The game utilizes the HTML canvas element for visuals and a looping setTimeout() function as a game loop.
Calculating the way an n-sided polygon rotates in an inverse plane was my biggest hurdle. While it is certainly old-hat now, it was extremely daunting at the time.
Supports Any Resolution
While it doesn't work on mobile, Shape Clicker was created with different sized screens in mind. The canvas will scale up to your native resolution and the game still runs flawlessly.
The game engine supports variable framerate. The earned score will be the same regardless of the browser refresh rate. Most indie games don't even do this!
Shape Clicker uses PHP user sessions to save your data, allowing you to return later and pick up your clicking addiction right where you left off.
Polymorphism and OOP
This was the first project I ever used object inheritance. Every placeable object inherits properties from a shape superclass that gets used by drawing and update loops.
Copyright © 2016 Daniel Timko