Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have created an enemy whose armor has the RGB color 0 , 162 , 232 . Once they have been hit enough, you want
You have created an enemy whose armor has the RGB color 0, 162, 232. Once they have been hit enough, you want them to enter a "damaged" state and change colors to 255, 0, 128.
If you use linear interpolation ("lerping") to smoothly transition from one color to the other, what color would the armor be at t = 0.5s?
| 128, 63, 116 |
| 128, 63, 180 |
| 255, 63, 64 |
| 0, 0, 180 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started