Racing game help
- PanzyFace
-
PanzyFace
- Member since: Jan. 11, 2009
- Offline.
-
- Forum Stats
- Member
- Level 03
- Blank Slate
Hi.
Well, im working on a racing game right now, but the finish line wont work.
I've used a code in both the car and the line, but nothing works.
Heres the code:
if (!_root.finish.hitTest)
{gotoAndStop(365);}
I have no trace errors, and yet when i actually hit the finish line, it doesnt work.
- Denvish
-
Denvish
- Member since: Apr. 25, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (15,977)
- Block
-
- Forum Stats
- Member
- Level 46
- Blank Slate
At 3/20/09 08:07 AM, PanzyFace wrote: Hi.
if (!_root.finish.hitTest)
{gotoAndStop(365);}
if(_root.finish.hitTest(this))
- PanzyFace
-
PanzyFace
- Member since: Jan. 11, 2009
- Offline.
-
- Forum Stats
- Member
- Level 03
- Blank Slate
At 3/20/09 08:17 AM, Denvish wrote:At 3/20/09 08:07 AM, PanzyFace wrote: Hi.if(_root.finish.hitTest(this))
if (!_root.finish.hitTest)
{gotoAndStop(365);}
thanks!



