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
907 stars 96 forks source link

When card is rotated, tokens and token drawer should remain legible #84

Open db0 opened 3 years ago

db0 commented 3 years ago

Currently when the card rotates, so do the numbers on the tokens and the text on the drawer.

This should be adapted so that the number on the tokens orientate to be legible to the user

The token drawer might be more tricky. It should still expand from the same side I guess, but the labels should reorient themselves. However when the card is at 90/270 degrees, that would mean also reorganizing the token icons vertically, otherwise the labels will fall on top of each other.

Alternate option is to make the token drawer reorient itself always to the right side of a card, regardless of its orientation. That would involve manipulating its position and its orientation at the same time, depending on the card's rotation. This might be a simpler solution but I'm worried it might not look that good.

ophoria commented 3 years ago

What you suggest makes perfect sense as default setting. However, it would be cool if the current "bad" way would be a possibility for people that wish for that behaviour for some reason I can't even forsee right now.