Discuss Scratch

Ms_Rice
New to Scratch
3 posts

How do I get sprites to automatically start at their beginning?

I am a teacher and trying to get my kids to start Scratch. When I'm editing and start over to see my progress the sprites moves backward to their starting position after I click the green flag. How do I get it to start at the beginning automatically without seeing the sprite moving backward to their start spot?

Also, how do I get the sprite to be facing the other direction?

Thanks
drmcw
Scratcher
1000+ posts

How do I get sprites to automatically start at their beginning?

go to x: (0) y: (0)

Change the values for x and y as required.

point in direction [-90 v]

Last edited by drmcw (Sept. 9, 2013 16:34:03)


10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
birchyboii
Scratcher
100+ posts

How do I get sprites to automatically start at their beginning?

when flag clicked
go to x: (0) y: (0)
This solves your first request.( Just adjust the number values)


Point in direction [90 v]

or

Point in direction (87)

If adjusted specifically,
solves issue 2. (Take account of where the costume sprite is facing in your drawing, as if it is facing up, the right of the costume will always be right, so you would need to point it down to make it appear to face right, hopefully that made some sense)

Anything else you need to know just ask

Last edited by birchyboii (Sept. 9, 2013 18:07:56)

birchyboii
Scratcher
100+ posts

How do I get sprites to automatically start at their beginning?

Its seems drmcw has been first to post without me noticing

Last edited by birchyboii (Sept. 9, 2013 18:09:20)

Splodgey
Scratcher
100+ posts

How do I get sprites to automatically start at their beginning?

birchyboii wrote:

Its seems drmcw has been first to post without me noticing
Shouldn't you have edited your first post? It's too late now, but for future reference…

Ever wondered why there's no text box? Or why you can make sprites “say” stuff, but not display pure text? Click here! Now v1.3, includes links!
Text Box, Calculator, AlphaSorter & Case Sensor
Have a large-scale Minecraft project and you want to know how much raw materials you need to craft the “ingredients”? Click here!

Minecraft PvP Weapon Vs Armour Calculator/Simulator
RichardDL
Scratcher
16 posts

How do I get sprites to automatically start at their beginning?

Hello, I also use scratch for teaching, (I use scratch to teach groups from my 9 year-old son's class). All my sprites have a ‘When z pressed“ action which puts them back to starting coordinate, costume1, facing right, pen up,… i.e. zeroing all the characteristics. Often I also have a ”When x pressed“ that stops the action. All the main action starts with ”when space pressed" because it’s faster than moving the mouse to the green flag. Z,X and space are all close together helps for fast development.
kfarrellspac
Scratcher
1 post

How do I get sprites to automatically start at their beginning?

go to x: (0) y: (0)
Change x and y as on the Scratch is needed then,
point in direction ( 0)
Set v to the direction wanted.

Last edited by kfarrellspac (Dec. 30, 2013 21:10:05)

Creeper179
Scratcher
32 posts

How do I get sprites to automatically start at their beginning?

Well you can try this which will make it so that the sprite will hide and then show itself in the correct position:

hide
go to x: (...) y: (...)
show

Hi I'm Creeper179

Check out my awesome account here and follow me if you want!

Scratch On!
Creeper179
Scratcher
32 posts

How do I get sprites to automatically start at their beginning?

Oh, and if the question “how to get the sprite in the other direction?” means the opposite direction then I have it:

point in direction ((direction) - ((direction) * (2)))

Hi I'm Creeper179

Check out my awesome account here and follow me if you want!

Scratch On!
MasterCard786
Scratcher
100+ posts

How do I get sprites to automatically start at their beginning?

when green flag clicked
go to x: (x) y: (y)
...

Check these: APEX NEWS ISSUE 2 - http://scratch.mit.edu/projects/20648596/
And the amazing square - http://scratch.mit.edu/projects/20741133/
derbio95
Scratcher
8 posts

How do I get sprites to automatically start at their beginning?

Hi
I also have similar issue when developing script. If I include turn through ‘x degrees’ it seems that when sent back to original position the sprite goes backwards and ends up in the wrong direction.
derbio95
Iri-O
Scratcher
100+ posts

How do I get sprites to automatically start at their beginning?

For derbio95
when green flag clicked
point towards [ v]
or
turn ccw () degrees
or
turn cw () degrees

Before the rest of your script.
Basically set it up exactly how you want it at the beginning if you are going to change it later.

Last edited by Iri-O (Sept. 14, 2014 16:30:44)


Hope I've helped!
-Iri-O
The world is quiet here. -L.S. / V.F.D. | Proud editor of the Scratch Wiki. | Please close solved topics to help keep the forums neat. | abacusTender: /Hello.
dylancoble1
New to Scratch
2 posts

How do I get sprites to automatically start at their beginning?

I want my sprite to move along and then when he reaches a certain point he restarts and executes it again.
dylancoble1
New to Scratch
2 posts

How do I get sprites to automatically start at their beginning?

I want my sprite to move along and then when he reaches a certain point he restarts and executes it again.
shant325
New to Scratch
1 post

How do I get sprites to automatically start at their beginning?

hwo do you make the sprite start at a certain area when flag clicked
jaytheking1011
New to Scratch
1 post

How do I get sprites to automatically start at their beginning?

don't know how to get sprites

GunChleoc
Scratcher
500+ posts

How do I get sprites to automatically start at their beginning?

shant325 wrote:

hwo do you make the sprite start at a certain area when flag clicked

when green flag clicked
go to x: (100) y: (100)

Stuth sa Ghàidhlig
repeat until <not <(language) = [English]>>
set (language) to [Gàidhlig]
end
GunChleoc
Scratcher
500+ posts

How do I get sprites to automatically start at their beginning?

jaytheking1011 wrote:

don't know how to get sprites

“New Sprite” on the bottom, where you have the list of sprites.

You always start with 1 default sprite.

Stuth sa Ghàidhlig
repeat until <not <(language) = [English]>>
set (language) to [Gàidhlig]
end
adamc295
Scratcher
21 posts

How do I get sprites to automatically start at their beginning?

Ms_Rice wrote:

I am a teacher and trying to get my kids to start Scratch. When I'm editing and start over to see my progress the sprites moves backward to their starting position after I click the green flag. How do I get it to start at the beginning automatically without seeing the sprite moving backward to their start spot?

Also, how do I get the sprite to be facing the other direction?

Thanks
you use the
 to have it start at the beginning and the goto block

when green flag clicked
also you use the
,
turn cw () degrees

turn ccw () degrees
or the
point in direction ( v)

when I have signature :: events hat
say [Oh No! He has a signature now!]
set [end of world v] to [yes]
get adamc295 banned from scratch :: sensing
make me cry :: motion
adamc295
Scratcher
21 posts

How do I get sprites to automatically start at their beginning?

jaytheking1011 wrote:

don't know how to get sprites

you click the paint new sprite button, the choose sprite from file button or the choose sprite from libary button

define 

when I have signature :: events hat
say [Oh No! He has a signature now!]
set [end of world v] to [yes]
get adamc295 banned from scratch :: sensing
make me cry :: motion

Powered by DjangoBB