Select Page

CS 1334 The University of Texas at Dallas Javascript Code Falling Stars Code

Question Description

I’m working on a javascript exercise and need support to help me study.

Lab Lesson #6 – Falling Stars

  1. Create a new Khan Academy project ?
  2. Use the getImage( ) function to load the star image ?
  3. Write code to display 3 stars on the screen
  • Create x, y variables for each star’s position, speed, and acceleration. ?
  • Start each star at y=0, with zero speed, and some small acceleration in the positive y ?direction
  • The acceleration should be different for each star ?
  1. Remember: speed changes the star’s position.
  2. Remember: acceleration changes the speed ?
  3. The stars should bounce when they hit the bottom of the screen (i.e. reverse the speed) ?

"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you "A" results."

Order Solution Now