Question: Javascript Project Load blue, green, and pink color balloon images in the preload( ) function. Create Functions for spawning blue, green, and pink color balloons.

Javascript Project

Load blue, green, and pink color balloon images in the preload( ) function.

Create Functions for spawning blue, green, and pink color balloons.

Write code to spawn balloons at random x positions.

  • Create a score variable and assign it a value of 0.
  • Set the textSize() to 20.
  • Display score using the text() function.
  • Remember to follow the instructions learned in class to indent the code
  • To display the score system, add text() after drawSprites( ) and before ending the draw() function:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!