godot-space-escape/scenes/Astroid4.tscn

24 lines
1.4 KiB
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://scenes/Astroid4.gd" type="Script" id=1]
[ext_resource path="res://images/Asteroid 04.png" type="Texture" id=2]
[node name="Astroid4" type="RigidBody2D"]
gravity_scale = 0.0
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true,
"_edit_horizontal_guides_": [ -34.5036, -5.13305, 31.5801 ],
"_edit_vertical_guides_": [ -21.0072, 23.9227, -85.8672 ]
}
[node name="Astroid" type="Sprite" parent="."]
texture = ExtResource( 2 )
offset = Vector2( 1.3986, -0.524475 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( -10, -34.5036, -1.25207, -32.7553, 3.29337, -30.3078, 10.8108, -24.1889, 20.7758, -18.5945, 37.2094, -8.62954, 41.4051, -2.6855, 43.8527, 2.20959, 42.9786, 9.90187, 38.9576, 17.4193, 27.4192, 29.1326, 22.8737, 32.6291, 18.3283, 31.7549, 9.76189, 28.0836, 3.29337, 24.0627, 0.32135, 22.4892, -4.57374, 24.2375, -12.6157, 28.4333, -18.0352, 31.2305, -21.1821, 31.5801, -25.203, 30.5312, -30.7974, 24.2375, -34.6436, 18.1186, -39.3638, 8.6781, -41.9862, -0.587605, -41.4617, -5.83234, -36.3918, -13.5246, -27.4758, -22.9652, -20.6576, -29.2588, -16.9863, -33.105, -13.315, -35.0281 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]