db0 / godot-card-game-framework

A framework which comes with prepared scenes and classes to kickstart your card game, as well as a powerful scripting engine to use to provide full rules enforcement.
http://dbzer0.com/projects/godot-card-game-framework/
GNU Affero General Public License v3.0
892 stars 95 forks source link

Added constants for card tween durations #156

Closed stevosaurus closed 2 years ago

stevosaurus commented 2 years ago

Added constants in CFConst for card tween durations used in the CardTemplate _process_card_state() function.

db0 commented 2 years ago

Thanks but I'm actually thinking of starting to start adding support for multiple card sizes soon. As such, I need to move away from CFConst for explicit card-properties.

Can you convert the Constants to exported vars in the card template instead? This way they can be set for each card type and inherited as needed.

db0 commented 2 years ago

Done. Thanks mate