06-01-2008, 08:12 PM
|
#1 (permalink)
|
|
Zewbie
Join Date: Jun 2008
Posts: 6
|
[ALPHA] Gravity
Quote:
Game - Gravity
Creator - pokoto
Version - v0.1 [alpha]
Compatibility - 30/4/8/80
Description - 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.
Instructions - There are two modes. Press Play to switch between them. In the Move mode, use the Touchpad or DPad to apply a force to the ball, and press the Touchpad to slow the ball. In the Edit mode, use the Touchpad or DPad to move the cursor around. Press the Touchpad once to begin creating a gravity circle, then drag to the desired size (and proportional mass), and then press again to create it. Once you have created three gravity circles, the current maximum, press the Touchpad once more to clear them all.
Download URL - Please do not distribute this URL
|
I will upload screenshots as soon as I get ribbon trails programmed in and enable PC controls. On an unrelated note, if anyone could give me a tip in the right direction on programming ribbon trails...
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 09:35 PM.
Reason: 30 Support Added
|
|
|
06-01-2008, 08:14 PM
|
#2 (permalink)
|
|
Formally known as Zach
Support Team GFX Crew Global Moderator Super Zuner²
Join Date: Mar 2007
Location: Nowhere, USA
Posts: 4,211
|
also it needs 30 support


|
|
|
06-01-2008, 08:16 PM
|
#3 (permalink)
|
|
Support Team Expert Zuner
Join Date: Nov 2007
Posts: 3,027
|
^^ no 30 gig support? I guess i'll just wait till my 8 gig gets back from repair. :-(
__________________


|
|
|
06-01-2008, 09:17 PM
|
#4 (permalink)
|
|
Zewbie
Join Date: Jun 2008
Posts: 6
|
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?
|
|
|
06-01-2008, 10:18 PM
|
#5 (permalink)
|
|
Zune Guardian
Join Date: May 2008
Location: Colorado
Posts: 799
|
I love it!
This is really creative.
Reminds me of interactive buddy in so many ways...
But anyway, do you know why when the ball gets sucked into a drawn circle it shoots out like a maniac?
__________________
Invisible Text. =P
|
|
|
06-01-2008, 10:32 PM
|
#6 (permalink)
|
|
Zewbie
Join Date: Jun 2008
Posts: 6
|
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.
|
|
|
06-01-2008, 11:21 PM
|
#7 (permalink)
|
|
Jr. Member
Join Date: May 2008
Location: Victorville, CA
Posts: 282
|
the game is pretty cool i guess..im playin it on my 30 gig..
umm its kinda repeptive after a while...maybe some new features or other things to do...
other than that..good idea though..
__________________

|
|
|
06-02-2008, 06:14 PM
|
#8 (permalink)
|
|
Member
Join Date: Dec 2007
Posts: 513
|
a pic would be nice
|
|
|
06-02-2008, 06:34 PM
|
#9 (permalink)
|
|
Super Zuner
Join Date: Nov 2007
Location: In a hypocritical world
Posts: 1,663
|
Quote:
Originally Posted by brenttiscool15
the game is pretty cool i guess..im playin it on my 30 gig..
umm its kinda repeptive after a while...maybe some new features or other things to do...
other than that..good idea though..
|
It's in alpha, there's obviously going to be more added.

|
|
|
06-03-2008, 09:35 AM
|
#10 (permalink)
|
|
Experienced Zuner
Join Date: May 2008
Posts: 122
|
This reminds me of the space lander game. When I create a planet or whatever they are, the ball always gets stuck on the corner. I think you've got the start of something here though. Good job


|
|
|
06-03-2008, 10:21 AM
|
#11 (permalink)
|
|
Jr. Member
Join Date: May 2008
Posts: 312
|
Quote:
Originally Posted by ShotgunSnipist
I love it!
This is really creative.
Reminds me of interactive buddy in so many ways...
|
that was just what i was thinking...

|
|
|
06-03-2008, 10:52 AM
|
#12 (permalink)
|
|
Experienced Zuner
Join Date: May 2008
Location: FL
Posts: 130
|
Um, i don't get the point of this game. Does it supposed to be fun? Ya, interactive buddy would be kinda cool to have. This isnt like it tho

|
|
|
06-03-2008, 12:47 PM
|
#13 (permalink)
|
|
Experienced Zuner
Join Date: May 2008
Posts: 105
|
pic or vid?
|
|
|
06-03-2008, 12:52 PM
|
#14 (permalink)
|
|
Experienced Zuner
Join Date: Jan 2008
Posts: 156
|
Let me try it. Thanks
__________________
Proud Zune 80 Owner
|
|
|
06-03-2008, 09:05 PM
|
#15 (permalink)
|
|
Squirt
Join Date: May 2008
Posts: 28
|
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.
|
|
|
06-03-2008, 09:22 PM
|
#16 (permalink)
|
|
Experienced Zuner
Join Date: May 2008
Location: Portland, OR
Posts: 121
|
I'm not going to lie, it's pretty fun playing around with gravity and a ball....very unique game. Hopefully music support in the future

|
|
|
06-03-2008, 09:44 PM
|
#17 (permalink)
|
|
Support Team Expert Zuner
Join Date: Nov 2007
Posts: 3,027
|
Quote:
Originally Posted by daneboyzzz
Um, i don't get the point of this game. Does it supposed to be fun? Ya, interactive buddy would be kinda cool to have. This isnt like it tho
|
It's not a game  it's just demonstrating how gravity can be implemented into a game.
__________________


|
|
|
06-03-2008, 10:33 PM
|
#18 (permalink)
|
|
Zune Guardian
Join Date: May 2008
Location: Colorado
Posts: 799
|
Quote:
Originally Posted by daneboyzzz
Um, i don't get the point of this game. Does it supposed to be fun? Ya, interactive buddy would be kinda cool to have. This isnt like it tho
|
It's not a game. Notice what the coder said.
"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.
__________________
Invisible Text. =P
|
|
|
06-04-2008, 03:25 AM
|
#19 (permalink)
|
|
Squirt
Join Date: May 2008
Posts: 16
|
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
__________________
|
|
|
06-05-2008, 04:04 AM
|
#20 (permalink)
|
|
Jr. Member
Join Date: Jan 2008
Location: Hotel California
Posts: 430
|



|
|
|
|