42 lines
1.7 KiB
Text
42 lines
1.7 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://csxh42o8twxwn"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/WeaponSystem/Projectile.gd" id="1_os652"]
|
|
[ext_resource type="Texture2D" uid="uid://dlxjdb0tchrps" path="res://Assets/Sprites/crucefix.png" id="2_ibs3t"]
|
|
[ext_resource type="AudioStream" uid="uid://dornq2kwau6bg" path="res://Assets/SFX/Jesus/Projectile/Throw Variation 1.wav" id="4_11fc8"]
|
|
[ext_resource type="AudioStream" uid="uid://b2pd7efb2r7g5" path="res://Assets/SFX/Jesus/Projectile/Throw Variation 2.wav" id="5_njike"]
|
|
[ext_resource type="AudioStream" uid="uid://cqxnclejfbmvb" path="res://Assets/SFX/Jesus/Projectile/Throw Variation 3.wav" id="6_ky3xa"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ki5cp"]
|
|
radius = 8.57143
|
|
height = 22.8571
|
|
|
|
[node name="Projectile" type="Area2D"]
|
|
collision_layer = 8
|
|
collision_mask = 5
|
|
script = ExtResource("1_os652")
|
|
audio_pool = [NodePath("Audio Sources/Audio1"), NodePath("Audio Sources/Audio2"), NodePath("Audio Sources/Audio3")]
|
|
map_collision_layer = 1
|
|
bunny_collision_layer = 4
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2_ibs3t")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CapsuleShape2D_ki5cp")
|
|
|
|
[node name="Audio Sources" type="Node" parent="."]
|
|
|
|
[node name="Audio1" type="AudioStreamPlayer" parent="Audio Sources"]
|
|
stream = ExtResource("4_11fc8")
|
|
bus = &"SFX"
|
|
|
|
[node name="Audio2" type="AudioStreamPlayer" parent="Audio Sources"]
|
|
stream = ExtResource("5_njike")
|
|
bus = &"SFX"
|
|
|
|
[node name="Audio3" type="AudioStreamPlayer" parent="Audio Sources"]
|
|
stream = ExtResource("6_ky3xa")
|
|
bus = &"SFX"
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
|
[connection signal="body_entered" from="." to="." method="_on_collision"]
|