Need help again.
I want a particular kind of enemy I'm making to have the ability to shoot at the player. I can make my playable character shoot a bullet just fine since she's in control but what about the enemies? Please help, thanks.
Offline
im not good with scratchblocks so i hope this comes out right
[scratchblocks]
when gf clicked
hide sprite <bullet>
wait 4 sec sprite <bullet>point to sprite <player>
repeat 20 wait <0.2 sec> move 10 steps set custom sprite center at gunpoint
if sprite bullet is touching sprite player change variable health by -10
Offline
im not good with scratchblocks so i hope this comes out right
when gf clicked hide sprite <bullet> wait 4 sec sprite <bullet>point to sprite <player> repeat 20 wait <0.2 sec> move 10 steps set custom sprite center at gunpoint if sprite bullet is touching sprite player change variable health by -10 end
Offline