Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits) (+1)

Hey Behnam! I’m glad you enjoyed our game :D

Im here to answer your question about the cards! I’m not sure how or where you coded your game but we made our game with Godot, and Godot has built in tween functionally! So for the card rotations (when moving over the play zone) and scaling (when hovering over) was all tweens. As for cards travelling back to the player hand, that’s just lerp.
If you can’t get tweens to work in your framework or engine of choice, you could achieve mostly the same effect with lerp. If you’re wanting something a little bouncier/juicier than lerp, look into easing functions and you could implement those juicy transitions and rotations!

The text for me was also a little small. We were a little too deep into the project and had gotten pretty complex, so we decided not to change the size for times sake. In retrospect we definitely should’ve used a bigger resolution and that would’ve made the text more readable. Sorry about this!

Here are some links if you would like to look into tweens and easing functions:

Godot tweens: https://docs.godotengine.org/en/stable/classes/class_tween.html

Godot tween visualization: https://popcar2.itch.io/tweens-comparison, https://freetimedev.itch.io/godot-tween-cheatsheet

Easing functions cheat sheet: https://easings.net/

Hope you learned something new, and have fun with tweens and easing functions, cheers!

P.S. If you wanted to know how I implemented the card fanning in the player hand, I found these YouTube videos very helpful: https://youtube.com/shorts/qwu1grnli94?si=cA4XDZR4kt13uoQRhttps://youtu.be/waVOR2ehpuU?si=7N66SCdk82NAmhlc

(+1)

Wow, thank you so much for taking the time to write such a detailed answer and even sharing links! I really appreciate it. I actually learned a lot from your explanation. Cheers, and congrats again on making such a great game!