chore: made game run in 1080p 16:9 by deafault, changed settings to scale window better

This commit is contained in:
2026-03-10 18:42:03 +01:00
parent 407a4c638b
commit ee7ba59ed2
3 changed files with 28 additions and 44 deletions

View File

@@ -21,14 +21,17 @@ func setup_game():
var deal_r: int =1
while true:
deal_cards_to_hand(3, player_1_hand)
await get_tree().create_timer(0.5).timeout
deal_cards_to_hand(3, player_2_hand)
await get_tree().create_timer(0.5).timeout
deal_cards_to_hand(3, player_3_hand)
await get_tree().create_timer(0.5).timeout
deal_cards_to_hand(3, player_4_hand)
if deal_r == 3:
dealt.emit()
break
else:
await Timer.new()
await get_tree().create_timer(0.5).timeout
deal_r += 1
func create_standard_deck():