question1: how do you make a sprite move forever
question2: when a sprite reaches a wall how do you make it turn around (but not bounce)
please help me it would be greatly appreciated
Offline
Answer 0: Post this in All About Scratch.
Answer 1: This sort of concurs with answer 2. But here it is:
Sprite moving:
When Flag Clicked
Repeat until touching wall
point in direction 90
move whatever steps
End of Repeat Until
if touching wall
point in direction -90 (if the direction before is 90)
(you see where you type the sprite name at the top? There are three buttons.
Choose the middle one. So the direction will be only facing right or left and the -90 direction block will make it so it is still facing left but not flipped over.)
Offline