Skip to content

Instantly share code, notes, and snippets.

http://ohmnivore.elementfx.com/vid/spmk_spells.mp4
http://ohmnivore.elementfx.com/press/sheet.php?p=sunpunch_moonkick
package quickmsg;
import sys.net.Host;
import sys.net.Socket;
/**
* ...
* @author Ohmnivore
*/
class Server extends Base
@Ohmnivore
Ohmnivore / OgmoLoader.hx
Created December 7, 2014 03:53
Basic HaxeFlixel Ogmo Editor loader
package util;
import flixel.FlxG;
import haxe.xml.Fast;
import flixel.tile.FlxTilemap;
import haxe.Json;
import flixel.tile.FlxTile;
import flixel.FlxObject;
import openfl.Assets;
import entities.Spawn;
@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;
@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 / 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":
http://ohmnivore.elementfx.com/FlxShell.swf
@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");
@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;
/**
* ...