This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-09-13 15:40:03

shroud0100
Scratcher
Registered: 2010-04-27
Posts: 4

Help Making Zombie Game

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

 

#2 2010-09-13 16:13:36

kwickgamer
Scratcher
Registered: 2010-07-13
Posts: 42

Re: Help Making Zombie Game

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)


Kwickgamer Classic Collection! What is it? find out here!

Offline

 

#3 2010-09-14 15:46:51

shroud0100
Scratcher
Registered: 2010-04-27
Posts: 4

Re: Help Making Zombie Game

Thanks

Offline

 

Board footer