Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I will look into this, but also you shouldn’t be using function name() inside constructors - doing so gives each constructor instance its own set of function references, unnecessarily using memory. For example,

function C() constructor {
	function f() {}
	static s = function() {}
}
function scr_hello() {
	var a = new C(), b = new C();
	trace("s", a.s == b.s);
	trace("f", a.f == b.f);
}

would show “s 1” “f 0”.