godot-space-escape/scenes/Astroid1.tscn

21 lines
1.2 KiB
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://scenes/Astroid1.gd" type="Script" id=1]
[ext_resource path="res://images/Asteroid 01.png" type="Texture" id=2]
[node name="Astroid1" type="RigidBody2D"]
gravity_scale = 0.0
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}
[node name="Astroid" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( -16.6984, -30.7987, -2.89647, -34.4792, 10.3534, -35.9514, 16.6103, -35.3993, 22.3151, -29.1424, 32.0684, -22.1495, 35.3809, -13.8683, 37.0371, 2.14194, 35.3809, 6.37454, 29.6761, 12.2634, 29.4921, 19.0723, 22.131, 27.5375, 9.06521, 34.1624, 2.44028, 35.4506, -1.24023, 35.8187, -8.41724, 34.1624, -15.4102, 31.4021, -17.8026, 27.3535, -23.3233, 27.9056, -26.6358, 27.7215, -29.2122, 23.4889, -32.8927, 15.9439, -36.7572, 6.74259, -37.3093, 1.03779, -36.7572, -7.79545, -33.8128, -16.4447, -28.108, -23.8057, -20.5629, -30.2466 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]