Skip to content

Instantly share code, notes, and snippets.

@ncase
ncase / gist:7668272
Last active December 29, 2015 12:09 — forked from anonymous/gist:7668270
Draft on Nov 26

Nothing To Hide - Game Mechanics

##Objects List Prisms, Doors, Conveyor Belts, Mannequins, YOU

##Rules

  1. Some Prisms activate objects (see #2 & #3) when they see a human. (see #4)
  2. Doors block line of sight and movement, and a Prism activates them. (see #1)
  3. Conveyor Belts move objects like you, Prisms, and Mannequins. They are also activated by Prism Eyes. (see #1)
@ncase
ncase / EaselEncode.js
Last active June 4, 2024 07:58 — forked from bjnsn/EncodePath.js
This will allow you to call Graphics.encodePath() to get the compressed base64 data string. This way, you don't have to call the same drawing instructions on an EncodePath object first.
/**
* Graphics.encodePath, as the mirror to .decodePath
* Goes through only the path Commands, and returns a compressed base64 data string
*
* @author Nicklaus Liow, nutcasenightmare.com
**/
// namespace:
this.createjs = this.createjs||{};