L2P1: Speed Boost Race
– Use a function to change the sprite’s speed on command.
Description.
– Use a function to change the sprite’s speed on command.
– Let players choose a power-up using parameters to change effects.
– Make a sprite grow, shrink, or glow with a function call.
Choose a theme (e.g., underwater, jungle, outer space)Use setup() and draw()Include player controls, a scoring system, and an end conditionAdd personal touches like music, backgrounds, or sprite animations
– End the game and show a message once the score reaches a goal.
– Lose a life (counter variable) each time the player hits an obstacle.
– Track how many jumps the player makes before the game ends.
– Add 1 to the score when the player sprite touches a coin.
– Animate a dinosaur that walks or dances on repeat.
– Use the draw loop to animate a bouncing ball.