First For chapter 9 answer problems 1 and 2 on page 251 and label it lab6.9-1.js and lab6.9-2.js.
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →First For chapter 9 answer problems 1 and 2 on page 251 and label it lab6.9-1.js and lab6.9-2.js.
Next, For chapter 10 answer only problem 1 and label it lab6.10-1.
Also make sure to include a word document about your observations as well.
This is for 2d game programming and I need it by friday before midnight.
chapter 9 problems 1-2
1. Comment out the assignment to this.easingFunction in the AnimationTimer constructor and restart the game. What happens when the runner jumps? Why?
2. Change the ease-out-in function used by the bounce behavior to an ease-in-out function by using AnimationTimer.makeEaseInOut- EasingFunction() instead of AnimationTimer.makeEaseOutInFunction(). Verify that changing the easing function makes it look like coins and jewels are bouncing upside down.
Chapter 10 problem 1
1. Modify Snail Bait’s keydown event handler to run the game in slow motion when the player presses the s key by invoking Snail Bait’s setTimeRate() method. If the game is already running in slow motion when the player presses the s key, return the game to normal speed. The precise definition of slow motion is up to you.
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds