.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
[gd_scene format=3 uid="uid://cgixjjrc2kdui"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://wq1ylxxdyo3t" path="res://Game/Turret/towerDefense_tile181.png" id="1_fa2t6"]
|
||||
[ext_resource type="Script" uid="uid://ce7gnp1lcrrdv" path="res://Game/Turret/Turret.cs" id="2_tkk1n"]
|
||||
[ext_resource type="PackedScene" uid="uid://brbufibn7hi3o" path="res://Game/Projectile/projectile.tscn" id="3_eoix6"]
|
||||
[ext_resource type="Texture2D" uid="uid://ce3yr5qcy6tn8" path="res://Game/Turret/towerDefense_tile206.png" id="4_q6l7p"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_u8d0v"]
|
||||
_data = [Vector2(0, 1), 0.0, -1.0, 0, 1, Vector2(1, 0), -1.0, 0.0, 1, 0]
|
||||
point_count = 2
|
||||
|
||||
[node name="Turret" type="Sprite2D" unique_id=682995021 node_paths=PackedStringArray("_launcher")]
|
||||
texture = ExtResource("1_fa2t6")
|
||||
script = ExtResource("2_tkk1n")
|
||||
_projectilePackedScene = ExtResource("3_eoix6")
|
||||
_launcher = NodePath("Launcher")
|
||||
|
||||
[node name="Launcher" type="Sprite2D" parent="." unique_id=1492355681]
|
||||
texture = ExtResource("4_q6l7p")
|
||||
|
||||
[node name="Line2D" type="Line2D" parent="Launcher" unique_id=777442120]
|
||||
points = PackedVector2Array(0, 0, 0, -270)
|
||||
width_curve = SubResource("Curve_u8d0v")
|
||||
default_color = Color(1, 0.1764706, 0.19215687, 0.38039216)
|
||||
|
||||
[node name="Timer" type="Timer" parent="." unique_id=95651717]
|
||||
autostart = true
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="OnTimerTimeout"]
|
||||
Reference in New Issue
Block a user