Closed valkyrienyanko closed 1 year ago
Notice how the cards sometimes instantly transition from red back to white? This is undesired. I was expecting them to all transition smoothly.
Note to add cards press "E" and to remove cards press "Space Bar".
https://github.com/Valks-Games/AvoidTheEnemies/assets/6277739/f66fdc55-8783-44d0-8b54-c725b45302cf
Here is the relevant code
https://github.com/Valks-Games/AvoidTheEnemies/blob/920f9bd78af7a6266eae14266660e88f63bee8d9/Scripts/UI/UICard.cs#L29-L45
I would prefer if you kept using GTween and editing it to your needs but if you must you can completely avoid it and use the tweens directly from Godot as GTween is just a wrapper for Tween.
GTween
Tween
Notice how the cards sometimes instantly transition from red back to white? This is undesired. I was expecting them to all transition smoothly.
Note to add cards press "E" and to remove cards press "Space Bar".
https://github.com/Valks-Games/AvoidTheEnemies/assets/6277739/f66fdc55-8783-44d0-8b54-c725b45302cf
Here is the relevant code
https://github.com/Valks-Games/AvoidTheEnemies/blob/920f9bd78af7a6266eae14266660e88f63bee8d9/Scripts/UI/UICard.cs#L29-L45
I would prefer if you kept using
GTween
and editing it to your needs but if you must you can completely avoid it and use the tweens directly from Godot asGTween
is just a wrapper forTween
.