Saturday, June 9, 2012

Isometric 3d Game part 3

I have used an AI to generate the optimal path for movements of the tank. I have adopted A* algorithm for that. Cost of 1 second will be accounted for both turning the tank and moving the tank to a new block.  Path is generated after each movement of the tank. Then only tank can pickup newly appeared coins or life packs near to current position of the tank..

No comments:

Post a Comment