Skip to main content

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

I went the lazy route and used a hurt shader that im tweening. I was too lazy to create spritesheets with 6 frames each for 52 cards😂

(+1)

interesting! then I have no idea what you are talking about - I so far worked only on the sprites level :)) maybe will try to get in shaders and stuff later :)

(+1)

Shaders are pure magic created by math wizards :D
I used this one to make the hit animations with some minor modifications https://godotshaders.com/shader/color-cycling-hit-effect/
This Video explains how to add shaders in godot

My tweens look like this for example.

card_texture.material.set("shader_parameter/mix_ratio", 1)
tween_damage.tween_property(card_texture.material, "shader_parameter/current_frame", 6, 0.1)
(+1)

Thank you!