|
-
racing game help
i have started to construct a racing game. i have the basic components, but i cant get it to that when u complete the 3 laps if goes to a new scene or frame stating that u won.
the coding for the lap counter looks like this:
onClipEvent (enterFrame) {
if (this.hitTest(_root.car) && once != 1) {
_root.lap++;
once = 1;
}
if (!this.hitTest(_root.car) && once == 1) {
once = 0;
}
}
Last edited by masked D; 05-19-2006 at 01:30 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|