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

#1 2012-03-11 22:04:24

JSGreer
New Scratcher
Registered: 2012-03-11
Posts: 1

turning

How do I make a sprite turn around ?

Offline

 

#2 2012-03-11 22:15:49

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: turning

Could you be more specific? A. What triggers the turn? B. How much do you want it to turn?

But essentially, it's just like:

When gf clicked
turn [amount here] degrees


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#3 2012-03-11 22:34:37

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: turning

Use the

turn () degrees
block

Last edited by jji7skyline (2012-03-11 22:35:37)


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#4 2012-03-11 22:46:33

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: turning

jji7skyline wrote:

Use the

turn () degrees
block

turn ccw () degrees


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#5 2012-03-12 11:43:29

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: turning

when gf clicked
forever
  if <key [left arrow v] pressed?>
    turn left [10] degrees
  end
  if <key [right arrow v] pressed?>
    turn right [10] degrees
  end
end
Can you exlain in more detail what you want to achieve though?


Why

Offline

 

#6 2012-03-12 11:46:04

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: turning

RedRocker227 wrote:

when gf clicked
forever
  if <key [left arrow v] pressed?>
    turn left [10] degrees
  end
  if <key [right arrow v] pressed?>
    turn right [10] degrees
  end
end
Can you exlain in more detail what you want to achieve though?

I think he just wanted the block to turn sprites around. As in, just learn how to rotate.

Last edited by Splodgey (2012-03-12 11:46:34)

Offline

 

#7 2012-03-12 11:52:16

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: turning

Splodgey wrote:

RedRocker227 wrote:

when gf clicked
forever
  if <key [left arrow v] pressed?>
    turn left [10] degrees
  end
  if <key [right arrow v] pressed?>
    turn right [10] degrees
  end
end
Can you exlain in more detail what you want to achieve though?

I think he just wanted the block to turn sprites around. As in, just learn how to rotate.

Yeah but this is just a very simple method. He might've wanted a velocity-like turning style, or 3D rotating, etc..


Why

Offline

 

#8 2012-03-12 12:01:37

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: turning

RedRocker227 wrote:

Splodgey wrote:

RedRocker227 wrote:

when gf clicked
forever
  if <key [left arrow v] pressed?>
    turn left [10] degrees
  end
  if <key [right arrow v] pressed?>
    turn right [10] degrees
  end
end
Can you exlain in more detail what you want to achieve though?

I think he just wanted the block to turn sprites around. As in, just learn how to rotate.

Yeah but this is just a very simple method. He might've wanted a velocity-like turning style, or 3D rotating, etc..

That is his 1st and only post. I highly doubt it. (Then again, they could have been using scratch for a while. But haven't had an account)

Offline

 

#9 2012-03-12 12:33:12

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: turning

Splodgey wrote:

RedRocker227 wrote:

Splodgey wrote:


I think he just wanted the block to turn sprites around. As in, just learn how to rotate.

Yeah but this is just a very simple method. He might've wanted a velocity-like turning style, or 3D rotating, etc..

That is his 1st and only post. I highly doubt it. (Then again, they could have been using scratch for a while. But haven't had an account)

You can't just assume that just because he isn't very active on the forums, he's not a very good programmer  hmm


Why

Offline

 

#10 2012-03-13 05:29:22

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: turning

RedRocker227 wrote:

Splodgey wrote:

RedRocker227 wrote:


Yeah but this is just a very simple method. He might've wanted a velocity-like turning style, or 3D rotating, etc..

That is his 1st and only post. I highly doubt it. (Then again, they could have been using scratch for a while. But haven't had an account)

You can't just assume that just because he isn't very active on the forums, he's not a very good programmer  hmm

I know, He's also a new Scratcher. Most people would get there account as soon as.... oh nvm.

Offline

 

Board footer