Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I get sprites to automatically start at their beginning?
- 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
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)
- birchyboii
- Scratcher
100+ posts
How do I get sprites to automatically start at their beginning?
when flag clicked
or
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
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?
Shouldn't you have edited your first post? It's too late now, but for future reference… Its seems drmcw has been first to post without me noticing
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
- 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)))
- 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
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
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.
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?
hwo do you make the sprite start at a certain area when flag clicked
when green flag clicked
go to x: (100) y: (100)
- GunChleoc
- Scratcher
500+ posts
How do I get sprites to automatically start at their beginning?
“New Sprite” on the bottom, where you have the list of sprites. don't know how to get sprites
You always start with 1 default sprite.
- adamc295
- Scratcher
21 posts
How do I get sprites to automatically start at their beginning?
you use the 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
to have it start at the beginning and the goto blockalso you use the
when green flag clicked
,
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?
you click the paint new sprite button, the choose sprite from file button or the choose sprite from libary button don't know how to get sprites
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
- Discussion Forums
- » Help with Scripts
- » How do I get sprites to automatically start at their beginning?