Hi, thanks for all the Godot addons you've uploaded!
I am having a problem with the pop function in Juice, though - I have a texture button that I call pop() on the mouse entered signal. The issue is that if I move the mouse outside of the button and back in again before the tween finishes, no new pop starts because the first tween is still in progress. However, it seems that under the hood, the new tween is firing too, but not actually scaling the button. So it's possible to keep stacking invisible tweens - any new ones added to the stack will fail because a previous tween is still running. This isn't a problem for quick pops, but if the duration is set to something higher, like 1 second, it starts to become a problem.
I'm not a GDScript master, but I looked into it a little and it seems that Godot tweens just have this issue - stacking tweens without using SubTweens causes problems. So I guess the "right" way to do it would be to store the initial scale of the node, the tween, and the node in some kind of persistent way, then kill() the tween and manually restore the node's scale if the tween is running when it's triggered again. I'm sure there will be issues with doing all that, too, though.
In the meantime I found an addon called DampedOscillator that can do a similar pop, but uses an animation instance scene instead of tweening, and fwiw it doesn't have this problem.
Scoremonger
4
Posts
1
Topics
1
Followers
91
Following
A member registered Apr 02, 2017
Recent community posts
Free & open-source: Saltmire Juice, a game-feel kit for Godot 4 comments · Posted in Free & open-source: Saltmire Juice, a game-feel kit for Godot 4 comments
Construct 2 & Construct 3 Platformer Pathfinding Template comments · Posted in Construct 2 & Construct 3 Platformer Pathfinding Template comments
itch.io Community » itch.io » Questions & Support · Created a new topic A way to search within a category?
Hi, hopefully I didn't miss some obvious way to do it, but I would love a way to search/filter within a category without having to use tags. On Steam, for example, you can enter a category and then search within that category without having to use tags. I'm mostly here for game-making assets and tools, so doing a global search for an arbitrary term is often frustrating because tons of games show up in the results. Thanks!