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

26 lines
863 B
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://sprites/common/bullet/aero.gd" type="Script" id=1]
[ext_resource path="res://sprites/common/bullet/aero.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 14, 63.5 )
[node name="Aero" type="Area2D"]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, 64 )
rotation = 1.5708
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -1, 63.5 )
shape = SubResource( 1 )
[node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."]
position = Vector2( -1, 63.5 )
scale = Vector2( 1.4, 6.35 )
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]