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

23 lines
793 B
Text

[gd_scene load_steps=4 format=3 uid="uid://csxh42o8twxwn"]
[ext_resource type="Texture2D" uid="uid://tpths2rjfgbh" path="res://Assets/Sprites/cross.png" id="1_80ojj"]
[ext_resource type="Script" path="res://Scripts/WeaponSystem/Projectile.gd" id="1_os652"]
[sub_resource type="CircleShape2D" id="CircleShape2D_oix85"]
radius = 8.06226
[node name="Projectile" type="Area2D"]
scale = Vector2(0.7, 0.7)
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("1_80ojj")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_oix85")
[connection signal="body_entered" from="." to="." method="_on_collision"]