This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-11-28 21:09:17

wisetrain
New Scratcher
Registered: 2011-11-28
Posts: 4

Don't know what's wrong?

So I made this for a programming class at my school and it's due tomorrow. Problem is though, is when the turkey sprites are suppose to follow the mouse pointer until they reach the destination (table) or hit one of the sides (black lines) the script should restart. Instead of even following the mouse pointer, right when the numbers count down and the game should stop, instantly the game screen disappears and it goes back to the interface. Like I said before, it should ONLY do this when a black line or the table is touched. Can someone please inspect my code and tell me what I did wrong?


Here is my project:

http://scratch.mit.edu/projects/wisetrain/2181873

Thanks

Offline

 

#2 2011-11-28 21:12:38

wisetrain
New Scratcher
Registered: 2011-11-28
Posts: 4

Re: Don't know what's wrong?

In the 5th line I say the word stop.

"game should --> stop  <--- , instantly the game screen disappears and it goes back to the interface."


"Stop" should be replaced with "Start"

Offline

 

#3 2011-11-28 21:33:17

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Don't know what's wrong?

Posted a comment on the project that might help you out.  It looks to me like the message that starts the wall detection (Begin) is being sent too early by the Dinner sprite.  You probably want the last number of the countdown to send the message.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer