Saturday, July 11, 2009

Work Progress - Jul 6 to Jul 10

  • BoardEngine now allows no Skateboarder defintion to run.
  • HitTest() of BoardPolyLine implemented.
  • SBGui.java now shows an example of BoardPolyLine.
  • Make all automatable properties in working PObject (BoardLine, BoardPolyLine and SkateBoarder) public to compile with recent pCSDT framework specification
  • Review critical tasks listed by Ron
    • ability to specify linear tracks
      [Can currently be done with BoardLine]

    • ability to specify curved tracks (using arc of circle, arc of spiral,polynomial function--math teachers seem to want a variety)
      [Curved surface is now approximated with series of rectangular blocks, as shown in the recent SBGui example. If we are to specify the curved tracks with functions, the task is then to wisely break down the curve into series of small rectangular blocks. P.S.: On working with the recent SBGui example, I find that the width of the fine pieces of rectangular blocks may be related to the size of skateboarder. More study on this part needs to be done.]
    • ability to place obstacles in the way.
      [If it is an rectangular obstacle, we may reuse the BoardLine - the BoardLine with suitable length and width can function as an obstacle. Do we need obstacle of other shapes?]
    • conditionals for obstacle avoidance (so it requires a sensing function that tells how close an object is to the SB character)
      [More details from you needed...]
    • behaviors for obstacle avoidance (apply impulse function for jumping,swerving, etc.)
      [More details from you needed...]

No comments:

Post a Comment