Cookie Clicker in Game Engine

1 min read • Assignment

Game Time!

Cookie Clicker is a classic game. Using the OCS Game Engine we can make the Cookie stationary, move, speed-up, get small,etc.

How to Play

  1. Click Start
  2. Click on the Cookie

Extend and Change IT!

The scale factor change makes the game much more difficult.

How it is Made!

Key system files…

  • Clicker.js: extends NPC, implements handleClick()
  • GameControl.js: defines CanvasClickHandler()
  • GameObject.js: defines isPointInside(), handleClick()

Key Usage files…

  • GameLevelDesert.js: look for box with on image counter
  • game-runner.html: provides id for status update…

Review Commit for Specifics

Submit Assignment

Course Timeline