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
- Create a new Khan Academy project ?
- Use the getImage( ) function to load the star image ?
- 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 ?
- Remember: speed changes the star’s position.
- Remember: acceleration changes the speed ?
- 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."