
-----------------------------------
SeeknDestroy
Sat Jan 10, 2004 8:54 pm

Timer on a Mouse click, like for a shooter
-----------------------------------
well, its me again, and im sry to bother u all, but can someone tell me how to put a timer for my shooter, so that if u dont shoot it, it'll go away, but if u click on it, it goes away right away, cuz rite now i have a delay for my pictures, and when u click on it, they don't go away. plz help me out, thnx

-----------------------------------
Andy
Sat Jan 10, 2004 9:14 pm


-----------------------------------
do u want the whatdotcolor version or the everyday joe version

-----------------------------------
SeeknDestroy
Sat Jan 10, 2004 9:31 pm


-----------------------------------
well, i dont really know wat the whatdotcolor version, so could u plz give me the simpler version plz? thnx

-----------------------------------
Tony
Sat Jan 10, 2004 10:38 pm


-----------------------------------

loop
Mouse.Where
exit when got_hit = true
...
w/e
...
exit when timer>=time_allowed_to_shoot
end loop


this way you have two exits. One if you hit and another one if the time runs out

-----------------------------------
SeeknDestroy
Sat Jan 10, 2004 10:39 pm


-----------------------------------
well, i dont know y, but now that ive tried to put a counter on the program to try and keep track of the score and amount of times the enemies appear, but no matter how many times u hit the enemy, the score is always 0. can someone plz help me out?

-----------------------------------
SeeknDestroy
Sat Jan 10, 2004 10:51 pm


-----------------------------------

loop
Mouse.Where
exit when got_hit = true
...
w/e
...
exit when timer>=time_allowed_to_shoot
end loop


this way you have two exits. One if you hit and another one if the time runs out
o, i didn't see that, thnx a lot!
