From e9b282f873708c49b2b3063170b7a5de411b01a2 Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Thu, 15 Sep 2022 13:16:12 +0200 Subject: [PATCH] Merge(?) --- scenes/HexGrid3DTest.gd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scenes/HexGrid3DTest.gd b/scenes/HexGrid3DTest.gd index ea0df07..fe82415 100644 --- a/scenes/HexGrid3DTest.gd +++ b/scenes/HexGrid3DTest.gd @@ -1,5 +1,8 @@ extends Spatial +onready var hexgrid = preload("res://addons/gdhexgrid/HexGrid.gd").new() +onready var HexTile3D = preload("res://scenes/HexTile3D.tscn") +onready var tiles = $Tiles onready var fps_label = $CanvasLayer/HBoxContainer/FPSLabel onready var player_pos_label = $CanvasLayer/HBoxContainer/PlayerPos onready var tile_pos_label = $CanvasLayer/HBoxContainer/TilePos @@ -8,7 +11,7 @@ onready var player = $Player onready var world = $World var player_velocity = Vector3.ZERO -var player_speed = 5 +var player_speed = 1 var target_coordinate = Vector3.ZERO func _ready():