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😂
Viewing post in Reflectro jam comments
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
card_texture.material.set("shader_parameter/mix_ratio", 1) tween_damage.tween_property(card_texture.material, "shader_parameter/current_frame", 6, 0.1)