Glenn Ko
Glenn Ko
replaceMatchesInBetweenBrackets missing config.ignore parameter, thus `replacements` function doesn't work with "ignore" options!
Trying something out "funky", to avoid using an object/class wrapper to hold primitive data, but store data entirely as a non-object-based data type in array if it only consist of...
Haxe 3.3 doesn't have this issue. Looks like type-completion is completely broken in Haxe 3.4. You have to use Haxe 3.3 for now. In Haxe 3.4, eg. `var gun =...
Also, how to add/remove Systems? Based on the architecture of ECX, i'd assume you have to set the system flags to use SystemFlags.IDLE or not, right? But how to do...
From what i've observed with the framework, every component service holds it's own array which points to it's component data for the given entity slot. However, because the Array is...
``` public function add(component:T, componentClass:Class = null):Entity { if (componentClass == null) componentClass = #if flash untyped component.constructor; #else Type.getClass(component); #end if (components.exists(componentClass)) remove(componentClass); components.set(componentClass, component); componentAdded.dispatch(this, componentClass); return this;...
Ever tried this? If you do this, the next/prev pointer would be strictly typed, this could result in better performance, even though code might bloat due to Generic duplication. Inlining...
The getClosestRegion is rather moot since it uses a naive distance to centroid which isn't very accruate. It should calculate it based on whether the point lies within the region...
From the code implementation it's pretty obvious that this may happen, since it only considers 1 single edge ("the closest one") from start position, instead of a set of multiple...
It seems when i bind `:inline` property to some dynamic changing/reactive value, it has problems resolving the view accordingly to reflect the new "inlined" vs "non-inlined" gui state on the...