David Figatner

Results 212 comments of David Figatner

I tried that. It's not clickable. Maybe you have to upgrade or something?

Also, start with a simple box-box intersection check. Only do the more expensive polygon-polygon check if the box-box check succeeds.

This looks really good. Thanks for the work. Can you update the readme file with the new usage? Probably put a note that we're deprecating certain usages in v3 (ie,...

Yes, that would be better. Hmm...I probably should add a viewport.plugins.isActive(string) and check both the existence of the plugin and whether it's paused. Ok, all fixed in v4.14.0. I added...

Hmmm...that's weird. moveCenter() works fine with negative values. You're doing it the right way: fitWidth() and moveCenter() (in either order). Can you provide more details on the center not working...

sorry, this got lost. did you figure it out? `viewport.moveCenter(-100, -100)` should work without problems.

Call `viewport.moveCenter(x, y)` where (x, y) is the world coordinates that you want at the center of the screen. Two coordinate systems: (1) the screen coordinates: this is the screen...

i never got around to finishing those examples :(

You can provide your own function or use any of the names listed here: https://easings.net/ (eg, "easeInCubic")

I don't know of any limitation on viewport working with masks. Is your mask attached at the right hierarchical level? If it's inside the viewport, it should move with it....