Hello i am trying to make a Zombie game on scratch All i need to know is how do i make the charachter look at the mouse pointer and how do i make it when you left click the mouse it shoots in the direction of the mouse
Thanks
Offline
For the mouse pointer: do
<when green flag clicked>
<forever>
<point towards( <mouse pointer>
<end>
And the easiest way to do a bullet script is to make a costume(s) that includes his gun and do:
<when green flag clicked>
<forever if> <mouse down?>
<switch to costume[ Shooting1
<switch to costume[ Shooting2
<wait( Reload Time
<end>
Last edited by kwickgamer (2010-09-13 16:26:03)
Offline