This site requires JavaScript, please enable it in your browser!
Greenfoot back
DesignerOrb362
DesignerOrb362 wrote ...

2014/12/1

how to make a finish/starting line

DesignerOrb362 DesignerOrb362

2014/12/1

#
in the racing game i'm creating i have a line (which is an actor) that i want to use so when a car passes through it they gain lap, i want it so when they pass it something i can but in the corner will go up, something 1/3, 2/3 3/3 and finally on the fourth pass i want it to bring up a winner screen (or just change to a different world). i also want passing the line to corresponding to which car passes, i need help, im kind of new so can someone write up a code example or something.
danpost danpost

2014/12/4

#
Your class structure would determine the best way to go about what you are trying to do here: For an example of what I mean by class structure, one might be something like this: World > Course Actor > Car > BlueCar, GreenCar, RedCar Other > none
You need to login to post a reply.