31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://buff711j0f2ph"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ddlwjg81ro1kl" path="res://sprites/spike_trap.png" id="1_xg6e1"]
|
|
[ext_resource type="Script" uid="uid://cq26pfxn17s7s" path="res://scripts/components/spin_component.gd" id="2_3d4lc"]
|
|
[ext_resource type="Script" uid="uid://dkmxhjtmu5xlb" path="res://scripts/components/damage_component.gd" id="3_ytlu4"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_xg6e1"]
|
|
radius = 8.0
|
|
|
|
[node name="Spike Wheel" type="Area2D"]
|
|
collision_layer = 8
|
|
collision_mask = 4
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_xg6e1")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_xg6e1")
|
|
|
|
[node name="SpinComponent" type="Node2D" parent="." node_paths=PackedStringArray("root")]
|
|
script = ExtResource("2_3d4lc")
|
|
root = NodePath("../Sprite2D")
|
|
speed = 1.0
|
|
metadata/_custom_type_script = "uid://cq26pfxn17s7s"
|
|
|
|
[node name="DamageComponent" type="Node" parent="." node_paths=PackedStringArray("area2d")]
|
|
script = ExtResource("3_ytlu4")
|
|
damage = 1.0
|
|
area2d = NodePath("..")
|
|
metadata/_custom_type_script = "uid://dkmxhjtmu5xlb"
|