[gd_scene load_steps=5 format=2] [ext_resource path="res://scenes/Player.gd" type="Script" id=1] [ext_resource path="res://images/pixel_ship_red.png" type="Texture" id=2] [sub_resource type="SpriteFrames" id=2] animations = [ { "frames": [ ExtResource( 2 ) ], "loop": true, "name": "idle", "speed": 5.0 } ] [sub_resource type="ConvexPolygonShape2D" id=1] points = PoolVector2Array( -40, 30, 0, -40, 40, 30, 10, 40, -10, 40 ) [node name="Player" type="RigidBody2D"] position = Vector2( 0, -1 ) gravity_scale = 0.0 script = ExtResource( 1 ) __meta__ = { "_edit_horizontal_guides_": [ 40.0, -40.0, 20.0 ], "_edit_vertical_guides_": [ -40.0, 40.0 ] } [node name="FrontPosition" type="Position2D" parent="."] position = Vector2( 0, -39 ) [node name="CenterPosition" type="Position2D" parent="."] position = Vector2( 0, 21 ) [node name="Ship" type="AnimatedSprite" parent="."] position = Vector2( 0, 21 ) frames = SubResource( 2 ) animation = "idle" offset = Vector2( 0, -25 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 1 )