hey, i don't know if i'm doing anything wrong but it keeps crashing for me :(
i attached a video to show :)
From your video, I see you are Running from an Option I don't have, "Start detached" ???
I just use the first option in Run Menu. Don't know if that is difference that makes a difference.
If you are running on Linux, your Timer(.001) may be returning very different numbers than my settings from Windows 10.
Tinker with this part, that attempts a delay of rapid fire bullets.
IF t
- last1
> .15 THEN mb1
= 1: last1
= t
In case the targets are running into shooter way too often, before you can even see what's going on, replace this block:
'explosion
_PRINTSTRING (xmax
/ 2 - 40, ymax
/ 2 - 10), "Bang!... Ouch!" score = score - 100
drawTarget i
With just:
Also the screen doesn't look right, the shooter should start up in the middle of the screen. Why is it in top left corner?
I set screen width with const xmax and screen height with const ymax.
To all,
To point the shooter, you move it towards your target or anticipate a little where target is going and move mouse that way...