blob: 504989891a11f1c0c489f14f604c78c03e2768ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
extends ColorRect
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta: float) -> void:
if !Globals.FUN:
color.r = 0
else:
color.r = randi_range(0, 1)
color.g = color.r
color.b = color.r
|