00:00
00:00

Big thanks to TenodiBoris, our latest supporter!

We're 15 people from our target today. Why don't you be one of them?

You can support NG too and get tons of perks for just $2.99.

Create a Free Account and then..

Become a Supporter!

2D Physics Tutorial

Share Collapse

Author Comments

I've been writing the content of this tutorial for a couple of weeks now, and I thought I'd submit a relatively brief tutorial on the main components of what I've made so far. I hope you enjoy it, and I hope you can follow all of it. Please leave any critisisms you may have, it's all appreciated. Thanks
Oh and I'm also currently working on more content to put into a second tutorial as a sequel to this one. Leave any ideas you have or anything you want to be put in and I'll work on putting it all in!

Reviews


awwww

OMG!!!!! to much math aaaaaaaaa



The best way to find physics on ng!

I loved your tutorial and all the mathematics, as I like math and physics. It is amazing and it is pretty cool work through the formules and equations!
==========================
Attention all people who don't have so much experience with Actionscript, if you guys want to do a ramp, it doesn't require any formule or equations, simple do it:

*Don't forget to put a alpha 0% square on the ramp angle (the inclination).*

onClipEvent(enterFrame)
{
if(this.hitTest(_root.ball))
{
tellTarget(_root.ball)
{
_root.ball._x -= 0.8;
_root.ball._y+= 0.8;
_root.ball._x -= 0.1;
}
}
}

You can drag the ball and try to put over the inclined part of the ramp and you will notice that the ball goes exactly like one falling in one.

I hope this helps someone.

Again, thanks for this awesome way to find mathematics here on Newgrounds and show us awesome explanations from physics!


People find this review helpful!

Thank for everything

OMG THERE IS SO MUCH FREAKING MATH IN HERE... Thank God you just put all the codes at the end.



Great!

Wow this tutorial actual works on Flash MX 2004!


People find this review helpful!

Great tutorial bro

I think this is all really cool and i have and idea to implement this in a game i'll pm you


People find this review helpful!

Click on an icon to vote on this!

Credits & Info

Views
94,718
Votes
1,758
Score
4.27 / 5.00

Uploaded
Jul 14, 2008
12:34 PM EDT
Genre
Tutorial
Tags