Last modifs (maybe (we dunno))
This commit is contained in:
@@ -3,8 +3,6 @@ extends Control
|
||||
@onready var next_seed: TextureRect = $HBoxContainer/NextSeed
|
||||
|
||||
@onready var queue_image := [
|
||||
$HBoxContainer/Queue/Seed1,
|
||||
$HBoxContainer/Queue/Seed2,
|
||||
$HBoxContainer/Queue/Seed3,
|
||||
$HBoxContainer/Queue/Seed4,
|
||||
$HBoxContainer/Queue/Seed5,
|
||||
@@ -15,7 +13,7 @@ var planter: Planter
|
||||
func update_queue():
|
||||
var next_seed_param := planter.get_plant_from_queue()
|
||||
next_seed.texture = next_seed_param.seed_sprite
|
||||
var index := 0
|
||||
var index := 2
|
||||
for child in queue_image:
|
||||
var seed_param := planter.get_plant_from_queue(index)
|
||||
child.texture = seed_param.seed_sprite
|
||||
|
||||
@@ -3,7 +3,7 @@ extends CenterContainer
|
||||
|
||||
@export var gradient : GradientTexture1D
|
||||
|
||||
const CURSOR_WIDTH = 0.08
|
||||
const CURSOR_WIDTH = 0.04
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
|
||||
Reference in New Issue
Block a user