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
extends Node2D | |
signal player_joined(device_id) | |
signal player_quit(device_id) | |
const DPAD = 'dpad' | |
const A_BUTTON = 'a' | |
const B_BUTTON = 'b' | |
const KEY = 'key' | |
const HAS_DIRECTION = 'has_direction' |
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
[gd_scene load_steps=2 format=2] | |
[sub_resource type="GDScript" id=2] | |
script/source = "extends GraphEdit | |
func _process(delta): | |
update() | |
func _draw(): |
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
window.seenWords = Object.assign({}, window.seenWords, {}); |
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 systems.screen; | |
import flixel.FlxG; | |
import flixel.FlxObject; | |
import flixel.tweens.FlxEase; | |
import flixel.tweens.FlxTween; | |
import objects.Ball; | |
import objects.Wall; | |
class ScreenShake { |
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.FlxG; | |
import flixel.FlxSprite; | |
import flixel.FlxState; | |
import flixel.input.FlxSwipe; | |
import flixel.util.FlxSpriteUtil; | |
class PlayState extends FlxState { | |
var canvas:FlxSprite; |
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 objects.personality; | |
import flixel.FlxSprite; | |
import flixel.math.FlxPoint; | |
import flixel.tweens.FlxTween; | |
import format.SVG; | |
import objects.Paddle; | |
import openfl.Assets; | |
import openfl.display.BitmapData; | |
import openfl.display.Graphics; | |
import openfl.display.Sprite; |
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.FlxG; | |
import flixel.FlxSprite; | |
import flixel.FlxState; | |
import flixel.math.FlxPoint; | |
class PlayState extends FlxState { | |
public static inline var SPEED = 1000; | |
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 systems.trail; | |
import flash.display.Graphics; | |
import flixel.FlxG; | |
import flixel.FlxSprite; | |
import flixel.math.FlxAngle; | |
import flixel.math.FlxMath; | |
import flixel.math.FlxPoint; | |
import flixel.math.FlxVector; | |
import flixel.math.FlxVelocity; |
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"?> | |
<project version="2"> | |
<!-- Output SWF options --> | |
<output> | |
<movie outputType="CustomBuild" /> | |
<movie input="" /> | |
<movie path="Project.xml" /> | |
<movie fps="60" /> | |
<movie width="480" /> | |
<movie height="640" /> |