Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How can I get a sprite to move independently.
- lovejoyce123
-
New Scratcher
6 posts
How can I get a sprite to move independently.
I need help on making a sprite move alone and when another sprite touches it disapear
- creativium
-
Scratcher
29 posts
How can I get a sprite to move independently.
when green flag clicked
forever
if <key [right arrow] pressed?> then
change x by (5)
if <key [left arrow] pressed?> then
change x by (-55)
end
end
Last edited by creativium (April 20, 2015 23:06:43)
- deck26
-
Scratcher
1000+ posts
How can I get a sprite to move independently.
To hide the sprite
If the sprite only disappears once and doesn't reappear you could put that in the forever loop for the movement and add a ‘stop this script’ after the hide.
if <touching [othersprite v] ?> then
hide
end
If the sprite only disappears once and doesn't reappear you could put that in the forever loop for the movement and add a ‘stop this script’ after the hide.
Last edited by deck26 (April 21, 2015 09:00:35)
- lovejoyce123
-
New Scratcher
6 posts
How can I get a sprite to move independently.
i tried it does not work do i have to put that on the sprite that a want to move alone and disapear or on the other one. please answer as fast as you i really need it.
- arcadegames1
-
Scratcher
100+ posts
How can I get a sprite to move independently.
i tried it does not work do i have to put that on the sprite that a want to move alone and disapear or on the other one. please answer as fast as you i really need it.put the script on the sprite that you want to disappear
if <touching [anothersprite v] ?> then
hide
end
- lovejoyce123
-
New Scratcher
6 posts
How can I get a sprite to move independently.
and how can i make a sprite move on its own please answer fast
- lovejoyce123
-
New Scratcher
6 posts
How can I get a sprite to move independently.
we cant find the sound yay
- duckboycool
-
Scratcher
1000+ posts
How can I get a sprite to move independently.
It should be moving on it's own. share the project
- lovejoyce123
-
New Scratcher
6 posts
How can I get a sprite to move independently.
how can i unpublish the game
- languagegal14
-
Scratcher
500+ posts
How can I get a sprite to move independently.
how can i unpublish the gameWhat do you mean by unpublish? Do you mean unshare? If you mean unshare, go to your username at the top right, and hit the my stuff button. then scroll down to the project and hit unshare. Good luck!
- lovejoyce123
-
New Scratcher
6 posts
How can I get a sprite to move independently.
how two can i make sprite move up down
- deck26
-
Scratcher
1000+ posts
How can I get a sprite to move independently.
The ‘move (x) steps’ block moves the sprite in the direction it is pointing so if you point it to 0 or 180 degrees and use move it will go in that direction.
Alternatively use ‘set y to value’ or ‘change y by value’.
Alternatively use ‘set y to value’ or ‘change y by value’.
- CCCPSYear5S8
-
Scratcher
9 posts
How can I get a sprite to move independently.
how can i unpublish the gameyou go to ur games and unshare it
- deck26
-
Scratcher
1000+ posts
How can I get a sprite to move independently.
Please don't necropost. That answer has already been given.how can i unpublish the gameyou go to ur games and unshare it
- Ramenkat2014
-
Scratcher
1 post
How can I get a sprite to move independently.
Im making a 1 player battle game how do i get the sprite your fighting to move without the 1 player touching any keys irl?
- Discussion Forums
- » Help with Scripts
-
» How can I get a sprite to move independently.







