Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

6 years ago by Ash_Blue

I'm currently building a simple 2D platformer with a predator AI. I need the predator to pursue players when jumping onto a ledge. Read some good ideas here, but I'm a little rough on how to implement this with ImpactJS.

http://www.gamedev.net/topic/642907-2d-platformer-ai/

In order for the predator to jump and continue chasing, I need to pre-predict the jump curve and make sure its clear. From my research the best way to do this is drawing an imaginary curved line and verifying the predators width / height don't collide. Please note I only need this to work on a game with flat surfaces.

What is the best way to determine a safe jump path with ImpactJS?

6 years ago by Ash_Blue

Currently settled on using A* to traverse the collision map while checking for entities, seems to work in theory.
Page 1 of 1
« first « previous next › last »