Hi!
I've been asked by my group in Video Games Programming to make a sprite go from one side of the screen to the other on a curve that reaches towards the top of the screen. It is a sun, and I was thinking it should be done similarly to Terraria's sun, but I've missed a few sessions due to illness and am not confident I could figure out a way to do it without telling it to adjust its trajectory every so often to create a curve.
I know this is a simple, but I'm getting back into my course after being hospitalized and don't want to disappoint them. I couldn't find much online for something this kind of specific, and I feel like telling it to adjust its velocity/ y acceleration would create a curve that's too harsh, and creating a timer using a variable adjusting them might be overengineering it.
Thank you for anyone willing to help.
I've been asked by my group in Video Games Programming to make a sprite go from one side of the screen to the other on a curve that reaches towards the top of the screen. It is a sun, and I was thinking it should be done similarly to Terraria's sun, but I've missed a few sessions due to illness and am not confident I could figure out a way to do it without telling it to adjust its trajectory every so often to create a curve.
I know this is a simple, but I'm getting back into my course after being hospitalized and don't want to disappoint them. I couldn't find much online for something this kind of specific, and I feel like telling it to adjust its velocity/ y acceleration would create a curve that's too harsh, and creating a timer using a variable adjusting them might be overengineering it.
Thank you for anyone willing to help.