Ethan Chan

Results 46 comments of Ethan Chan

Is there something like that for keyboard events?

We have a `get_image` function that takes a screenshot of the screen. It takes x, y, width, and height parameters. It returns a PIL image, which can be saved. An...

Thanks for your responses. I've fixed the repo link, so it should work now. Run `profiler.py` to see the profiling results. > Secondly, I wonder if you could also provide...

It seems it's being called when checking for collisions. I've added custom collision detection using AABBs and it has replaced arcade.gl.query as the slowest method.

I was able to solve my problem of collision checks by using a spatial hash that updated periodically and using aabbs with C++ extension modules.

I actually used a custom implementation of collision checking. I also used a timer to update the spatial hash map for my constantly moving entities. Normally the spatial hash map...

> but I'm also interested in getting Box2D bindings working for more options. I wouldn't recommend Box2D since none of its Python bindings are actively maintained, and the 3.0 release...

Sorry, I think I missed that.

I'll make a PR for this once the other ones are merged.

This can also apply to pyrotechnics and particles, which also use `enum` instead of `enum class`.