|
|
#1 (permalink) | |
|
Zewbie
Join Date: Jun 2008
Posts: 6
Reputation: 13
|
Quote:
TODO - Ribbon trails Fix crappy gravity orb resizing Menu Screen Per Pixel collision I'm looking for help tweaking my constants. Currently the gravity behaves physically correct, but the constants (mass,etc) aren't quite enjoyable. So if you have any suggestions in increasing orbit tendency and decreasing the tendency for the ball to get stuck, please let me know. Also, why doesn't XNA have vector drawing methods (DrawRect, DrawCircle, DrawLine, etc.)? That seems like a huge and basic feature that Microsoft is just ignoring. Last edited by ujax; 06-01-2008 at 08:35 PM.. Reason: 30 Support Added |
|
|
|
|
| Advertisement | [Remove Advertisement] | ||
|
|
|
|
#4 (permalink) |
|
Zewbie
Join Date: Jun 2008
Posts: 6
Reputation: 13
|
I added support for the 30 gig, I think. As in, I mapped the DPad to control things too. That's the best way yea?
And, is there anyway to separate 30 controls from 4/8/80 controls? As in, some way to check what the hardware is? |
|
|
|
|
|
#6 (permalink) |
|
Zewbie
Join Date: Jun 2008
Posts: 6
Reputation: 13
|
I have an idea...the formula for gravity between two bodies is (someConstant * mass1 * mass2) / radius^2. Radius being the distance from body1 to body2. Which means that as the radius approaches zero, the gravity becomes infinite. Because I'm not dealing with solid bodies, but points, the radius is able to approach zero.
Now I limit the effects of that by limiting the velocity of the ball; right now it can't exceed 2 pixels per frame. What it really comes down to is tweaking the masses, velocity limits, etc for a "fun" gravity. If you would like to take a look inside the source code and try to find a sweet spot, please do! In the mean time I'll be doing the same. |
|
|
|
|
|
#15 (permalink) |
|
Squirt
Join Date: May 2008
Posts: 28
Reputation: 10
|
I have a interesting ideea for you.
instead of making the ball always constantly moving without losing speed ,why dont you make it so the ball is on the bottom of the screen and when u press the dpad,up. the ball slowly moves, as you would apply pressure on it. and then let it drop and have life like physics. or make this into a game. have you ever played iphysics in sandbox mode? its awsome. its a sandbox. and u touch to make balls,shapes.....etc. and they all have gravity. but if you double tap the screen(pad in our case) the objects spin like on a axle. ..... complicated? ...yes cool? ......very IF possible, give that a shot. |
|
|
|
|
|
#18 (permalink) | |
|
Zune Guardian
|
Quote:
"Very alpha tech demo to stake out my claim in the current development frenzy. The game showcases physically accurate point-point gravity. Future plans are for a golf-like game, or some other wacky use of physics, along with a more robust sandbox mode." Right now, all it is is a cool gravity.... thing. ![]() |
|
|
|
|
|
|
#19 (permalink) |
|
Squirt
Join Date: May 2008
Posts: 16
Reputation: 10
|
From what I've read this demo seems like it is pretty far advanced, if you could apply this to a system like Interactive buddy I could be ammused for hours. I love that game and it would be easy enough to do for the zune. Then we could have a portable interactive buddy
![]()
__________________
![]()
|
|
|
|
![]() |
| Thread Tools | |
|
|
| |