Skip to content

Instantly share code, notes, and snippets.

@videlais
videlais / PlayState.as
Last active May 2, 2018 03:36
ActionScript 3 Example 6 PlayState Version 2
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class PlayState extends FlxState
@videlais
videlais / Registry.as
Created October 20, 2013 03:24
ActionScript 3 Example 6 Registry Version 1
package
{
/**
* ...
* @author Dan Cox
*/
public class Registry
{
public static var player:PlayerSprite;
@videlais
videlais / NPCSpriteGroup.as
Created October 20, 2013 03:03
ActionScript 3 Example 6 NPCSpriteGroup Version 1
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class NPCSpriteGroup extends FlxGroup
@videlais
videlais / NPCSprite.as
Last active December 26, 2015 00:29
ActionScript 3 Example 6 NPCSprite Version 1
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class NPCSprite extends FlxSprite
@videlais
videlais / PlayState.as
Created October 19, 2013 04:03
ActionScript 3 Example 5 PlayState Version 2
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class PlayState extends FlxState
@videlais
videlais / PlayerSprite.as
Created October 19, 2013 04:01
ActionScript 3 Example 5 PlayerSprite Version 1
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class PlayerSprite extends FlxSprite
@videlais
videlais / PlayState.as
Created October 19, 2013 03:55
ActionScript 3 Example 5 PlayState Version 2
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class PlayState extends FlxState
@videlais
videlais / FlxDialog.as
Last active December 25, 2015 22:39
ActionScript 3 FlxDialog
package
{
import org.flixel.*;
public class FlxDialog extends FlxGroup
{
/**
* Use this to tell if dialog is showing on the screen or not.
*/
public var showing:Boolean;
@videlais
videlais / map1.txt
Last active May 2, 2018 03:34
Txt (CSV) for Map 1
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,6,3,3,3,3,3,3,3,3,3,3,3,3,2,
2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,6,3,3,3,3,3,3,3,3,3,3,3,3,2,
2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,6,3,3,3,3,3,3,3,3,3,3,3,3,2,
2,1,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,1,1,1,4,6,3,3,3,3,3,3,3,3,3,3,3,3,2,
2,1,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,1,1,1,4,6,3,3,3,3,3,3,3,3,3,3,3,3,2,
2,1,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,1,1,1,4,6,1,1,1,1,1,1,1,1,1,1,1,3,2,
2,1,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,1,1,1,4,6,1,1,1,1,1,1,1,1,1,1,1,3,2,
2,1,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,1,1,1,4,6,1,1,1,1,1,1,1,1,1,1,1,3,2,
2,1,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,1,1,1,4,6,1,1,1,1,1,1,1,1,1,1,1,3,2,
@videlais
videlais / PlayState.as
Created October 19, 2013 01:00
ActionScript 3 Example 5 PlayState Version 2
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class PlayState extends FlxState