PDA

View Full Version : [AS3] How to get a working score and time for my flash game


Flemingxrt
07-13-2009, 11:18 PM
Hey all,
Im having trouble getting a working score and timer working for my flash game I also need the moving objects to vanish and add points to the score once i touch them with my curser. I was wondering if anyone could help me out with this maybe post a code down for me to use. I would greatly appreciate it.
Thank you for your time,
Flemingxrt
Also here is my .fla http://willhostforfood.com/?Action=download&fileid=74729

For awesome tv reviewes go here http://thelcdtvreviewer.com/

finaiized
07-13-2009, 11:29 PM
I don't have time for it currently, but I gave a quick look and wanted to know a few things- when you 'touch them with the cursor', does that mean you want the hook to touch the fish? Or something completely different?

Flemingxrt
07-13-2009, 11:38 PM
Actually i uploaded a new version with a smaller boat to make the game more challenging. I just want the whole boat overall if it touches the fish they die and points are added to score. Here is the updated link http://willhostforfood.com/?Action=download&fileid=74740

finaiized
07-14-2009, 12:13 AM
The problem with your file is that you set the score in the enter_frame and add the scoring there. I must admit I was confused- you had a LOT of duplicate definitions. I recommend you remove identical code first.

Flemingxrt
07-14-2009, 12:37 AM
Its all just so confusing sigh... maybe i can think of a game without scoring :(