Saturday, June 27, 2009

Work Progress - Jun 22 to Jun 26

  • Refine what are to be reset in the Reset() functions of Skateboarder and BoarderLine.
  • Refine texture loading procedure of Skateboarder.

Thursday, June 18, 2009

Work Progress - Jun 15 to Jun 19

Incorporating TeamA2 code to repository
  • Step() method for BoarderEngine.
  • HitTest() methods for BoarderLine and SkateBoarder.

Monday, June 8, 2009

Work Progress - Jun 8 to Jun 12

Implementing BoardPoly
  • JBox2d does not support concave polygon collision detection. One needs to break down the concave polygon into multiple convex ones to overcome this issue. A reference with source code is available here. Another reference is available here.
  • Complete integrating JBox2d code into BoardPoly. To specify a polygonal obstacle, one needs to give the vertices in clockwise order. An example can be found in the TestClass.java in the source code here.

Wednesday, June 3, 2009

Work Progress - Jun 1 to Jun 5

A better Java Physics engine: http://www.jbox2d.org/
This provides methods to directly apply an impulse to an object.
It also has built-in support for polygon.
Good starter tutorial: http://www.anddev.org/how-to_2d_physics_with_box2d-t5099.html
Manual: http://www.box2d.org/manual.html
Code doing physics with JBox2d (SkateBoarder's Impulse method also done): http://www.rpi.edu/~laut/TeamA2Code_0606.zip
TO DO: Implement BoardPoly