Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do This Use the visible property inside an if ( statement to make the balloon pop when it hits the edge of the game area!

Do This Use the visible property inside an if ( statement to make the balloon pop when it hits the edge of the game area! 1. Create a pop sprite which uses the "pop" visual in the animation tab. 2. Set the pop sprite to be hidden at the beginning. World Drawing Math Toolbox var sprite sprite.x sprite y sprite.scale sprite.setAnimation (label) sprite height sprite.width Sprites Control Variables createSprite enrita inilal 1 createSprite (200, 200) 2 balloon.setAnimation ("balloon"); 3 4 5 6 7 8 00 9 10 11 12 23 13 var balloon balloon.scale 0.1; Workspace 1) Create a pop sprite which uses the "pop" visual in the animation tab. //2) Set the pop sprite to be hidden at the beginning. Debug Console 14 function draw() // Draw Background background("white"); Debug Sprites: Off Version History Clear Show Te Watchers Variable Property +

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

3. What might you have done differently

Answered: 1 week ago

Question

4. Did you rethink your decision?

Answered: 1 week ago

Question

3. Did you seek anyones advice?

Answered: 1 week ago