Skip to content

Instantly share code, notes, and snippets.

View rafelsanso's full-sized avatar

Rafel Sansó rafelsanso

View GitHub Profile
@MatthewBarker
MatthewBarker / Glow.js
Created July 29, 2015 12:44
Phaser glow filter
/*jslint white: true*/
/*global Phaser*/
/**
* Defines a glow filter for Web GL.
* @module
*/
Phaser.Filter.Glow = function (game) {
'use strict';
@eligrey
eligrey / object-watch.js
Created April 30, 2010 01:38
object.watch polyfill in ES5
/*
* object.watch polyfill
*
* 2012-04-03
*
* By Eli Grey, http://eligrey.com
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/