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
2023-04-08 22:27:38 +02:00

24 lines
817 B
Text

[gd_scene load_steps=4 format=3 uid="uid://csxh42o8twxwn"]
[ext_resource type="Script" path="res://Scripts/WeaponSystem/Projectile.gd" id="1_os652"]
[ext_resource type="Texture2D" uid="uid://c5jj6s5orw6mi" path="res://Assets/Sprites/crucefix.png" id="2_ibs3t"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ki5cp"]
radius = 8.57143
height = 22.8571
[node name="Projectile" type="Area2D"]
scale = Vector2(0.5, 0.5)
collision_layer = 8
collision_mask = 5
script = ExtResource("1_os652")
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")
[connection signal="body_entered" from="." to="." method="_on_collision"]