I tried to use:
The method does not seems to work. I had to implement atan2 my self. Prety annoying.
Also I searched the entire API for a very basic method like: getDistance or distance between.
Did not find any of those except DistanceJoint which did not help too.
Did I missed somthing?
There is also a vmath lib which is not accessed at all duo to a missing vmath.d.ts file or somthing.
Tween still missed a lot of types in the creator.d.ts. I cannot do anything with the tween without toucing the creator file or by writing ts code like it is js code. Is it possible to fix it before the next update?
Get or set node size is strange. Was not very intuitive on my end. Had to setContentSize after creating a new node and not before it. Why is it not accessible like posision.x or rotation or scale.x or anchor?
Great web engine btw.
I hope to see the new material system soon…