farseer physics

Posted on 2010-09-16
Last Modified: 2013-12-26
I want to use farseer physics with silverlight to make some animations.

q1)I want an introductory tutorial to code with the code behind (NO xaml and NO expression Blend).

q2)can i use or do I need c#.
Question by:jagguy
  • 4
  • 3

Author Comment

ID: 33691167

Expert Comment

ID: 33694414
You should be able to download the C# source and just build the DLLs from it, then reference those in your project and use VB in your project. For the most part, it won't care that the DLLs were built from C#. It looks like there might be some issues calling a few methods, though:

The examples you linked to were apparently built for VS2008 SP1, but if you don't already have a solution created you will need to create one, then "Add Existing Project..." and point to the .csproj file.

It looks like there aren't really many people using Farseer with VB...but if there are, hopefully they can post some specific examples for you here.

Author Comment

ID: 33697580

OK thanks I wil try it.

I can use c# but some examples are what I need. A beginners turorial if you like not a 500 line demo or a simple no code xaml /blend is no good either.
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Expert Comment

ID: 33703200
This post has some info about setting up a Body, and does the work in the code-behind:

Overall, you may want to look into getting a book that will go much more in-depth. I haven't read this one, but by the description it seems like it is probably worth a look:

Author Comment

ID: 33707428
The problem is 2fold.
Farseer cant seem to get away from Blend . Blend is for making UI elements not graphics and you dont make games with UI elements. Also not much information is available withFarseer and SL.

Silverlight and 3D games same issues and SL isnt designed to make 3D games and if you need help?who makes 3D games with silverlight?

Silverlight is too new for this and Flex is established and easier to get help in.

I prefer silverlight but for more advanced games i cant think of a good reason to stick with Silverlight.

Accepted Solution

adler77 earned 500 total points
ID: 33708812
OK. I guess I don't necessarily agree that "Farseer is only for Blend"; I've used it a bit in some apps that that I needed some physics in (not games, but mostly for visualization) and I didn't touch Blend for any of it.

As for 3D--you can have perspective 3D in either Silverlight or Flash, but neither offer "true" 3D. You need to use a separate library for that. Flash has been around quite a bit longer, so I would agree that there has been much more done for 3D in that arena. I don't know that it completely counts out SL, though.

Having used both Flash for many years and SL from version 1, I must say I do prefer developing in SL much more, and it is pretty rare that I really "miss" Flash. Ultimately, though, you have to make the decision based on your target audience, what you are comfortable developing in, and the technology available. Because .NET has such wide adoption, I think the future for SL is very bright, but there are still some areas where Flash has had such a head start (such as gaming) and it is a proven platform.

Author Comment

ID: 33763226
I agree with you so and I prefer SL but see the need to develop games with Flash as SL is a little weak in some areas currently.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dialogbox API leak? 18 99
What the difference between blend and Visual Studio 3 177
Question to Pivot table 1 63
reboot server with scheduled time and week base 4 35
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question