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

#1 2012-04-05 22:28:16

heracles4
New Scratcher
Registered: 2012-04-05
Posts: 6

Help with making it go in a circle.

I once got a fish to go in a circle, not rotating, but actually go in a circle.

I duplicated it, but it didn't work again.  Can someone help me with this?

Offline

 

#2 2012-04-05 22:37:21

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

Re: Help with making it go in a circle.

heracles4 wrote:

I once got a fish to go in a circle, not rotating, but actually go in a circle.

I duplicated it, but it didn't work again.  Can someone help me with this?

Depends...could you post the script you used?


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

Offline

 

#3 2012-04-05 22:40:08

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Help with making it go in a circle.

Could the center of the sprite have changed?  Try going to the costume and clicking "set costume center".  If that doesn't work, then refer to comment #2  smile


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#4 2012-04-05 22:55:13

heracles4
New Scratcher
Registered: 2012-04-05
Posts: 6

Re: Help with making it go in a circle.

I can't show you the script atm or anytime soon, because I made it at school, and its spring break right now.  sad  Sorry!

Offline

 

#5 2012-04-05 23:03:21

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

Re: Help with making it go in a circle.

heracles4 wrote:

I can't show you the script atm or anytime soon, because I made it at school, and its spring break right now.  sad  Sorry!

That's fine...do you remember which blocks were involved?  Was it simply "turn" blocks?


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

Offline

 

#6 2012-04-05 23:12:56

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Help with making it go in a circle.

Did you use any of the:

([sin v] of (10))
blocks?

Offline

 

#7 2012-04-06 08:03:16

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Help with making it go in a circle.

There are two ways of making sprites go in a circle. One of them involves trigonometry (stuff you learn towards the end of middle school) and some math, so I wouldn't recommend it.

Scratch makes it easier for you by providing the motion blocks, so the following blocks will make any sprite turn in a small circle!

forever
move (2) steps
turn cw (10) degrees
end

Offline

 

#8 2012-04-06 09:47:33

heracles4
New Scratcher
Registered: 2012-04-05
Posts: 6

Re: Help with making it go in a circle.

AtomicBawm3 wrote:

heracles4 wrote:

I can't show you the script atm or anytime soon, because I made it at school, and its spring break right now.  sad  Sorry!

That's fine...do you remember which blocks were involved?  Was it simply "turn" blocks?

I alternated turn up and turn sideways blocks, and put  a forever block over it.

Offline

 

#9 2012-04-06 09:53:33

heracles4
New Scratcher
Registered: 2012-04-05
Posts: 6

Re: Help with making it go in a circle.

LS97 wrote:

There are two ways of making sprites go in a circle. One of them involves trigonometry (stuff you learn towards the end of middle school) and some math, so I wouldn't recommend it.

Scratch makes it easier for you by providing the motion blocks, so the following blocks will make any sprite turn in a small circle!

forever
move (2) steps
turn cw (10) degrees
end

No, I mean a real circle, not make it rotate.

Offline

 

#10 2012-04-06 11:24:56

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

Re: Help with making it go in a circle.

heracles4 wrote:

AtomicBawm3 wrote:

heracles4 wrote:

I can't show you the script atm or anytime soon, because I made it at school, and its spring break right now.  sad  Sorry!

That's fine...do you remember which blocks were involved?  Was it simply "turn" blocks?

I alternated turn up and turn sideways blocks, and put  a forever block over it.

OK...how smooth was the circle movement? From what it sounds like, not very...


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

Offline

 

#11 2012-04-06 11:31:57

heracles4
New Scratcher
Registered: 2012-04-05
Posts: 6

Re: Help with making it go in a circle.

It was very smooth, but the fish had a gray 'ghost' following it.

Offline

 

#12 2012-04-06 14:36:26

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

Re: Help with making it go in a circle.

heracles4 wrote:

It was very smooth, but the fish had a gray 'ghost' following it.

So...was the gray "ghost" the sprite moving in a circle?


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

Offline

 

Board footer