midori-school/sprites/common/bullet/fireball.tscn
2024-01-28 19:42:38 -07:00

22 lines
891 B
Text

[gd_scene load_steps=4 format=3 uid="uid://dibpmnnxefgi2"]
[ext_resource type="Script" path="res://sprites/common/bullet/fireball.gd" id="1_o7kcl"]
[ext_resource type="Texture2D" uid="uid://cfqxhmvjstwcd" path="res://sprites/common/bullet/fireball.png" id="1_ues2l"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_g125y"]
size = Vector2(47, 60)
[node name="Fireball" type="Area2D"]
script = ExtResource("1_o7kcl")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_ues2l")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0.5, 0)
shape = SubResource("RectangleShape2D_g125y")
[node name="VisibleOnScreenEnabler2D" type="VisibleOnScreenEnabler2D" parent="."]
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]