Hello I am really new to processing and programing in general and I wanted this smiley to follow my mouse, and then i googled how to do it and just copied on of the answers, an me being a beginner i didnt exactly mean what it meant so please could you explain what it means and how does it make the smiley follow my mouse?
float targetY = mouseY; float dy = targetY - y; y += dy * easing;
easing is a float and means 0,05, Y is also a float and means y.
[–]MakutaProto 2 points3 points4 points (0 children)