Survival Horde Prototype
I had been in the mood to make a new browser game. Considering how great Navmesh is I decided to make a prototype of a survival horde game. The pathing for the current basic enemy was done using the player as the object Navmesh will move to along with baking in the obstacles into the navigation. Snapping the player to do grid like movements was relatively simple however I quickly ran into an issue with the player ignoring the obstacles. I wound up making the obstacles into triggers and telling the player to move to its previous position if it collides. I want to implement some mechanim conditions that will fit with the player running into the obstacles and moving back, just cause its funny. In the next few days I plan to have a couple of weapons and an enemy for the next update. Hopefully add meshes so its not just cubes and other primitives.
0 comments:
Post a Comment