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

#1 2010-09-14 15:54:22

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

Help !!!

Sorry to post again but how do i make my charachter look at the mouse pointer a like the game stick assassin if you ever played it on scratch the head on it looks towards the mouse pointer

Offline

 

#2 2010-09-14 17:09:44

JeanTheFox
Scratcher
Registered: 2010-06-14
Posts: 1000+

Re: Help !!!

Do you want his eyes to follow the cursor, or do you want his whole body to look at it?  smile


http://i51.tinypic.com/20gcn5j.png

Offline

 

#3 2010-09-14 17:22:21

pably
Scratcher
Registered: 2010-01-20
Posts: 6

Re: Help !!!

<when green flag clicked>
preguntar algo que se pueda responder con si o no
<broadcast[ preguntar ]and wait c>
<say[ espera los resultados ]for( 5 )secs>



<when I receive[ preguntar
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<say[ no ]for( 2 )secs>






<when I receive[ preguntar
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<wait( <pick random( 1 )to( 3 )secsc>
<say[ si ]for( 2 )secs>

Offline

 

#4 2010-09-14 17:31:49

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Help !!!

Just make the head (or whatever points at the mouse pointer) a separate sprite, and use the "Point at mouse pointer" block.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#5 2010-09-15 12:40:41

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

Re: Help !!!

Jean The Fox I want all of it to move

Offline

 

Board footer