Loading...

Multi-Touch Base Defense Game (Part 3)

208 views

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jun 22, 2011

This is a comparison between not using and using the Farseer Physics Engine on the collisions between the projectiles and the objects placed on the Microsoft Surface.
As you can see at the first time, when the projectile-paper collision occures, the projectile just flips it's direction cause all I did was multiply the velocity by -1, and sometime it even got stuck under the paper.
and as you see in the second time, when the projectile-paper collision occures, a more realistic bouncing-back happens, that's because I kept working on some code today so that I can turn the objects placed on the surface into bodies that can be inserted into the "world" of the Farseer Physics Engine.
It might sound easy at first, but the whole problem lies in the performance, because all the operations needed to do this task take too much time and cause the game to run at an extremely low frame rate !

Loading...

to add this to Watch Later

Add to

Loading playlists...