3 Feb 2015

Absolute Simple Canvas Game

Default blog image

This is my first blog in C&M, for sometime now I was exploring myself to understand HTML/JS/CSS,I read and got comfort my self  with basic language semantics, but what now, out of abundant resources on web I was at crossroads and not sure where to start,then something struck to me that learning should be engaging so I explored for “gaming in JS” and Google amusingly returned with a towering figure of hits in fraction of seconds “About 11,40,00,000 results (0.33 seconds) “, patiently skimmed through various resources made cursory reading for some, detail study for others, but this piece of resource made my day.

I created a simple game where player controls a box movement and tries to catch the resource that pops on the canvas.No fancy,  no big deal.

User Arrowkeys for movement of box , a score is displayed in the back ground.

Box Collector

Full source code


Related Article

Posted By

Madhukar Moogala

Madhukar Moogala

A technology agnostic, constant learner, and a Forge advocate who works primarily on AutoCAD and Forge Design Automation using both desktop and cloud programming techniques. He has been with Autodesk since 2013, started his career as C++ programmer, explored everything that has come in his way be it Lisp or Wix, passionate about modern technologies and loves troubleshooting. In his free time if not on desk, he...