Skip to content

Instantly share code, notes, and snippets.

@Ohmnivore
Ohmnivore / gist:9611540
Created March 18, 2014 00:54
Haxe pixel bender flixel shader
package;
import entities.Player;
import flash.geom.Point;
import flash.geom.Rectangle;
import flixel.addons.plugin.control.FlxControl;
import flixel.addons.plugin.effects.FlxSpecialFX;
import flixel.addons.plugin.effects.fx.StarfieldFX;
import flixel.FlxG;
import flixel.FlxSprite;
@Ohmnivore
Ohmnivore / skullrush_dl_urls
Last active August 29, 2015 14:00
SkullRush download URLs
http://skullrush.elementfx.com/smf/index.php?topic=2.0
@Ohmnivore
Ohmnivore / gist:6622d99de2d8aa2cce0f
Created May 20, 2014 00:09
Haxe laoder for Ogmo Editor
package ;
#if CLIENT
#else
import entities.Flag;
import entities.HealthPack;
import entities.Spawn;
import flixel.util.FlxPoint;
#end
package ;
import flash.display.BitmapData;
import flash.geom.Point;
import flash.geom.Rectangle;
import flixel.FlxG;
import flixel.util.loaders.CachedGraphics;
import flixel.util.loaders.TextureRegion;
import flixel.system.layer.Region;
/**
@Ohmnivore
Ohmnivore / CrashDumperMail.hx
Created June 6, 2014 22:38
Sends crash report to e-mail
package ;
import crashdumper.CrashDumper;
import sys.io.Process;
import sys.FileSystem;
import sys.io.File;
import sys.io.FileOutput;
import haxe.io.Eof;
/**
* ...
@Ohmnivore
Ohmnivore / Script.hx
Created June 22, 2014 01:13
IceEntity script example
package;
import flixel.FlxG;
//request Player;
class TestScript
{
public function new()
{
FlxG.log.add("TestFunction");
http://ohmnivore.elementfx.com/FlxShell.swf
@Ohmnivore
Ohmnivore / entities.json
Last active August 29, 2015 14:03
Example JSON IceEntity file
{
"entity":
[
{
"tag":"player", "x":50, "y":50,
"art":
[
{
"width":16, "height":16, "path":"assets/images/sumohulk.png",
"animation":
@Ohmnivore
Ohmnivore / frenzy.sp
Last active December 13, 2019 18:14
A silly plugin
#include <sourcemod>
//Plugin signature
public Plugin:myinfo =
{
name = "Frenzy",
author = "Ohmnivore",
description = "Upon round end, forces everyone to taunt, and forces mini-crits for 30 seconds.",
version = "1.0",
url = "http://www.sourcemod.net/"
@Ohmnivore
Ohmnivore / MainMenu.hx
Created October 21, 2014 00:42
Sitelock example
package menu;
import flixel.FlxCamera;
import flixel.FlxG;
import flixel.FlxSprite;
import flixel.FlxState;
import flixel.group.FlxGroup;
import flixel.text.FlxText;
import flixel.ui.FlxButton;
import flixel.util.FlxMath;