timdetering / Physics2D.Net

Automatically exported from code.google.com/p/physics2d
5 stars 2 forks source link

Silverlight 2 Beta 2 Compilation #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The Project and samples compile and run just fine when done under a
standard project, but when AdvanceMath and Physics2DDotNet projects are
referenced by a silverlight project, the compile is aborted indicating that
the referenced libraries are not Silverlight Libraries.  In an attempt to
address this, I created a couple of Silverlight library projects and copied
the code into them.  Compiling the projects resulted in quite a few errors,
many of which seem to be focused around serialization and xml handling.  

Original issue reported on code.google.com by aaron.h...@gmail.com on 16 Jun 2008 at 9:45

GoogleCodeExporter commented 8 years ago
In rereading the report, I realize that my description might be a bit cryptic.  
If it
isn't sufficient, please feel free to contact me.

Original comment by aaron.h...@gmail.com on 16 Jun 2008 at 9:47

GoogleCodeExporter commented 8 years ago
This issue is due to the fact that the Physics2DDotNet and the AdvanceMath 
projects 
are built with the full .Net Framework.  Silverlight applications run against 
the 
streamelined silverlight runtime which does not include all the functionality 
that .net has.  Because of this, the physics libraries would need to be ported 
to 
silverlight in order for them to be used by silverlight applications.  

Original comment by ButtCru...@gmail.com on 24 Jun 2008 at 7:56

GoogleCodeExporter commented 8 years ago
Based upon this it might be best to remove the "silverlight" tag from the 
project
itself.  

Original comment by aaron.h...@gmail.com on 24 Jun 2008 at 8:44

GoogleCodeExporter commented 8 years ago
If you need a physics engine for silverlight you can use the Farseer Physics 
Engine 
found here: http://www.codeplex.com/FarseerPhysics

Original comment by ButtCru...@gmail.com on 27 Jun 2008 at 1:05

GoogleCodeExporter commented 8 years ago
Farseer is quite nice.  There are however some flakeyness issues within 
silverlight.
 Probably issues with silverlight or my own programming, but I wanted to evaluate
this engine for stability within the silverlight environment.

Original comment by aaron.h...@gmail.com on 27 Jun 2008 at 5:02

GoogleCodeExporter commented 8 years ago
OK I’ve been working on this and have had the port complete for a while but 
since it 
uses a .net 3.0 feature and is in a different project I just not yet had the 
time to 
merge it into the main branch.

Original comment by Jono.Por...@gmail.com on 19 Jul 2008 at 8:59

GoogleCodeExporter commented 8 years ago
holy monkeys man!  I would be THRILLED to see a silverlight port of this.  I've 
got 
a client-server architecture in one of my projects w/ the client being 
silverlight.  
If I could use this physics engine in both, things would be much sweeter for me 
:)  
(My original plan was to use farseer for the client and Physics2d.Net for the 
server).

Original comment by ButtCru...@gmail.com on 20 Jul 2008 at 4:59

GoogleCodeExporter commented 8 years ago
Ok I've got the changes to let it compile in SilverLight in the SVN. Now let me 
see 
those SilverLight apps! :)

Original comment by Jono.Por...@gmail.com on 31 Jul 2008 at 11:55

GoogleCodeExporter commented 8 years ago
SWEET!   I'm on it!

Original comment by ButtCru...@gmail.com on 2 Aug 2008 at 6:37