This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from='./my-element.html'></require> | |
</template> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import h2d.Scene; | |
import h2d.Sprite; | |
import h2d.Bitmap; | |
import h2d.Tile; | |
import com.eclecticdesignstudio.spritesheet.data.BehaviorData; | |
import com.eclecticdesignstudio.spritesheet.Spritesheet; | |
import flash.display.BitmapData; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package { | |
import flash.utils.Dictionary; | |
import spark.components.TextArea; | |
public class Game { | |
private const TOTAL_LABEL:String = "Total: "; | |
private const GUTTER_LABEL:String = "Gutter!"; | |
private const OPEN_FRAME:String = "You got "; | |
private const FRAME_LABEL:String = "Frame: "; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<project> | |
<meta title="Prototype" package="com.p4n.prototype" version="1.0.0" company="fubard" /> | |
<app main="Main" file="Main" path="bin" /> | |
<window width="800" height="600" unless="mobile" /> | |
<window fps="30" /> | |
<source path="src" /> | |
<haxelib name="createJS" /> | |
<template path="assets/template" rename="../bin"/> | |
<assets path="assets/js" rename="js"/> |