Thank you, bartbes, you're right. The issue was calling the tween in every frame in love.draw (or only at the start of the script in love.load). The corrected code you wrote works the way I was hoping.
Search found 2 matches
Search found 2 matches • Page 1 of 1
- Sun Sep 02, 2018 7:48 pm
- Forum: Support and Development
- Topic: Conditional tweening confusion
- Replies: 2
- Views: 919
I apparently have a fundamental misunderstanding of how updating works during a tween. My goal is to have a draw function that activates a tween (color fade) when a key is pressed. I'm using the HUMP library , following this documentation of the tween function: hump_tween.png Below is the latest cod...