Solved

farseer physics

Posted on 2010-09-16
7
844 Views
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 vb.net or do I need c#.
0
Comment
Question by:jagguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 8

Expert Comment

by:adler77
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: http://farseerphysics.codeplex.com/Thread/View.aspx?ThreadId=208290

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.
0
 

Author Comment

by:jagguy
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.
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 8

Expert Comment

by:adler77
ID: 33703200
This post has some info about setting up a Body, and does the work in the code-behind: http://blogs.msdn.com/b/rahul/archive/2008/09/29/physics-based-games-in-silverlight.aspx

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: https://www.packtpub.com/3d-game-development-with-microsoft-silverlight-3-beginners-guide/book
0
 

Author Comment

by:jagguy
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.
0
 
LVL 8

Accepted Solution

by:
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.
0
 

Author Comment

by:jagguy
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.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

690 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