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

#1 2011-04-04 21:48:14

choo-choo
New Scratcher
Registered: 2011-04-02
Posts: 1

how to control the 'point in direction' of different sprites

Hi everyone,

I am new.

I have 4 sprites and I want to use keys to control their 'point in direction'.
The natural choice is to use the up,down,left,right arrow keys on the
keyboard. But the problem is all sprite point in the same direction, which
is not what I want. Of course, I can assign, 'a,b,c,d' for sprite 1, and
'e,f,g,h' for sprite 2 ... But that is not intuitive and hard to remember.

Any suggestion on how to control sprites direction individually and yet
in an easy to remember way is much appreciated.


   |** 000 ***** 000 ***
Choo-Choo.Up.Down.Left.Right

Offline

 

#2 2011-04-06 06:07:50

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: how to control the 'point in direction' of different sprites

Maybe you use the left and right keys to navigate between sprites, and aswd to control direction.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#3 2011-04-06 15:04:37

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: how to control the 'point in direction' of different sprites

Hardmath123 wrote:

Maybe you use the left and right keys to navigate between sprites, and aswd to control direction.

This is a very good idea.  Here, if you're unsure, are some scripts that do this.
Put this in your Stage (or anywhere really):
http://i56.tinypic.com/ivxyyr.gif
Make the 10s into the number of sprites being switched around.

Then put this in your sprites:
http://i51.tinypic.com/10e0mxf.gif
Make the 1 at the top 2 for the next sprite, then 3, then so on.


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

Board footer