PDA

View Full Version : ML physics


skye
10-05-2004, 01:41 PM
I'de like to address some of the questions put forth in this forum:

Physic, physics, physics.

The concept of pressure is simple: The deeper within mars you are, the more mass is pushing down (or rather, being pulled down by gravity) from above, compacting the dirt. The more dense a material, the more work required to drill through it. Thus, the increasing time required to drill through tiles as you descend deeper. This is coded into the physics of motherload - it is not a peformance issue. Take as proof the consistent frame-rate, even while your drilling speed is slowed.

Newton's second law: F=ma, Force is equal to Mass multiplied by Acceleration. Re-arranging this formula, we get a = F/m - mass is the denominator in this equation. Mathematically, the greater the mass of the pod, the lesser its acceleration. Logically, adding minerals (comprised of matter, all of which has mass) to the inside of the pod will increase the total mass of the pod, while force stays constant.

There is no increase in gravity as you dig deeper. For more information on the (unused) law of universal gravitation, visit http://csep10.phys.utk.edu/astr161/lect/history/newtongrav.html


Gameplay Physics, or 'Physics-Shmysics'

The fact remains that a game with entirely accurate physics is hardly fun to play. Thus, while the engine of Motherload is based on Newton's fundamental laws, some constants have been tweaked and changed, and some aspects of physics ignored, to give the right 'feel' to the game.

XTTX
10-05-2004, 01:42 PM
now i have an escuse to play it during science =D.

Jonanin
10-05-2004, 02:45 PM
Very nice skye!
and... what XTTX said.

MercuryLime
10-05-2004, 03:10 PM
Next, we want a tutorial on how to make very similar games. :P

skye
10-05-2004, 03:17 PM
And give away our trade secrets? :wink:

MercuryLime
10-05-2004, 03:19 PM
What if you could get 20 members to give $20? :wink:

I've seriously thought about that: Spending a day making a tutorial on how to make a good game like that, code included, if you could raise enough money. Heck, I'd chip in $20 (american)

bombboy01
10-05-2004, 03:26 PM
aww i was about to give him $20 singaporean...:P

bombboy01
10-05-2004, 03:28 PM
oooh can you PLEASE make it that we can drill though rocks? i hate having to go around them :S

killerstick9
10-05-2004, 03:28 PM
or 20 yen :-D

Impulse
10-05-2004, 03:31 PM
oooh can you PLEASE make it that we can drill though rocks? i hate having to go around them :S

It is not required to drill through rocks. In fact, that would defeat one of the purposes of dynamite or the plastic explosives - Try them out on rocks 8)


Anyway, is there a donation area of the WebSite, Skye, or anyone else that knows of one? If so, I'd like to know about it. I'd like to wire you guys a few bucks for your fantastic efforts.

Jonanin
10-05-2004, 03:34 PM
Yeah, I would chip in, but only if you made a tutorial for us Flash Developers.

bombboy01
10-05-2004, 03:36 PM
blackmail! yay! ill chip in 30 VD if you make a tutorial

Jonanin
10-05-2004, 03:39 PM
But skye, Seriously, you could make alotta $$$ from making tutorials... your getting away with Ads, now, getting cold hard cash from Fans is alot better isn't it? See how many people are begging for a simple tutorial... i just cant work out in my head how the digging would be scripted in flash...

killerstick9
10-05-2004, 03:45 PM
if he tells his secrets away then other people would make the game to.

Jonanin
10-05-2004, 03:46 PM
hmm... He doesn't have to tell his secrets.

MercuryLime
10-05-2004, 03:54 PM
It wouldn't be the code, it would just be code samples and explanations.

Jonanin
10-05-2004, 06:25 PM
exactly! skye, i hope you read this... and consider it!

The Brown Cow
10-05-2004, 07:56 PM
But if he told you how to make Motherload, you'd learn how to make... Motherload.

What's more important is to learn how ActionScript works so you can make your own great games. Most of the things Skye could write about you can find already out there. The trick is in applying them (Which Skye does quite well :D ).

Afterburner
10-05-2004, 08:06 PM
Physics topic? And no Diamond187 to point out inconsistencies yet?

Problems I see right now:

That massive pressure is inconsistent with the rocks in the game. Many rocks are made from pressure; either beyond a certain point EVERYTHING is rock, or the rocks ought to be able to be easily drillable.

I would suggest replacing rock with something like a new element as yet undiscovered: it's unrealistic but better than the fact that all that pressure can compact dirt to the point that diamond takes a LONG time to drill through it, yet that same dirt isn't turned into rock (which diamond supposedly can't drill through).

The Red Baron
10-05-2004, 09:45 PM
I'de like to address some of the questions put forth in this forum:

Physic, physics, physics.

The concept of pressure is simple: The deeper within mars you are, the more mass is pushing down (or rather, being pulled down by gravity) from above, compacting the dirt. The more dense a material, the more work required to drill through it. Thus, the increasing time required to drill through tiles as you descend deeper. This is coded into the physics of motherload - it is not a peformance issue. Take as proof the consistent frame-rate, even while your drilling speed is slowed.

Newton's second law: F=ma, Force is equal to Mass multiplied by Acceleration. Re-arranging this formula, we get a = F/m - mass is the denominator in this equation. Mathematically, the greater the mass of the pod, the lesser its acceleration. Logically, adding minerals (comprised of matter, all of which has mass) to the inside of the pod will increase the total mass of the pod, while force stays constant.

There is no increase in gravity as you dig deeper. For more information on the (unused) law of universal gravitation, visit http://csep10.phys.utk.edu/astr161/lect/history/newtongrav.html


Gameplay Physics, or 'Physics-Shmysics'

The fact remains that a game with entirely accurate physics is hardly fun to play. Thus, while the engine of Motherload is based on Newton's fundamental laws, some constants have been tweaked and changed, and some aspects of physics ignored, to give the right 'feel' to the game.

but i have a question
according to reader's digest, it once said that if you could ignore the heat of the centre of the earth, you still wuldn't be able to dig all the way to china?
why?-because there's no gravity at the centre of the earth
the same rule should apply to mars too, so technically, the more close you get to the centre of mars, the less gravity there will be.

bobmasedo
10-06-2004, 02:39 AM
Theres a donate button on the start of SRPG I think

Liokae
10-06-2004, 04:05 AM
I'de like to address some of the questions put forth in this forum:

Physic, physics, physics.

The concept of pressure is simple: The deeper within mars you are, the more mass is pushing down (or rather, being pulled down by gravity) from above, compacting the dirt. The more dense a material, the more work required to drill through it. Thus, the increasing time required to drill through tiles as you descend deeper. This is coded into the physics of motherload - it is not a peformance issue. Take as proof the consistent frame-rate, even while your drilling speed is slowed.

Newton's second law: F=ma, Force is equal to Mass multiplied by Acceleration. Re-arranging this formula, we get a = F/m - mass is the denominator in this equation. Mathematically, the greater the mass of the pod, the lesser its acceleration. Logically, adding minerals (comprised of matter, all of which has mass) to the inside of the pod will increase the total mass of the pod, while force stays constant.

There is no increase in gravity as you dig deeper. For more information on the (unused) law of universal gravitation, visit http://csep10.phys.utk.edu/astr161/lect/history/newtongrav.html


Gameplay Physics, or 'Physics-Shmysics'

The fact remains that a game with entirely accurate physics is hardly fun to play. Thus, while the engine of Motherload is based on Newton's fundamental laws, some constants have been tweaked and changed, and some aspects of physics ignored, to give the right 'feel' to the game.

but i have a question
according to reader's digest, it once said that if you could ignore the heat of the centre of the earth, you still wuldn't be able to dig all the way to china?
why?-because there's no gravity at the centre of the earth
the same rule should apply to mars too, so technically, the more close you get to the centre of mars, the less gravity there will be.

There's less *gravity*, yes, but there's also much more *pressure*.

Afterburner
10-06-2004, 06:52 AM
Besides, I don't think you even come close to getting to the center of Mars.

motherload freak
10-06-2004, 11:33 AM
You do, I think the center of mars is the place where you meet the game's boss.

c00lryguy
10-06-2004, 12:00 PM
or let us travel through time :) if you almost died from a gas pocket and ur outta nanobots, goto the past and stop urself from hitting that gas pocket :)

The Brown Cow
10-06-2004, 02:05 PM
according to reader's digest, it once said that if you could ignore the heat of the centre of the earth, you still wuldn't be able to dig all the way to china?

You'd also be rather squished.

skye
10-06-2004, 04:56 PM
Problems I see right now:

That massive pressure is inconsistent with the rocks in the game. Many rocks are made from pressure; either beyond a certain point EVERYTHING is rock, or the rocks ought to be able to be easily drillable.

I would suggest replacing rock with something like a new element as yet undiscovered: it's unrealistic but better than the fact that all that pressure can compact dirt to the point that diamond takes a LONG time to drill through it, yet that same dirt isn't turned into rock (which diamond supposedly can't drill through).

You are forgetting about an important player in geophysics: Tectonic plates. Shifting tectonic plates can cause earthquakes, volcanoes, and all other sorts of crust deforming/re-arranging activity.

MercuryLime
10-06-2004, 05:47 PM
I'd like to imagine 2 dimensional tectonic plate physics. >_<

Freddy
10-06-2004, 07:58 PM
so do you fall faster with a large load?
there is more mass.

and does damage to the hull vary with speed or distance?

MercuryLime
10-06-2004, 08:04 PM
Yes to the latter.

Afterburner
10-06-2004, 08:19 PM
Problems I see right now:

That massive pressure is inconsistent with the rocks in the game. Many rocks are made from pressure; either beyond a certain point EVERYTHING is rock, or the rocks ought to be able to be easily drillable.

I would suggest replacing rock with something like a new element as yet undiscovered: it's unrealistic but better than the fact that all that pressure can compact dirt to the point that diamond takes a LONG time to drill through it, yet that same dirt isn't turned into rock (which diamond supposedly can't drill through).

You are forgetting about an important player in geophysics: Tectonic plates. Shifting tectonic plates can cause earthquakes, volcanoes, and all other sorts of crust deforming/re-arranging activity.

Well, yes, but that wasn't my point. Unless *all* rocks are formed via tectonic plates, some have to be the result of pressure, which would not make sense.

It's a minor point, granted, but my fuel efficiency topic was even more of a minor point. Just add some note in the game about how Martian rocks are created via a special process. ALTERNATE idea: make the rocks instead other people's pods that have blown up (like the ones in all those messages you see. Makes sense cuz they have strong hulls and whatnot. Maybe even allow you to extract their stash if your drill strength > their hull strength.

MercuryLime
10-07-2004, 08:51 AM
That's a cool idea.

Afterburner
10-07-2004, 09:29 AM
I know, isn't it? I was thinking last night and it kicks so much bootay. Maybe even you can extract fuel. Perhaps the pods may prove a hazard if you accidentally drill into them. Maybe they have buckets of amazonite and only at 100 feet.

Now, Afterburner, you KNOW better. Shame!

Afterburner
10-07-2004, 03:10 PM
I meant er....that in the literal sense! Yeah! Don't you think that idea kicks donkeys? *runs from t3h bannination hammer*

MercuryLime
10-07-2004, 03:49 PM
*giggles* you got a WARnin...

Erm, anyways, I also think there should be an item like th matter transporer except it just automatically sells your minerals (by teleporting them to the surface, of course). That's what I thought the matter transporter did at the beginning.

DragonBlood87
10-08-2004, 07:31 PM
The Red Baron: Actually, you can't dig to China because gravity is holding you back after you get past the core. If you had a hole through the center of the moon (which has a cold core, according to my sources), and you jumped into it, you would speed up until you got to the center; then you would start to slow down; when you reached the lip of the other end of the tunnel, you would start falling again, and you would just keep going back and forth.

MercuryLime
10-10-2004, 03:55 PM
Of course, you can dig upwards, it just might be a little unstable. :wink: