57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
[gd_scene format=3 uid="uid://c4f8lam3n2p1q"]
|
|
|
|
[ext_resource type="Script" uid="uid://b007hs3cximxp" path="res://scripts/sword_projectile.gd" id="1_projectile"]
|
|
[ext_resource type="Texture2D" uid="uid://bwxpic53sluul" path="res://assets/gfx/sword_slash.png" id="2_texture"]
|
|
[ext_resource type="AudioStream" uid="uid://4vulahdsj4i2" path="res://assets/audio/sfx/swoosh/throw_01.wav.mp3" id="3_fp4be"]
|
|
[ext_resource type="AudioStream" uid="uid://uerx5rib87a6" path="res://assets/audio/sfx/weapons/bone_hit_wall_01.wav.mp3" id="4_eu0kt"]
|
|
[ext_resource type="AudioStream" uid="uid://dc7nt8gnjt5u5" path="res://assets/audio/sfx/weapons/melee_attack_12.wav.mp3" id="4_un5tg"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_projectile"]
|
|
size = Vector2(10, 12)
|
|
|
|
[node name="SwordProjectile" type="Node2D" unique_id=357652785]
|
|
y_sort_enabled = true
|
|
script = ExtResource("1_projectile")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=993464285]
|
|
rotation = 4.71239
|
|
scale = Vector2(0.75, 0.75)
|
|
texture = ExtResource("2_texture")
|
|
|
|
[node name="Area2D" type="Area2D" parent="." unique_id=556563628]
|
|
collision_layer = 4
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=520125159]
|
|
position = Vector2(-0.25, 0)
|
|
shape = SubResource("RectangleShape2D_projectile")
|
|
debug_color = Color(0.70196074, 0, 0.09064378, 0.41960785)
|
|
|
|
[node name="SfxSwosh" type="AudioStreamPlayer2D" parent="." unique_id=1006342489]
|
|
stream = ExtResource("3_fp4be")
|
|
pitch_scale = 1.4
|
|
max_distance = 983.0
|
|
attenuation = 7.999991
|
|
panning_strength = 1.1
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxImpact" type="AudioStreamPlayer2D" parent="." unique_id=1627987809]
|
|
stream = ExtResource("4_un5tg")
|
|
volume_db = -5.622
|
|
pitch_scale = 1.43
|
|
max_distance = 983.0
|
|
attenuation = 7.999991
|
|
max_polyphony = 4
|
|
panning_strength = 1.16
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxImpactWall" type="AudioStreamPlayer2D" parent="." unique_id=77775229]
|
|
stream = ExtResource("4_eu0kt")
|
|
volume_db = -4.0
|
|
pitch_scale = 1.3
|
|
max_distance = 951.0
|
|
attenuation = 8.282115
|
|
max_polyphony = 4
|
|
panning_strength = 1.15
|
|
bus = &"Sfx"
|