maandag 22 juni 2009

pathfinding in action!

One of the key features of Flipper is the fact that all interaction is done through the touch-screen. Using the powerups, but also walking. I tried to make the computer as smart as possible, so it knows what you want to do. This was one of the hardest things to do for me, but the results are pretty cool.

This video shows how the player moves around. The black-dot represents the stylus. Watch how you can touch anywhere on the ground, and the player automatically moves there. Taking the shortest route possible. Watch how the computer finds his way all to the top!

1 opmerking: