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 flash.display.BitmapData; | |
import flash.geom.Point; | |
import flixel.FlxG; | |
import flixel.FlxSprite; | |
import flixel.util.FlxColor; | |
import flixel.util.FlxColorUtil; | |
import flixel.util.FlxRandom; | |
import openfl.Assets; |
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
import flixel.FlxCamera; | |
import flixel.FlxSprite; | |
import flixel.tile.FlxTilemap; | |
class Util | |
{ | |
static public function renderTileMapToSprite(Tiles:FlxTilemap, Sprite:FlxSprite):Void | |
{ | |
var tempCam:FlxCamera = new FlxCamera(0, 0, Std.int(Tiles.width), Std.int(Tiles.height)); | |
Sprite.makeGraphic(Std.int(Tiles.width), Std.int(Tiles.height), 0); |
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 flash.Lib; | |
import flash.display.Bitmap; | |
import flash.display.BitmapData; | |
import flixel.system.FlxBasePreloader; | |
class Preloader extends FlxBasePreloader | |
{ | |
private var _progressBar:Bitmap; |
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
Here's a list of the strings in the game (SPOILERS kinda): | |
A game by | |
Powered by | |
Press left or right to start | |
Release left and right | |
to start | |
to erase | |
Touch left or right side to start | |
Release both sides |
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
Here's a list of the strings in the game (SPOILERS kinda): | |
A game by: Et spil af | |
Powered by: Kører på | |
Press left or right to start: Tryk venstre eller højre for at starte | |
Release left and right: Slip venstre og højre | |
to start: for at starte | |
to erase: for at slette | |
Touch left or right side to start: Tryk venstre eller højre side for at starte | |
Release both sides: Slip begge sider |
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
<!-- Camera --> | |
<uses-permission android:name="android.permission.CAMERA" /> | |
<uses-feature android:name="android.hardware.camera" /> | |
<uses-feature android:name="android.hardware.camera.autofocus" /> | |
<!-- GPS --> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> | |
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> |
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
#!/bin/sh | |
# Fixes "*.app can't be opened" errors | |
# Run `chmod +x` on this file and then | |
# move it to /usr/bin/ to make it GLOBAL | |
if [ $# -eq 0 ] | |
then | |
echo "No arguments supplied! Expected a path to a .app file" | |
elif [ -z "$1" ] |
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
#!/bin/sh | |
# exit on error | |
set -e | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: icns myicon.png" | |
exit 0 | |
fi |
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
#!/bin/bash | |
# Install script for application setup on Wercker boxes | |
# Exit script on error | |
set -e | |
echo "Updating apt-get" | |
# Without updating, apt-get won't find curl | |
apt-get update |
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
var data:Array = new Array(); | |
var xPosition:uint = 0; | |
var yPosition:uint = 0; | |
// Set x and y boundaries | |
var xHeight:uint = 40; | |
var yHeight:uint = 30; |
OlderNewer