Old 06-01-2008, 08:12 PM   #1 (permalink)
Zewbie
 
Join Date: Jun 2008
Posts: 6
ujax is on a distinguished road
Default [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



ujax is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 06-01-2008, 08:14 PM   #2 (permalink)
Formally known as Zach
Support Team
GFX Crew
Super Moderator
Super Zuner²
 
Trogdor's Avatar
 
Join Date: Mar 2007
Location: Nowhere, USA
Posts: 4,283
Trogdor is a splendid one to beholdTrogdor is a splendid one to beholdTrogdor is a splendid one to beholdTrogdor is a splendid one to beholdTrogdor is a splendid one to beholdTrogdor is a splendid one to behold
Default

also it needs 30 support
__________________
Quote:
Originally Posted by BroiledVictory
09:10 PM Trog isn't that bad......





Trogdor is offline   Reply With Quote
Old 06-01-2008, 08:16 PM   #3 (permalink)
Expert Zuner
 
Soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 3,031
Soccerfreak24 is just really niceSoccerfreak24 is just really niceSoccerfreak24 is just really nice
Default

^^ no 30 gig support? I guess i'll just wait till my 8 gig gets back from repair. :-(
__________________





Soccerfreak24 is offline   Reply With Quote
Old 06-01-2008, 09:17 PM   #4 (permalink)
Zewbie
 
Join Date: Jun 2008
Posts: 6
ujax is on a distinguished road
Default

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?



ujax is offline   Reply With Quote
Old 06-01-2008, 10:18 PM   #5 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 803
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

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



ShotgunSnipist is offline   Reply With Quote
Old 06-01-2008, 10:32 PM   #6 (permalink)
Zewbie
 
Join Date: Jun 2008
Posts: 6
ujax is on a distinguished road
Default

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.



ujax is offline   Reply With Quote
Old 06-01-2008, 11:21 PM   #7 (permalink)
Jr. Member
 
brenttiscool15's Avatar
 
Join Date: May 2008
Location: Victorville, CA
Posts: 284
brenttiscool15 is on a distinguished road
Send a message via AIM to brenttiscool15 Send a message via MSN to brenttiscool15 Send a message via Yahoo to brenttiscool15
Default

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..
__________________






brenttiscool15 is offline   Reply With Quote
Old 06-02-2008, 06:14 PM   #8 (permalink)
Member
 
MUfan1313's Avatar
 
Join Date: Dec 2007
Posts: 513
MUfan1313 is on a distinguished road
Default

a pic would be nice



MUfan1313 is offline   Reply With Quote
Old 06-02-2008, 06:34 PM   #9 (permalink)
Super Zuner
 
Tobososlow's Avatar
 
Join Date: Nov 2007
Location: In a hypocritical world
Posts: 1,660
Tobososlow is a name known to allTobososlow is a name known to allTobososlow is a name known to allTobososlow is a name known to all
Default

Quote:
Originally Posted by brenttiscool15 View Post
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.
__________________




Tobososlow is offline   Reply With Quote
Old 06-03-2008, 09:35 AM   #10 (permalink)
Experienced Zuner
 
Join Date: May 2008
Posts: 122
Huntsman85 is on a distinguished road
Default

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





Huntsman85 is offline   Reply With Quote
Old 06-03-2008, 10:21 AM   #11 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

Quote:
Originally Posted by ShotgunSnipist View Post
I love it!
This is really creative.
Reminds me of interactive buddy in so many ways...
that was just what i was thinking...




cable729 is offline   Reply With Quote
Old 06-03-2008, 10:52 AM   #12 (permalink)
Experienced Zuner
 
daneboyzzz's Avatar
 
Join Date: May 2008
Location: FL
Posts: 130
daneboyzzz is on a distinguished road
Send a message via AIM to daneboyzzz
Default

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




daneboyzzz is offline   Reply With Quote
Old 06-03-2008, 12:47 PM   #13 (permalink)
Experienced Zuner
 
deathnote0's Avatar
 
Join Date: May 2008
Posts: 105
deathnote0 is on a distinguished road
Default

pic or vid?



deathnote0 is offline   Reply With Quote
Old 06-03-2008, 12:52 PM   #14 (permalink)
Experienced Zuner
 
Join Date: Jan 2008
Posts: 156
Lare2 is on a distinguished road
Default

Let me try it. Thanks
__________________
Proud Zune 80 Owner



Lare2 is offline   Reply With Quote
Old 06-03-2008, 09:05 PM   #15 (permalink)
Squirt
 
Join Date: May 2008
Posts: 28
N E S T E A is on a distinguished road
Default

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.



N E S T E A is offline   Reply With Quote
Old 06-03-2008, 09:22 PM   #16 (permalink)
Experienced Zuner
 
Join Date: May 2008
Location: Portland, OR
Posts: 121
ljtj28 is on a distinguished road
Default

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




ljtj28 is offline   Reply With Quote
Old 06-03-2008, 09:44 PM   #17 (permalink)
Expert Zuner
 
Soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 3,031
Soccerfreak24 is just really niceSoccerfreak24 is just really niceSoccerfreak24 is just really nice
Default

Quote:
Originally Posted by daneboyzzz View Post
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.
__________________





Soccerfreak24 is offline   Reply With Quote
Old 06-03-2008, 10:33 PM   #18 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 803
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Quote:
Originally Posted by daneboyzzz View Post
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



ShotgunSnipist is offline   Reply With Quote
Old 06-04-2008, 03:25 AM   #19 (permalink)
Squirt
 
Little Zune Buggy's Avatar
 
Join Date: May 2008
Posts: 16
Little Zune Buggy is on a distinguished road
Default

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
__________________




Little Zune Buggy is offline   Reply With Quote
Old 06-05-2008, 04:04 AM   #20 (permalink)
Jr. Member
 
tech.freak243's Avatar
 
Join Date: Jan 2008
Location: Hotel California
Posts: 468
tech.freak243 is on a distinguished road
Send a message via AIM to tech.freak243 Send a message via MSN to tech.freak243 Send a message via Yahoo to tech.freak243
Default

yes i would agree. INTERACTIVE BUDDY RULES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!: D
__________________


Created by StevenLogiduce<--best dude ever!






tech.freak243 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools