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

#1 2010-07-20 13:52:39

neopili
New Scratcher
Registered: 2010-06-13
Posts: 2

How to move two sprites at the same time

Hi! I would like to move two sprites at the same time, and i don't know how to do it. This means, I want one sprite1 to move when the mouse is over it, and i also want sprite2 to move when mouse is over sprite1. I don't know if this can be done, but if someone knows how to i would really appreciate the help  smile

Offline

 

#2 2010-07-20 14:00:11

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: How to move two sprites at the same time

Well, it depends, do you want it to move in the same pattern, opposite pattern, or reflective pattern?

Same pattern: go to x position of sprite 1 + (number) go to y position of sprite 1 + (number)
Opposite pattern: go to x position of sprite 1 x -1 go to y position of sprite 1x-1

Reflective pattern: go to x position of sprite 1 go to y position of sprite 1x -1
OR go to x position of sprite 1x -1 go to y position of sprite 1.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#3 2010-07-20 14:02:18

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: How to move two sprites at the same time

Try this  smile

http://i25.tinypic.com/300qft0.gif


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#4 2010-07-20 14:37:01

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: How to move two sprites at the same time

There are many ways to do this with many results. If none of the above seemed to help, please post your unfinished project as well as giving specific details on how both sprites move separately and when paired together.

Otherwise, welcome to the healing place  smile


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

#5 2010-07-26 16:36:39

neopili
New Scratcher
Registered: 2010-06-13
Posts: 2

Re: How to move two sprites at the same time

Thank you vary much!! Now i have another question, i hope someone will be able to answer it. Can a scratch poyect be seen in a computer that doesn't have the programme??

Offline

 

#6 2010-07-26 16:38:25

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: How to move two sprites at the same time

neopili wrote:

Thank you vary much!! Now i have another question, i hope someone will be able to answer it. Can a scratch poyect be seen in a computer that doesn't have the programme??

Online it can, but not in edit mode.

I downloaded scratch to my memory stick to solve this problem.

Offline

 

#7 2010-07-26 17:00:14

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: How to move two sprites at the same time

colorfusion wrote:

neopili wrote:

Thank you vary much!! Now i have another question, i hope someone will be able to answer it. Can a scratch poyect be seen in a computer that doesn't have the programme??

Online it can, but not in edit mode.

I downloaded scratch to my memory stick to solve this problem.

Yep - to get Scratch onto a memory stick, just download the "files-only" version of Scratch and put it into the memory stick - make sure you get the whole folder, not just the application!

Offline

 

Board footer