2024-10-11 02:22:28 +00:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://g1jrthe4ojdd"]
|
2024-10-07 07:17:04 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/weapon/MeleeWeapon.cs" id="1_snmy1"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://wt50kx6bup51" path="res://sprites/weapon/StaffNecromancy.png" id="3_cm7e6"]
|
|
|
|
[ext_resource type="AudioStream" uid="uid://cak6chjjsu7wo" path="res://sounds/fire.wav" id="4_qimud"]
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_14m1g"]
|
|
|
|
size = Vector2(49, 5.25)
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2u0n7"]
|
|
|
|
size = Vector2(102, 94)
|
|
|
|
|
|
|
|
[node name="IronAxe" type="RigidBody2D"]
|
|
|
|
collision_layer = 8
|
|
|
|
collision_mask = 34
|
|
|
|
angular_damp = -1.0
|
|
|
|
script = ExtResource("1_snmy1")
|
|
|
|
|
|
|
|
[node name="StaffOfTheUndead2" type="Sprite2D" parent="."]
|
|
|
|
position = Vector2(30, 0)
|
|
|
|
texture = ExtResource("3_cm7e6")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
position = Vector2(25.5, 0.375)
|
|
|
|
shape = SubResource("RectangleShape2D_14m1g")
|
|
|
|
|
|
|
|
[node name="Marker2D" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(65, 0)
|
|
|
|
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="Marker2D"]
|
|
|
|
stream = ExtResource("4_qimud")
|
|
|
|
bus = &"SoundEffect"
|
|
|
|
|
|
|
|
[node name="TipLabel" type="Label" parent="."]
|
|
|
|
offset_left = 6.0
|
|
|
|
offset_top = 48.0
|
|
|
|
offset_right = 46.0
|
|
|
|
offset_bottom = 73.0
|
|
|
|
|
|
|
|
[node name="WeaponDamageArea" type="Area2D" parent="."]
|
|
|
|
collision_layer = 512
|
|
|
|
collision_mask = 0
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="WeaponDamageArea"]
|
|
|
|
position = Vector2(127, 1)
|
|
|
|
shape = SubResource("RectangleShape2D_2u0n7")
|