Stubsz

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. I am creating an HTML5 based top down racing game and in order to get the cars around the track, I've looked into using two potential solutions (which I have working to an extent): Paper JS Pathanimator I have got these both working individually in the sense that I can get objects moving around a path but the stumbling block I have is that each car will have its own starting position on either side of the race track (so won't always start at the same point within the path). The cars will also need to go single file after the first corner. Another factor is overtaking. I have managed to use some Javascript to work out when two objects intersect, but need to make the object behind effectively "go around" the one in front and then back onto the racing line. Quite a lot to work out here but wondered if anybody has some cunning ideas to make any of the above work? Your help would be most appreciated!! Thanks