Skip to content

Instantly share code, notes, and snippets.

@triplefox
triplefox / gist:2936511
Created June 15, 2012 13:36
in-progress autotiler
public inline function rewriteAutoTiling(p : { x:Int, y:Int }, fallback : Int)
{
// collect the indices for the tile positions.
var idx_tl = result.c21(p.x * 2, p.y * 2);
var idx_tr = tl + 1;
var idx_bl = result.c21(p.x * 2, p.y * 2 + 1);
var idx_br = bl + 1;
@triplefox
triplefox / gist:2900005
Created June 9, 2012 07:40
list of gamedev (and related) ircs
@triplefox
triplefox / gist:2899990
Created June 9, 2012 07:34
list of gamedev (and related) ircs
irc.freenode.net
<p>
<a href="http://vidyadev.com/wiki">#vidyadev</a> <br>
<a href="http://www.reddit.com/r/gamedev">#reddit-gamedev</a> <br>
<a href="http://hashbbg.com/">#bbg</a> <br>
<a href="http://www.polycount.com/forum/">#model_design</a> <br>
<a href="http://www.glorioustrainwrecks.com/">#glorioustrainwrecks</a> <br>
<a href="http://opengameart.org/">opengameart</a> <br>
<a href="http://moosader.com/">Moosader</a> <br>
<a href="http://elysianshadows.com/project/">#elysian_shadows</a> <br>
class Foo
{
public function new() {}
}