Lab 5.3
When the green flag is pressed, velocity, size, and color attributes are set to their defaults (10, 100, and 0 respectively). Here are the ranges for the attributes: Velocity: 0-50 Size: 0-150 Color: 0-200 Each time the space bar is pressed, a clone of the original sprite will start moving from the center to a random direction "velocity" steps and bounce around within the stage. Each time a new clone is created, it will have its own ID number. To stop the script, use the stop button. Pressing the "d" key will make it so that the newest clone is deleted. Pressing the "x" key will prompt the user to input an ID number to delete a clone with said ID number. Each clone will say its ID number from the moment it is created and will continue to do so until it is deleted. New clones can be created even if all the old clones have been deleted since the prototype is still present in the program.
Created December 10, 2020
Last updated December 10, 2020
Published December 10, 2020