Merge(?)
parent
ff73d6a543
commit
e9b282f873
|
@ -1,5 +1,8 @@
|
||||||
extends Spatial
|
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 fps_label = $CanvasLayer/HBoxContainer/FPSLabel
|
||||||
onready var player_pos_label = $CanvasLayer/HBoxContainer/PlayerPos
|
onready var player_pos_label = $CanvasLayer/HBoxContainer/PlayerPos
|
||||||
onready var tile_pos_label = $CanvasLayer/HBoxContainer/TilePos
|
onready var tile_pos_label = $CanvasLayer/HBoxContainer/TilePos
|
||||||
|
@ -8,7 +11,7 @@ onready var player = $Player
|
||||||
onready var world = $World
|
onready var world = $World
|
||||||
|
|
||||||
var player_velocity = Vector3.ZERO
|
var player_velocity = Vector3.ZERO
|
||||||
var player_speed = 5
|
var player_speed = 1
|
||||||
var target_coordinate = Vector3.ZERO
|
var target_coordinate = Vector3.ZERO
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
|
|
Loading…
Reference in New Issue