Andre D. Lima

Results 13 comments of Andre D. Lima

Thank you. It's a lot better than before, but if I add another dropdown, I have to tab twice to make the second one open. Do you know if there's...

I don't know how the best pratices for raycasting are either, but I did develop one prototype for use with the Kontra game engine. Here's the link for the demo,...

Awesome. Let me know if something is not clear and I'll try to explain my implementation a bit better.

It should be straight forward to translate their grid movement controller ( https://github.com/HaxeFlixel/flixel-demos/blob/master/Input/GridMovement/source/Player.hx ) to Kontra, and put it in place of the current controller code. I can try to...

The current implementation only allows collisions with a tile layer, but it shouldn't be too hard to make it work with other objects. I'm adding this to my todo list.

To update to JS, remove all protected/public/private variable declarations and put them in the classes constructor. ``` public body; constructor() {} ``` becomes: ``` constructor() { this.body = 123; }...

@wini3d I just pushed to master the implementation for the grid movement. Check the `snapped.ts` file. It didn't work very well with the Controller interface and the collider, but it's...

The ray is defined by 2 points that could be represented as Kontra Vectors, but aren't right now. The helper/index.ts and ray.ts files have direction and length functions, but it...

Nice. Lot's of new features coming in v7 apparently. Would we also get TS typings with it?

Nope. Sorry, but I won't have the time to work on it for a while.