|
  
|
|
|||||||
| Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 975
Reputation: 119
|
I've recently been working on porting over the Farseer Physics Library over for the zune. It is a full working physics library. It features:
Code:
* General
o Easy To Use!
o Support for XNA (XBOX 360 and Windows)
o Support for Silverlight (1.1 and above)
o Support for Managed .Net Languages In General
* Collison
o Concave and Convex Polygons Supported
o Multiple Collision Geometries Per Body
o Collision Categories For Complex Interaction Between Physics Objects
o Collision Callback Mechanism
o Multiple Broadphase Colliders: SelectiveSweep, SweepAndPrunde, BruteForce
o Line-Line, Line-AABB, and Line-Geometry Collision Methods
* Dynamics
o Joints
+ Revolute Joint (body to body or fixed to world)
+ Angle Joint (body to body or fixed to world)
+ Slider (Prismatic) Joint
+ Pin (Distance) Joint
o Force Controllers
+ Linear Spring
+ Angular Spring
+ Fluid Drag and Buoyancy Controller.
+ Easy To Build Custom Force Controllers (Explosions, Steering Behaviors, etc.)
* Support and Debugging
o Samples Framework With Samples Covering Most Major Engine Features. (XNA and Silverlight versions)
o Debug Viewer To View All Major Physics Objects (part of samples framework)
o User Manual (in progress)
I talked with Jeff Weber(The creator of the engine) and he has uploaded the port onto codeplex with the other versions of it. In the file you download the DLL is in the main folder so it can be easily accessed and to test out the demos you can just launch the .sln file and deploy to the zune. NOTE: I commented out most of Demo6 because i couldnt get it to work properly for some odd reason. Snag it here, It is the link at the very bottom. Also I forgot to mention, In any of the demo's, if you hold the center button and either left or right it will apply a rotational force to the object you are controlling I hope to see some games made with this! Heres a video of the Demo's on the Zune: All credit goes to Jeff Weber, The creator of the Engine
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. Last edited by LedZepp : 07-17-2008 at 11:49 AM. ![]() |
|
|
|
|
|
#2 (permalink) |
|
zB Nightshift
Support Team
Premium Member Section Staff Super Zuner |
This is a big deal and I +rep you for taking the time to do this. I can't wait to see some of the goodness to come out of this.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. "Anomalys exist, for without struggle there is no progress." This post may or may not contain accurate information. This post is that of my own opinion, knowledge, and reasoning, and does not nessessarily reflect that of CroudGather or Zuneboards and their affiliates, period. |
|
|
|
|
|
#3 (permalink) |
|
ad majorem dei gloriam
Administrator
Ultimate Zuner Join Date: Jan 2007
Posts: 6,610
Reputation: 474
|
Wow, that engine is very damn impressive! It definitely doesn't like forces acting on alot of bodies. Even the demo game is fun!
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
#4 (permalink) | |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 975
Reputation: 119
|
Quote:
This engine saves time spent on creating collisions, and weird shapes, and that sort of stuff. I especially like the collision detection, It's really precise and you can customize what happens when a certain object collides with another Edit: Also I forgot to mention, In any of the demo's, if you hold the center button and either left or right it will apply a rotational force to the object you are controlling
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. Last edited by LedZepp : 07-17-2008 at 11:41 AM. ![]() |
|
|
|
|
|
|
#6 (permalink) |
|
zB Programmer
Jr. Member Join Date: May 2008
Location: Bremen, germany
Posts: 454
Reputation: 246
|
LedZepp! You did what I really wanted to have.... wow! This is awesome! I used Farseer before... look here: This is what I started with Farseer before I got the Zune fever (Some of you might remember some of the graphics
): Great!! I am already familiar with the engine and now I can use it on the Zune... Wow! +++++Rep
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() ![]() ![]() |
|
|
|
|
|
#7 (permalink) |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 975
Reputation: 119
|
Thanks guys, That game looks excellent Dirk.
Im glad you know a little about Farseer, Im wondering if you know the answer to this question then. I asked it on the Codeplex discussions page but i havent gotten a response for it yet. I was trying to use the FluidDragController just to test it out and mess around with it a bit. Im able to deploy it with no errors and everything seems fine, except that it doesnt show up on the screen anywhere, I thought that maybe the texture for it is just not getting drawn, but my object doesnt even get affected where the "fluid" should be. Heres my code for it, maybe you can see something wrong. Code:
recBody = BodyFactory.Instance.CreateRectangleBody(physicsSimulator, 100, 100, 1); rectangleGeom = GeomFactory.Instance.CreateRectangleGeom(physicsSimulator, recBody, 100, 100); waterAABB = new AABB(new Vector2(150, 240), new Vector2(50, 140)); waterContainer = new AABBFluidContainer(waterAABB); fluidDragController = new FluidDragController(); fluidDragController.AddGeom(rectangleGeom); fluidDragController.Initialize(waterContainer, .5f, 3.3f, 1, new Vector2(0, 100)); // Demo's Gravity is (0,200) physicsSimulator.ControllerList.Add(fluidDragController);
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() |
|
|
|
|
|
#8 (permalink) |
|
zB Nightshift
Support Team
Premium Member Section Staff Super Zuner |
Maybe your gravity is set too low for the fluid to not wtfdisappear? Not sure, its been awhile since I've played with Farseer.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. "Anomalys exist, for without struggle there is no progress." This post may or may not contain accurate information. This post is that of my own opinion, knowledge, and reasoning, and does not nessessarily reflect that of CroudGather or Zuneboards and their affiliates, period. |
|
|
|
|
|
#9 (permalink) |
|
zB Programmer
Jr. Member Join Date: May 2008
Location: Bremen, germany
Posts: 454
Reputation: 246
|
I never used the fluidcontrollers.... but your code looks ok so far... I don't know if the last line is the problem though. Did you try to find a similar problem on the discussion page of the codeplex site?
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() ![]() ![]() |
|
|
|
|
|
#10 (permalink) |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 975
Reputation: 119
|
Adding in a texture for it helped lol, I found it hiding in the Top Left corner.
Unfortunately its not acting like water, just as a rectangle that collides with everything, hmm...
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() |
|
|
|
|
|
#11 (permalink) |
|
zB Nightshift
Support Team
Premium Member Section Staff Super Zuner |
Oh and LedZepp is this the "Secret Project" you stated you were busy working on?
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. "Anomalys exist, for without struggle there is no progress." This post may or may not contain accurate information. This post is that of my own opinion, knowledge, and reasoning, and does not nessessarily reflect that of CroudGather or Zuneboards and their affiliates, period. |
|
|
|
|
|
#13 (permalink) |
|
Experienced Zuner
Join Date: Jun 2008
Posts: 141
Reputation: 10
|
demos were fun can't wait too see wat else you have
![]() demo 7 is like a scorpian or some thing lol
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() |
|
|
|
|
|
#16 (permalink) |
|
Zuner
Join Date: Jun 2008
Location: USA
Posts: 54
Reputation: 34
|
+rep I have been waiting for a physics engine to mess with! I've got some ideas already..
Good work LedZepp! You rock!
__________________
Here's my deviantART website: To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() |
|
|
|
|
|
#17 (permalink) |
|
Jr. Member
Join Date: May 2008
Posts: 410
Reputation: 60
|
One thing you might try (if you haven't already) is to turn off the broad phase collision detection. I have it from a pretty reliable source that that will increase your performance. I haven't tried it personally though, so don't blame me if they were wrong.
![]() |
|
|
|
|
|
#18 (permalink) |
|
Experienced Zuner
Join Date: Sep 2007
Location: Vermont
Posts: 177
Reputation: 18
|
good job ledzepp. maybe when im done my first game(a port of the xna 2.0 tutorial for xbox 360) and zuno, i'll play around with it. +rep
__________________
\nn/===IRON MAIDEN RULES===\nn/ Xbox live/Zune= Epocilyps. Invites are fine. need people with zunes on my friends list. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() |
|
|
|
|
|
#19 (permalink) |
|
Zuner
Join Date: Jun 2008
Location: USA
Posts: 54
Reputation: 34
|
There is a new version (2.0) of the Farseer Physics Engine just so you know. It would be great to have an update for the Zune version. I don't know what changes need to be made for it to work, but I'd love to play around with the engine and maybe even make a game with it.
Farseer Physics Engine - Release: Farseer Physics Engine 2.0
__________________
Here's my deviantART website: To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() |
|
|
|