Solved

farseer physics

Posted on 2010-09-16
7
836 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
  • 4
  • 3
7 Comments
 

Author Comment

by:jagguy
Comment Utility
0
 
LVL 8

Expert Comment

by:adler77
Comment Utility
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
Comment Utility

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 8

Expert Comment

by:adler77
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now