2D Game Physics 101

Member
Posts: 257
Joined: 2004.06
Post: #1
I came across this bit of Flash work that's a tutorial on 2D game physics:

http://www.rit.edu/~ndr0470/game_physics/

The brains and fingers behind Malarkey Software (plus caretaker of the world's two brattiest felines).
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #2
Wow thats a great reference, thanks for the find =D

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Member
Posts: 196
Joined: 2003.10
Post: #3
Very nice. Very understandable. Even better is the one referenced by it:

http://www.geocities.com/SiliconValley/C...hysics.htm
Quote this message in a reply
Moderator
Posts: 3,577
Joined: 2003.06
Post: #4
Me three, totally cool link. Thanks for posting it!
Quote this message in a reply
Moderator
Posts: 771
Joined: 2003.04
Post: #5
Gravity:
Quote: "Watch how the gravity value decrements the y velocity of the apples"
Very odd choice...

Walking & Jumping: The code has a "x_velocity" (a misleading variable name...) of 10, but for some reason the demo has a "speed" input box, and the left & right motion not only doesn't match that value, it's different for each direction (?)

I wouldn't call this a good tutorial...

Edit: I would recommend reading the tutorial linked at the end first, especially the terms' definitions.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Physics in a Game World mikey 5 4,583 Sep 20, 2009 08:58 AM
Last Post: mikey
  Bullet Physics Library / COLLADA physics viewer erwincoumans 14 12,845 Aug 12, 2006 12:59 AM
Last Post: Fenris
  Good Game Loop with Physics Units blobbo 6 4,814 Oct 14, 2005 02:59 AM
Last Post: unknown
  Free sample chapter from Physics for Game Programmers Leisure Suit Lurie 9 6,103 Jul 25, 2005 05:14 PM
Last Post: codemattic
  Simple Physics Game Zenith 8 5,569 Jan 13, 2004 10:01 PM
Last Post: Josh