Skip to content

Instantly share code, notes, and snippets.

View jonathanhirz's full-sized avatar

Jonathan jonathanhirz

View GitHub Profile
@ruby0x1
ruby0x1 / FPS.hx
Last active July 12, 2017 11:47 — forked from AndreiRudenko/Fps.hx
Simple FPS Text instance, modified from @RudenkoArt as an example for http://luxeengine.com
package;
import luxe.Text;
import luxe.Color;
import luxe.Vector;
import luxe.Log.*;
import luxe.options.TextOptions;
class FPS extends Text {
@KeyMaster-
KeyMaster- / PhysBody.hx
Created April 4, 2015 22:16
Luxe rectangles physics engine (WIP, and very basic)
package ;
import luxe.Component;
import luxe.Rectangle;
import luxe.Vector;
class PhysBody {
public var rect:Rectangle;
public var vel:Vector;
public var acc:Vector;