Lesson 4 - Physics Simulation [May 26, 2011, 6:33 p.m.]
Physics!
4.1 - Physics intro - Velocity, Acceleration, Forces
4.2 - Gravity and Friction
- Example HTML
- Example JS
- Video Explanation
4.3 - Collision Detection
- Example HTML
- Example JS - Especially look at Player.isTouching() and TheWorld.updateAll()
- Video Explanation
4.4 - Finding the Intercept Points of Moving Objects
- Example HTML
- Example JS
- Video Explanation