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.
This is of course due to godotengine/godot#16854, as their rect_global_position doesn't seem to take into account rotation. The solution would be to figure out how to apply the parent's rotation to their rect_global_position to receive the correct value to check against the mouse cursor. No clue how to calculate this however.
This is of course due to godotengine/godot#16854, as their rect_global_position doesn't seem to take into account rotation. The solution would be to figure out how to apply the parent's rotation to their rect_global_position to receive the correct value to check against the mouse cursor. No clue how to calculate this however.