midori-school/sprites/common/bullet/aero.tscn

29 lines
1,013 B
Text
Raw Normal View History

2024-07-14 23:55:40 +02:00
[gd_scene load_steps=4 format=3 uid="uid://bex0xeqbq5uci"]
2024-09-23 20:15:07 +02:00
[ext_resource type="Script" path="res://sprites/common/bullet/aero.gd" id="1_rovd1"]
[ext_resource type="Texture2D" uid="uid://ca17ddf0kokpv" path="res://sprites/common/bullet/aero.png" id="2_omcs8"]
2024-07-14 23:55:40 +02:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_g125y"]
size = Vector2(128, 28)
2024-09-23 20:15:07 +02:00
[node name="Aero" type="Area2D"]
script = ExtResource("1_rovd1")
2024-07-14 23:55:40 +02:00
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(0, 64)
rotation = 1.5708
2024-09-23 20:15:07 +02:00
texture = ExtResource("2_omcs8")
2024-07-14 23:55:40 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 64)
rotation = 1.5708
shape = SubResource("RectangleShape2D_g125y")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
position = Vector2(0, 64)
rotation = 1.5708
scale = Vector2(6.4, 1.4)
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]