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

#1 2008-08-25 18:08:12

thewhiteknight
Scratcher
Registered: 2008-08-23
Posts: 10

Please PLEASE Read!!!!

for those from the shooting question, yes, same guy. Anyway, I need to know how to make enemies come at me. here is the layout


:= wall
G=Shooter/player
+=where I want the enemies to come from



:
:                  +
:                  +
: G               +

Offline

 

#2 2008-08-25 20:14:00

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Please PLEASE Read!!!!

Here's some code that will have them chasing you forever all around the screen.  Put this stack of blocks on all your enemies and change the starting locations to wherever you want them to start from.

[blocks]
<when green flag clicked>
<go to x sad  220 )y sad  0
<forever>
<point towards( Your Sprite
<move( 2 )steps>
<end>
[/blocks]


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer