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

#1 2009-05-18 21:06:46

awsomesouce
Scratcher
Registered: 2009-02-27
Posts: 7

wont go to a certain sprite

im making a new project its a shooting game so there is a sprite forthe bullet and when i tell it to go to the person it just goes to some random place on the screen:(

Offline

 

#2 2009-05-19 13:25:06

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: wont go to a certain sprite

<go to[ person] [/block]

That doesn't work?


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#3 2009-05-19 14:14:13

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: wont go to a certain sprite

Maybe the rotation center of the person is not really on the person, but far from the person.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#4 2009-05-24 08:05:10

scratchisthebest
Scratcher
Registered: 2009-02-08
Posts: 500+

Re: wont go to a certain sprite

The rotation center is not just rotation. It is also the "center" for other sprites to go to. Check this by opening the costumes and hitting "set rotation center" in the lower-left corner.


bye 1.4, we all loved you. but we all outgrew the site. 2.0 is a welcome change.
http://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.png

Offline

 

#5 2009-05-29 14:42:20

pepepaco1980
Scratcher
Registered: 2009-05-23
Posts: 9

Re: wont go to a certain sprite

if there are many other actions after you tell it to go to the sprite, then the person will be on other place than when you told the bullet to go there. this is because the bullet will record the persons position in a different time, before you move it.

if you want to create a "following effect", create a separated loop where you increase the speed at which you ask the bullet to follow the person. and it will be refreshed faster.

Last edited by pepepaco1980 (2009-05-29 14:44:02)

Offline

 

Board footer