Card cast

This commit is contained in:
Rendo 2026-02-28 18:08:26 +05:00
commit 52572f8c37
17 changed files with 124 additions and 30 deletions

View file

@ -8,23 +8,19 @@
[ext_resource type="Resource" uid="uid://b6kiwb0marpng" path="res://cards/resources/zlosma.tres" id="5_0tnpc"]
[ext_resource type="Script" uid="uid://rt6mxr30u8tp" path="res://systems/grid.gd" id="7_u5sy4"]
[ext_resource type="Script" uid="uid://bmy5djjmiljhl" path="res://systems/grid_highlighter.gd" id="8_gee14"]
[ext_resource type="Script" uid="uid://c7i44ghoo4kqo" path="res://debug/debug_highlight_tester.gd" id="9_0tnpc"]
[ext_resource type="Texture2D" uid="uid://du3h8ou2sxh6s" path="res://units/fosma/fosma.png" id="10_vtaks"]
[ext_resource type="Script" uid="uid://dgd30yiw5q368" path="res://systems/grid_reciever.gd" id="9_0tnpc"]
[ext_resource type="Script" uid="uid://bkh50fstwbb6s" path="res://systems/grid_arranger.gd" id="10_vtaks"]
[node name="Game" type="Node2D" unique_id=619820575]
[node name="Field" type="Sprite2D" parent="." unique_id=1104378711]
texture = ExtResource("1_iywne")
centered = false
[node name="Fosma" type="Sprite2D" parent="." unique_id=128278442]
position = Vector2(511, 278)
texture = ExtResource("10_vtaks")
metadata/_edit_lock_ = true
[node name="PlayerInterface" type="CanvasLayer" parent="." unique_id=269857956]
[node name="Hand" type="Control" parent="PlayerInterface" unique_id=403305026]
visible = false
layout_mode = 3
anchors_preset = 12
anchor_top = 1.0
@ -90,6 +86,12 @@ metadata/_custom_type_script = "uid://rt6mxr30u8tp"
[node name="Highlighter" type="Node2D" parent="Grid" unique_id=69750982]
script = ExtResource("8_gee14")
[node name="Reciever" type="Node" parent="Grid" unique_id=898766746]
script = ExtResource("9_0tnpc")
[node name="Arranger" type="Node" parent="Grid" unique_id=1638122526]
script = ExtResource("10_vtaks")
[node name="GridMarker" type="Marker2D" parent="." unique_id=1656515901]
position = Vector2(801, 567)
@ -97,14 +99,3 @@ position = Vector2(801, 567)
position = Vector2(0, 142)
anchor_mode = 0
zoom = Vector2(1.5, 1.5)
[node name="HighlightTester" type="Node2D" parent="." unique_id=729091083 node_paths=PackedStringArray("grid")]
position = Vector2(602, 362)
script = ExtResource("9_0tnpc")
grid = NodePath("../Grid")
[node name="Timer" type="Timer" parent="HighlightTester" unique_id=1589504194]
wait_time = 0.1
autostart = true
[connection signal="timeout" from="HighlightTester/Timer" to="HighlightTester" method="_on_timer_timeout"]