Skip to content

Instantly share code, notes, and snippets.

@andrepcg
andrepcg / 0_reuse_code.js
Created Oct 20, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View keybase.md

Keybase proof

I hereby claim:

  • I am andrepcg on github.
  • I am andrepcg (https://keybase.io/andrepcg) on keybase.
  • I have a public key whose fingerprint is 7D21 53CB 44CF FD5A AEC4 E000 B217 E0F3 3265 B6B1

To claim this, I am signing this object:

View Parser
----------
Product parser
-------------
The parser only needs an URL to work. The main class is called **Parser** and any site specific parser extends this main class and overrides specific functions to make it work on that specific site.
#### **General process**
View ProgressiveTilemap.as
package com.abeltoy.utils
{
import flash.display.BitmapData;
import flash.geom.Point;
import flash.geom.Rectangle;
import flash.utils.getTimer;
import net.flashpunk.FP;
import net.flashpunk.Graphic;
/**