I am making a tamagotchi in scratch, but I cannot find out how to make him move up and down while moving side to side, and still bounce when it hits the edge. Please help!
Offline
Check my code for the bouncing football in this program it might help...
http://scratch.mit.edu/projects/uncleclives/13973
Offline
Thank you for posting this, all I needed to do was add some change y by blocks that I did not see at first. But, now I have another question. Can I make everything stop when a message is broadcast, and then start again?
Offline
Two ways use a - broadcast command - followed by - stop script - to restart the script you could put in another broadcast command such as restart and on the script you stopped before put a - when I receive (restart) - command. Hope this makes sense I have used it in my above program for when the football reaches the ground to stop the ball and script and then restart the script when required.
Another way would be to set up a variable for example called motion and then put it into your script
if motion =0 then move 0 (stop movement of sprite)
if motion =1 then move 1 (move sprite)
Offline