Friday, December 17, 2010

Farseer Physics Engine for XNA - Magnet Simulation

Nowadays, physics is playing important role in games. Since it is so important so I think I should give it a try. I've chosen Farseer Physics Engine for XNA, it's quite nice to use and it is developed based on Box2D :)

Here are some tech demo that I've done. What I'm trying to do is basically testing the attract and repel effects of magnet.

Sample screenshots:
*Screenshot 1

*Screenshot 2

*Screenshot 3

*The implementation

Video demo:




If you are interested to test out this demo by yourself, feel free to download it:
(You need to install at least XNA 3.1 redistributable before you can run it)

No comments:

Post a Comment