Be a Supporter!

Racing game help

  • 285 Views
  • 2 Replies
New Topic Respond to this Topic
PanzyFace
PanzyFace
  • Member since: Jan. 11, 2009
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
Racing game help 2009-03-20 08:07:57 Reply

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.


Love me, hate me, y'know you wana bake me.

BBS Signature
Denvish
Denvish
  • Member since: Apr. 25, 2003
  • Offline.
Forum Stats
Member
Level 46
Blank Slate
Response to Racing game help 2009-03-20 08:17:06 Reply

At 3/20/09 08:07 AM, PanzyFace wrote: Hi.
if (!_root.finish.hitTest)
{gotoAndStop(365);}

if(_root.finish.hitTest(this))


- - Flash - Music - Images - -

BBS Signature
PanzyFace
PanzyFace
  • Member since: Jan. 11, 2009
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
Response to Racing game help 2009-03-20 08:28:13 Reply

At 3/20/09 08:17 AM, Denvish wrote:
At 3/20/09 08:07 AM, PanzyFace wrote: Hi.
if (!_root.finish.hitTest)
{gotoAndStop(365);}
if(_root.finish.hitTest(this))

thanks!


Love me, hate me, y'know you wana bake me.

BBS Signature