Pages: 1
Topic closed
I'm making a scratch game with some blue thing battling a dark hooded spirit thing, but so far, as long as i press the shooting button, the spirit is defeated no matter where I am! How do i make it so you have to shoot it pointing AT the spirit?
Offline
im expecting u have the code to make it shoot a bullet or whatev, after you do make the bullet red and put this in the enemy:
[blocks]
<when green flag clicked>
<forever>
<if><touching color[ red
<hide>
(and if you have a score var)<set{ score }to( (( <{ score }> <+> 1 ))
<end>
<end>
[/blocks]
Offline
For the bad guy:
<when green flag clicked>
<forever if><touching[ bad guy
<hide>
<change{ score }by( 1
<end>
Last edited by mariobrosrule (2008-08-27 18:26:12)
Offline
Topic closed
Pages: 1