Terry Cavanagh

Results 132 comments of Terry Cavanagh

Gonna focus on documentation for 0.13.0. Pushing this back!

OK! As a workaround, it looks like things will behave as expected if you just put a blank constructor in your class. I guess I must have broken this when...

from @randomnine : ``` if you're trying to include something from a package, you add which would force it to include class in "package". eg package.Main ```

Oh, weird! ``` ``` Doesn't fix it - in fact, the generated .js file DOES include the static function from `Main` - it's just that Scene doesn't see them.

Hmm, ok, not sure what's going on here right now. Gonna leave it for a while. It doesn't seem to be a dce problem - the classes are in the...

Ok, this test in `Scene.hx`: ```haxe trace(Type.getClass(maininstance) == null); ``` On html, this is true (unless the class has a "new" function). It's false on all other targets. This is...

Yep, good call! Added to 0.13.0.

the work around for now, of course, is: ``` haxe contents = Data.create2darray(size, size, null); for (j in 0 ... size){ for (i in 0 ... size){ contents[i][j] = new...

@azrafe7, that's interesting! However, I think it's too complex for Haxegon! The purpose of this function is to give people an easy way to construct a blank 2D array of...

Gonna make documentation the focus of a later version - 0.12.0 is focused on remaining structural issues.