This repository has been archived on 2024-07-02. You can view files and clone it, but cannot push or open issues or pull requests.
HoppyEaster/Prefabs/projectile.tscn

43 lines
1.7 KiB
Text
Raw Permalink Normal View History

2023-04-12 07:26:44 +00:00
[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"]
2023-04-12 07:26:44 +00:00
[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"]
2023-04-08 20:27:38 +00:00
[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="."]
2023-04-08 20:27:38 +00:00
texture = ExtResource("2_ibs3t")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2023-04-08 20:27:38 +00:00
shape = SubResource("CapsuleShape2D_ki5cp")
[node name="Audio Sources" type="Node" parent="."]
2023-04-12 07:26:44 +00:00
[node name="Audio1" type="AudioStreamPlayer" parent="Audio Sources"]
2023-04-12 07:26:44 +00:00
stream = ExtResource("4_11fc8")
2023-04-15 04:09:35 +00:00
bus = &"SFX"
2023-04-12 07:26:44 +00:00
[node name="Audio2" type="AudioStreamPlayer" parent="Audio Sources"]
2023-04-12 07:26:44 +00:00
stream = ExtResource("5_njike")
2023-04-15 04:09:35 +00:00
bus = &"SFX"
2023-04-12 07:26:44 +00:00
[node name="Audio3" type="AudioStreamPlayer" parent="Audio Sources"]
2023-04-12 07:26:44 +00:00
stream = ExtResource("6_ky3xa")
2023-04-15 04:09:35 +00:00
bus = &"SFX"
2023-04-12 07:26:44 +00:00
2023-04-15 04:08:49 +00:00
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_collision"]