2024-11-04 21:38:20 +01:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2024-03-24 19:23:12 +01:00
|
|
|
|
2024-11-04 21:38:20 +01:00
|
|
|
[ext_resource path="res://sprites/common/bullet/X11.svg" type="Texture" id=1]
|
|
|
|
[ext_resource path="res://sprites/common/bullet/X11.gd" type="Script" id=2]
|
2024-03-24 19:23:12 +01:00
|
|
|
|
2024-11-04 21:38:20 +01:00
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
extents = Vector2( 40, 40 )
|
2024-03-24 19:23:12 +01:00
|
|
|
|
|
|
|
[node name="X11" type="Area2D"]
|
2024-11-04 21:38:20 +01:00
|
|
|
script = ExtResource( 2 )
|
2024-03-24 19:23:12 +01:00
|
|
|
|
2024-11-04 21:38:20 +01:00
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
|
|
margin_left = -79.0
|
|
|
|
margin_top = -65.0
|
|
|
|
margin_right = 87.0
|
|
|
|
margin_bottom = 74.0
|
2024-03-24 19:23:12 +01:00
|
|
|
|
2024-11-04 21:38:20 +01:00
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
|
|
position = Vector2( 0, 9.53674e-07 )
|
|
|
|
scale = Vector2( 0.294545, 0.290909 )
|
|
|
|
texture = ExtResource( 1 )
|
2024-03-24 19:23:12 +01:00
|
|
|
|
2024-11-04 21:38:20 +01:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource( 1 )
|
2024-03-24 19:23:12 +01:00
|
|
|
|
2024-11-04 21:38:20 +01:00
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."]
|
|
|
|
position = Vector2( 2.41399e-06, 0.25 )
|
|
|
|
scale = Vector2( 4, 3.975 )
|
2024-11-07 21:39:59 +01:00
|
|
|
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|