Skip to content

Instantly share code, notes, and snippets.

View zachwlewis's full-sized avatar
💭
Shipping!

Zachary Lewis zachwlewis

💭
Shipping!
View GitHub Profile
@zachwlewis
zachwlewis / Camera.as
Last active December 19, 2015 19:58 — forked from peterhoang/gist:6008605
package utils
{
import net.flashpunk.FP;
import entities.Player;
public class Camera
{
private var cameraSpeed:Number;
// Camera following information.
//Master.as
package
{
public class Master
{
public static var levelData:Vector.<DungeonWorld>;
public static var currentLevel:uint = 0;
}
}
@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()
{