Anri/AdBlockNot
Archived
1
0
Fork 0

dice from 5 to 8

This commit is contained in:
Mylloon 2024-01-28 22:37:47 +01:00
parent e866ff43cc
commit d3d894417b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 5 additions and 5 deletions

BIN
ressources/assets/RollDice/Dice.png (Stored with Git LFS)

Binary file not shown.

View file

@ -5,8 +5,8 @@ extends "res://scripts/ads/ads_default.gd"
@onready var label_right := $Dice/Right
func _ready():
label_left.text = "0"
label_right.text = "0"
label_left.text = "?"
label_right.text = "?"
func exit_condition():
return condition
@ -18,4 +18,4 @@ func _on_button_pressed():
label_left.text = str(left)
label_right.text = str(right)
condition = left + right >= 5
condition = left + right >= 8