For this week I will be working on implementing the offline android build once our game designer is done with making our controls look visually appealing, in the meantime, I will be preparing for the Android build soon.
I have been working on visually indicating the health on the player itself by using the material color, I am currently doing this by using two colors however I am unable to get it to work according to how we would like it to work as the calculations I am doing for T in color.lerp are based of my health/maximum health & T in my current case is a value between 0 which is color A , 1 which is color B & 0.5 which is a color between A and B . The method works between green and yellow, however, this will not work between yellow and red as the value the health calculates will be a value between 0.5 and 0 which would not transition properly.
I have been looking into making a gradient, however, I do not understand how the gradients work completely. After a lot of research, I have come to the conclusion that lerping is not the right way to do the feature & that I should have continued looking into gradients.
Apart from working on the project, I have also been working harder on my learning outcomes as four of my major learning outcomes are done and I have received credit for it. My goal would be to finish the android build & finish the steering behavior learning outcome before week 10 is finished.
Comments
Post a Comment