slinkie@lemmy.worldtoGodot@programming.dev•How would I get a relative point between a min and max value that could be represented as a float between 0.0 and 1.0?
4·
1 year agoMaybe you’re looking for lerp()?
Given two vectors and a value between 1.0 and 0, it’ll produce a vector at a point between the inputs.
https://docs.godotengine.org/en/stable/classes/class_vector2.html#class-vector2-method-lerp
Jumping Flash (ps1) was my first ever game. https://en.m.wikipedia.org/wiki/Jumping_Flash!
It was pretty hard as a 5 year old.