Search found 2 matches

by blur_like_sotong
Mon Sep 03, 2018 4:20 am
Forum: Support and Development
Topic: Conditional tweening confusion
Replies: 2
Views: 10407

Re: Conditional tweening confusion

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.

Thanks again!
by blur_like_sotong
Sun Sep 02, 2018 7:48 pm
Forum: Support and Development
Topic: Conditional tweening confusion
Replies: 2
Views: 10407

Conditional tweening confusion

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...