Physics gravity conundrum

For questions about using Classic.

Post » Mon Sep 22, 2008 1:57 pm

[quote="deadeye":s228z4sb]Yeah, that's the fun of it :) It's a puzzle, man.[/quote:s228z4sb]

I know mate ;)

Just pickin' on ya.

Hopefully we can work this out as a group, even if none of us ever use it for anything... it helps keep the "juices" flowing.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Mon Sep 22, 2008 2:50 pm

The reason it's not working right is you're doing the physics calculations wrong
[url:1dakcr2h]http://en.wikipedia.org/wiki/Newton's_law_of_universal_gravitation[/url:1dakcr2h]
[url:1dakcr2h]http://www.quozzzigcs.cap%20NO%20THIS%20IS%20CRAP[/url:1dakcr2h]

EDIT: Though it does tend to flail around in circles a bit if you have loads of circles.

EDIT2: Also, since it resets the force each tick so it can work out the new gravity force, (as the gravity force shouldn't accumulate) if you set the force to something else (like if you wanted to shoot them and they break apart) it will just not work. I'll try to remedy this.

EDIT3: [url:1dakcr2h]http://www.quotecats.com/what/phyuiziixckzxez.cap[/url:1dakcr2h]
much better, though I can't manage to add the ship to the family "Blue" (this has gotta be a bug?) It's especially cool if you ramp up the ship's mass and force towards the mouse, then you can smash apart the asteroid clumps.
B
2
S
2
G
5
Posts: 236
Reputation: 2,122

Post » Mon Sep 22, 2008 11:11 pm

Hell yeah faggatron! That's awesome! Good job :mrgreen:


Made some small changes:

http://www.fileshack.us/get_file.php?id ... eroids.cap

Left/right to turn, up to thrust, space to fire.

Clicking adds more asteroids, the ship's bullets blow them apart.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Sep 23, 2008 12:26 am

What's this eh?? EH?!?

A WHAT? A COMMUNITY BUILT GAME YOU [size=150:2w6es0v7]SAY?!?![/size:2w6es0v7]

[size=150:2w6es0v7]THIS IS INSANE![/size:2w6es0v7] [size=150:2w6es0v7]THIS....[/size:2w6es0v7]

[size=200:2w6es0v7]IS SCIRRA!!!!!!!!!![/size:2w6es0v7]

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Tue Sep 23, 2008 12:36 am

Well if anyone's interested in turning this into a community project I'm down for it. We might want to move away from the whole Asteroids style gameplay though, I don't want to step on Graviroid's toes. I mean, that dude just released his game like a few days ago.

Would be interesting to see what other styles of gameplay we could come up with while still using the gravity thingumer though. Some kind of puzzle game maybe?

Edit: I mean community project like how it's been going so far, kinda casual style. I don't want to commit to anything, but if I feel like it I might tweak it a bit or add some graphics now and then or something.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Sep 23, 2008 1:42 am

Yeah I'm cool to try and contribute where possible on a strictly platonic level... I guess we could have some kind of "gravity herding" puzzle fest where the player has to coax the gravitons into a, or several "goal" areas? We could even change it from a spaceship to something like a little dude using a "ghostbusters gun"... or bacteria in a petree dish being zapped with antibiotics?

I dunno, but it sounds like we could have some casual fun messing around with this!

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Tue Sep 23, 2008 2:23 am

I like the bacteria thing, that's a cool idea. Like you could be a medical nanobot or something swimming around in someone's bloodstream and you have to blast away bacteria that are going for healthy blood cells, but you have to be careful not to blast the blood cells themselves.

Seems like it would be a good chance to show off some sprite distortion and have some neat effects going on to make wiggly little ameoba bacteria things too. And the levels could be the insides of twisty veins and things and the whole level kind of undulates around.

The gravity sim would have to be slowed down and made "looser" to get the floaty effect of cells in liquid though.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Sep 23, 2008 2:31 am

I like the idea you've got going there, deadeye. By the way, to get the floaty feeling of being inside a liquid, you can just increase the world scale for the physics object. I've used it plenty with this simulation for when I have smaller/bigger particles than usual, which usual will move to slowly/fast reletive to their size.
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Tue Sep 23, 2008 2:40 am

That idea reminds me of this game:

http://www.experimentalgameplay.com/game.php?g=22
B
2
S
2
G
5
Posts: 391
Reputation: 2,432

Post » Tue Sep 23, 2008 11:33 am

[quote="deadeye":11c1dbxt]Well if anyone's interested in turning this into a community project I'm down for it. We might want to move away from the whole Asteroids style gameplay though, I don't want to step on Graviroid's toes. I mean, that dude just released his game like a few days ago.

Would be interesting to see what other styles of gameplay we could come up with while still using the gravity thingumer though. Some kind of puzzle game maybe?

Edit: I mean community project like how it's been going so far, kinda casual style. I don't want to commit to anything, but if I feel like it I might tweak it a bit or add some graphics now and then or something.[/quote:11c1dbxt]

that pm i sent you, i think it would be quite good for this dont you eh? i myself have thought of using it in THIS EXACT SAME WAY after seeing your thread.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

PreviousNext

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests