Skip to content

Instantly share code, notes, and snippets.

View 01010111's full-sized avatar
👽
🕹

Will Blanton 01010111

👽
🕹
View GitHub Profile
@01010111
01010111 / ZMath
Last active August 29, 2015 13:57
ZMath - math utilities helpful for HaxeFlixel users - most of these are in FlxMath, and most of those are much faster! This is really just my personal math class :)
package;
import flixel.math.FlxPoint;
/**
* Various useful math utilities for use with HaxeFlixel.
* See notes in methods for more detailed information.
* @author x01010111
*/
@01010111
01010111 / gist:1f163be5a4ed225bf20f
Created November 4, 2014 18:22
Updated FlxText Centering Stack Overflow
package;
import flixel.FlxG;
import flixel.FlxState;
import flixel.text.FlxText;
import flixel.text.FlxText.FlxTextAlign;
class MenuState extends FlxState
{
var centeredText:FlxText;
@01010111
01010111 / ZState
Created November 21, 2014 06:48
FlxState with palette mapping and a few other extra things.
package ;
import flixel.FlxState;
import flixel.tweens.FlxTween;
import openfl.system.System;
import openfl.display.BitmapData;
import openfl.filters.ColorMatrixFilter;
import flixel.FlxG;
import openfl.geom.Point;
/**
@01010111
01010111 / ExportCSV.gs
Created April 4, 2018 15:48
Google Scripts for Sheets!
function onOpen() { create_menu(); }
function create_menu() { SpreadsheetApp.getActiveSpreadsheet().addMenu("Export CSV", [{name: "Export this sheet as CSV", functionName: "export_csv"}]); }
function export_csv() { display_text(make_csv()); }
function make_csv()
{
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
var data = sheet.getSheetValues(1, 1, sheet.getMaxRows(), sheet.getMaxColumns())
var text = '';
for (var j = 0; j < data.length; j++)
@01010111
01010111 / ThreeDeeObject.hx
Created April 20, 2018 22:50
3D FLIXEL WOO
import flixel.FlxG;
import flixel.FlxSprite;
import flixel.group.FlxGroup.FlxTypedGroup;
import flixel.math.FlxPoint;
using zero.ext.FloatExt;
class ThreeDeeObject extends FlxTypedGroup<Slice>
{
package;
import flixel.FlxG;
import flixel.FlxObject;
import flixel.FlxSprite;
import flixel.FlxState;
import flixel.system.FlxAssets;
import flixel.tile.FlxTilemap;
import flixel.tile.FlxBaseTilemap.FlxTilemapAutoTiling;
@01010111
01010111 / privacy.md
Last active September 4, 2022 02:43
Privacy Policy

Privacy Policy

01010111 built the Wobolob app as a ad-supported app. This SERVICE is provided by 01010111 at no cost and is intended for use as is.

This page is used to inform website visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation with this policy. The Personal Information that I collect are used for providing and improving the Service. I will not use or share your information with anyone except as described

@01010111
01010111 / ogmo_feature_set.md
Last active June 23, 2018 16:12
OGMO Feature Set

OGMO Feature Doc

Menu

Ogmo

  • Preferences
    • Maximize on startup (checkbox)
    • Undo limit (per level) (textfield)
    • Open level limit (textfield)
    • Clear Project History (button)
@01010111
01010111 / Goap.hx
Last active August 8, 2018 18:35
Haxe GOAP
package util;
using util.Goap.Planner;
class Goap {}
class Planner
{
public static function plan(agent:IGoapAgent):Null<GoapTask>
@01010111
01010111 / PlayState.hx
Created August 10, 2018 19:56
Crawler
package;
import flixel.FlxSprite;
import flixel.FlxState;
import flixel.graphics.FlxGraphic;
import flixel.math.FlxPoint;
import flixel.tile.FlxBaseTilemap.FlxTilemapAutoTiling;
import flixel.tile.FlxTilemap;
import flixel.util.FlxPath;
import flixel.util.FlxSpriteUtil;