Skip to content

Instantly share code, notes, and snippets.

View Geokureli's full-sized avatar
🏠

George Kurelic Geokureli

🏠
View GitHub Profile
2064: Read only Memories
7grand steps, Step 1
AI War: Fleet Command
Ballistick
Bit Blaster XL
Broforce
Broken Age
Brothers - A tale of two Sons
Chroma Squad
Dangerous high school Girls in Trouble
package com.geokureli.testbed;
import flixel.FlxG;
import flixel.FlxState;
import flixel.system.replay.FlxReplay;
import flixel.ui.FlxButton;
class TestBed extends FlxState {
var replay:FlxReplay;
@Geokureli
Geokureli / NGBasics.hx
Last active March 7, 2018 01:16
Basic usage of the haxe NG.io API
package;
import io.newgrounds.NG;
import io.newgrounds.objects.Medal;
import io.newgrounds.objects.ScoreBoard;
import io.newgrounds.components.ScoreBoardComponent.Period;
import flixel.FlxG;
private static function INIT_LOCALES():void
{
LOCALE_FORMATS[Locale.ENGLISH] = { };
LOCALE_FORMATS[Locale.ENGLISH][SHORT] = "mmm dd, yyyy";
LOCALE_FORMATS[Locale.ENGLISH][FULL] = "month dd, yyyy";
LOCALE_FORMATS[Locale.FRENCH] = { };
LOCALE_FORMATS[Locale.FRENCH][SHORT] = "d mmm. yyyy";
LOCALE_FORMATS[Locale.FRENCH][FULL] = "d month yyyy";
You are the weapon
- tomahawk missile finite runner, dodge obstacles, hit the target
- I am Bread style controls but you're a sword or something
A light in the dark
- slide block puzzle where you only walk on lit surfaces and can push light sources
Keep growing
- Obvous plant themed vertical infinite grower/runner
- You grow to get stronger, but the hitbox grows making it easier to get hit, damage reduces size
- PUBG but instead of the play area shrinking, the players get bigger
Unusual magic
class Point {
static var _pool:Array<Point> = [];
public var x:Float;
public var y:Float;
var _weak:Bool = false;
public function new (x = 0.0, y = 0.0) { set(x, y); }
package vfx;
import flixel.FlxG;
import flixel.FlxSprite;
import flixel.graphics.FlxGraphic;
import flixel.graphics.frames.FlxTileFrames;
import flixel.math.FlxPoint;
import flixel.system.FlxAssets.FlxGraphicAsset;
import flixel.util.FlxBitmapDataUtil;
[Warning] [lime.utils.AssetLibrary] WARNING: Could not load "assets/music/BridgingtheGap.ogg" (FLESH TO STONE.js, line 84744)
[Warning] [lime.utils.AssetLibrary] WARNING: Could not load "assets/music/WasteTimeOnline.ogg" (FLESH TO STONE.js, line 84744)
[Warning] [lime.utils.AssetLibrary] WARNING: Could not load "assets/music/BossFight.ogg" (FLESH TO STONE.js, line 84744)
[Warning] [lime.utils.AssetLibrary] WARNING: Could not load "assets/music/TheBossisDead.ogg" (FLESH TO STONE.js, line 84744)
[Warning] [lime.utils.AssetLibrary] WARNING: Could not load "assets/music/ldsong.ogg" (FLESH TO STONE.js, line 84744)
[Warning] [lime.utils.AssetLibrary] WARNING: Could not load "assets/music/MySong3.ogg" (FLESH TO STONE.js, line 84744)
[Warning] [lime.utils.AssetLibrary] WARNING: Could not load "assets/music/VolcanoTrek.ogg" (FLESH TO STONE.js, line 84744)
[Warning] [lime.utils.AssetLibrary] WARNING: Could not load "assets/music/Byte.ogg" (FLESH TO STONE.js, line 84744)
[Warning] [lime.utils.AssetLibrary] WARNING: Coul
// Basic jump properties
/** Jump height when button in held */
inline static var MAX_HEIGHT = 110;
/** Jump height when button in tapped */
inline static var MIN_HEIGHT = 30;
/** Seconds it takes to reach the apex of the max jump */
inline static var TIME_TO_MAX = 0.35;
/** Horizontal distance traveled if at max speed */
inline static var JUMP_WIDTH = 170;
package states;
import flixel.FlxBasic;
import flixel.FlxG;
import flixel.FlxObject;
import flixel.FlxState;
import flixel.FlxSprite;
import flixel.graphics.frames.FlxTileFrames;
import flixel.group.FlxGroup;
import flixel.group.FlxGroup.FlxTypedGroup;