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.
Copy and paste from discord regarding issue with the first card spawned labels do not match stats:
in the core CardFront.gd the set label text function will just return if the label is currently resizing
this function gets called when the card is made and to give it its initial properties and when I modify properties in the next task
but the label isn't done resizing by the time I modify the 2nd time so the label does not get updated even though the property changes
not sure why this only applies to the first spawned card though
also not sure what to do about it exactly cause i assume it works the way for good reason
would it make sense to have the card's _process check if a label has a discrepancy with the value and update it if so or would that mess other stuff up
Copy and paste from discord regarding issue with the first card spawned labels do not match stats:
in the core CardFront.gd the set label text function will just return if the label is currently resizing
this function gets called when the card is made and to give it its initial properties and when I modify properties in the next task
but the label isn't done resizing by the time I modify the 2nd time so the label does not get updated even though the property changes
not sure why this only applies to the first spawned card though
also not sure what to do about it exactly cause i assume it works the way for good reason
would it make sense to have the card's _process check if a label has a discrepancy with the value and update it if so or would that mess other stuff up