Trying new stuff with the camera and grid. I want to be able to move a unit but there is a problem with the grid at the moment. I am now trying to implement a new way of handling the camera, maybe then I can move on to moving units...

This commit is contained in:
gdz
2025-12-15 02:20:03 +01:00
parent 4f9d5fc8bd
commit 67b6198412
17 changed files with 588 additions and 51 deletions

9
Resource/Grid.tres Normal file
View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="Grid" load_steps=2 format=3 uid="uid://bpf7mj7w5kftq"]
[ext_resource type="Script" uid="uid://blwwie08bb4s" path="res://Resource/Grid.gd" id="1_ubiq0"]
[resource]
script = ExtResource("1_ubiq0")
size = Vector2(60, 60)
cellSize = Vector2(16, 16)
metadata/_custom_type_script = "uid://blwwie08bb4s"