ScratchData LogoScratchData
Back to Paddle2SeeFixIt's profile

Thread test

PAPaddle2SeeFixIt•Created August 1, 2011
Thread test
0
0
79 views
View on Scratch

Description

This project simulates the program flow of the Space War 4 project. A series of messages are displayed, using the costume number of a sprite and a Broadcast message of "message". After message 3, the messages need to pause until the dummy ship is destroyed, by moving the mouse over it. To make the messages wait, the call to message is switched over to "broadcast and wait" and the dummy ship control loop is set up on the same "message" message that is used to display messages - but there is a Wait until message=3 block in the stack to insure that it only fires off at message 3 This triggers a call to "ship destroyed" that runs a stack that increments the message number and calls "message" The messages then resume their display until completed at 6. Works on Java and 1.4 and Experimental viewer but not on Flash Viewer

Project Details

Project ID1956277
CreatedAugust 1, 2011
Last ModifiedAugust 1, 2011
SharedAugust 1, 2011
Visibilityvisible
CommentsAllowed