Skip to content

Instantly share code, notes, and snippets.

View Geokureli's full-sized avatar
🏠

George Kurelic Geokureli

🏠
View GitHub Profile
typedef OgmoEntityData<T>
= {
name :String,
id :Int,
x :Int,
y :Int,
rotation:Float,
originX :Int,
originY :Int,
values :T
package;
import flixel.FlxG;
import flixel.math.FlxRect;
import flixel.addons.display.FlxSliceSprite;
using flixel.util.FlxSpriteUtil;
class Main extends openfl.display.Sprite
{
package;
//import utils.Sounds;
import flixel.FlxG;
import flixel.FlxSprite;
import flixel.effects.FlxFlicker;
import flixel.group.FlxGroup;
import flixel.group.FlxGroup.FlxTypedGroup;
import flixel.math.FlxPoint;
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;
// 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;
[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
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;
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); }
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
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";