chore: made game run in 1080p 16:9 by deafault, changed settings to scale window better
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user