Skip to content

Instantly share code, notes, and snippets.

View zachwlewis's full-sized avatar
🌋
Cooking.

Zachary Lewis zachwlewis

🌋
Cooking.
View GitHub Profile
//Master.as
package
{
public class Master
{
public static var levelData:Vector.<DungeonWorld>;
public static var currentLevel:uint = 0;
}
}
@zachwlewis
zachwlewis / IsometricIO.as
Created September 14, 2010 02:49
IsometricIO.as: Provides support for reading from and writing to XML objects for the IsometricGrid library.
package net.thegamestudio
{
import flash.events.Event;
import flash.events.EventDispatcher;
import flash.net.FileFilter;
import flash.net.FileReference;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.utils.ByteArray;
@zachwlewis
zachwlewis / DungeonWorld.as
Created September 13, 2010 18:44 — forked from sjakaus/gist:577766
The proper way to add entites to a new World in FlashPunk.
package
{
import net.flashpunk.World;
import Master;
public class DungeonWorld extends World
{
public function DungeonWorld()
{