This file contains 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 states; | |
import flixel.util.FlxColor; | |
import flixel.FlxG; | |
import flixel.FlxSprite; | |
class DoNothingShaderTestState extends flixel.FlxState | |
{ | |
override function create() | |
{ |
This file contains 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
typedef JsonMapRaw<T> = | |
{ | |
var keys:Array<String>; | |
var values:Array<T>; | |
} | |
/** | |
* A list of keys and values, used to serialize maps, usually for JSON or external saving. | |
* Note: Not meant to replace maps in any way, only meant for converting to and from json. | |
*/ |
This file contains 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 flixel.addons.display; | |
import flixel.FlxBasic; | |
import flixel.FlxCamera; | |
import flixel.FlxG; | |
import flixel.FlxSprite; | |
import flixel.graphics.FlxGraphic; | |
import flixel.graphics.frames.FlxFrame; | |
import flixel.math.FlxMatrix; | |
import flixel.math.FlxPoint; |
This file contains 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 flixel.FlxState; | |
import flixel.graphics.frames.FlxAtlasFrames; | |
class PlayState extends FlxState | |
{ | |
var sprite:FlxSprite; | |
override public function create():Void | |
{ |
This file contains 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"?> | |
<TextureAtlas imagePath="player.png"> | |
<!-- Created with Adobe Animate version 20.0.3.25487 --> | |
<!-- http://www.adobe.com/products/animate.html --> | |
<SubTexture name="idle0000" x="0" y="0" width="293" height="442" frameX="0" frameY="0" frameWidth="295" frameHeight="442"/> | |
<SubTexture name="idle0001" x="333" y="0" width="293" height="442" frameX="0" frameY="0" frameWidth="295" frameHeight="442"/> | |
<SubTexture name="idle0002" x="666" y="0" width="293" height="442" frameX="0" frameY="0" frameWidth="295" frameHeight="442"/> | |
<SubTexture name="idle0003" x="999" y="0" width="292" height="442" frameX="-1" frameY="0" frameWidth="295" frameHeight="442"/> | |
<SubTexture name="idle0004" x="1331" y="0" width="292" height="442" frameX="-1" frameY="0" frameWidth="295" frameHeight="442"/> | |
<SubTexture name="idle0005" x="1663" y="0" width="292" height="442" frameX="-1" frameY="0" frameWidth="295" frameHeight="442"/> |
This file contains 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
class Person extends FlxGroup | |
{ | |
public var personG:FlxSprite = new FlxSprite(); | |
// unrelated code removed for readibility | |
} | |
class PersonPlayer extends Person | |
{ | |
var player:Person; |
This file contains 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 ui; | |
import utils.Sounds; | |
import io.newgrounds.objects.Error; | |
import data.Save; | |
import flixel.FlxG; | |
import flixel.util.FlxTimer; | |
import io.newgrounds.NG; |
This file contains 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 vfx; | |
class EdgeDither extends flixel.system.FlxAssets.FlxShader | |
{ | |
@:glFragmentSource(' | |
#pragma header | |
const float scale = 4.0; | |
float checker(vec2 coord) |
This file contains 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 fx; | |
class Dither extends flixel.system.FlxAssets.FlxShader | |
{ | |
@:glFragmentSource(' | |
#pragma header | |
const float scale = 2.0; | |
float checker(vec2 coord) |
This file contains 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
typedef OgmoEntityData<T> | |
= { | |
name :String, | |
id :Int, | |
x :Int, | |
y :Int, | |
rotation:Float, | |
originX :Int, | |
originY :Int, | |
values :T |
NewerOlder