mirror of
https://github.com/mightypanders/GMTKJam2021.git
synced 2025-01-30 21:59:55 +01:00
use doplist to set colors
This commit is contained in:
parent
b9a7ce118a
commit
b312905c33
2
World.gd
2
World.gd
@ -4,6 +4,7 @@ onready var streets = $Streets
|
|||||||
onready var used_cells = streets.get_used_cells()
|
onready var used_cells = streets.get_used_cells()
|
||||||
onready var guests = $Guests
|
onready var guests = $Guests
|
||||||
onready var money_label = $GUI/HBoxContainer/HBoxContainer2/Money
|
onready var money_label = $GUI/HBoxContainer/HBoxContainer2/Money
|
||||||
|
onready var dropOffPointListNode = $DropOffPoints
|
||||||
|
|
||||||
export var player_score = 0
|
export var player_score = 0
|
||||||
|
|
||||||
@ -24,6 +25,7 @@ func _process(delta):
|
|||||||
$GUI2/HBoxContainer/Time/Background/Number.text = String(int($GameTime.time_left))
|
$GUI2/HBoxContainer/Time/Background/Number.text = String(int($GameTime.time_left))
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
|
dropOffPointListNode.set_colors()
|
||||||
rng.randomize()
|
rng.randomize()
|
||||||
print(radius_guests)
|
print(radius_guests)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user