Well, this is a project made for college by me and two more students, the objective of this work is to implement agents that must go to certain goal avoiding obstacles using Potential Function-Based Movement.
Also, we’ve made simple chasing and evading algorithms.
It uses the physics engine Physx and it was based on the demo made by enn0x (who also has done the integration of Physx with Panda) shown in: discourse.panda3d.org/viewtopic.php?t=3108
All the models we took from the site of Panda.
In this demo you control Sonic, Tails follows him, and through a menu you can add: agents and their goal, ‘ralphs’ who runs away from you and obstacles like boxs, balls, trees and ‘pueblos’.
For now, only for Windows, cause there’s still not yet NxPanda compiled to Linux (I think).
Any comments and suggestions are welcome! There’s still a lot of things to improve, and of course, bugs to fix. Probably the next work of the course will be a extension of this one, so then we can add more here in the future.
All the source code was made in english, but the game now is in portuguese.
Some 3D models are from here (Ralph, Eve, Monster…), some came from the previous demo, others we took from another websites and some we made it.
In this game you must kill all the mosquitos with your spray, and then you face the virus itself. The mosquitos have an AI implemented with finite state machines, they reproduce in water, attack enemy, search for water, etc. They have a field of view, so you can bust it behind…
In the main menu you can change between two stages (easy and hard), go to “Opções” and switch between “Nivel Facil” (easy) and “Nivel Dificil” (hard). And play the game in “Arcade”.
Controls:
W, A, S, D to move.
F: pass the talk.
Click to shoot.
V to change view.
1-2 to switch spray/axe.
Space: jump.
Wheel button: camera distance.