[gd_scene load_steps=14 format=3 uid="uid://brutkgnx73onj"] [ext_resource type="Script" uid="uid://c7fe5pl54gkem" path="res://scenes/player.gd" id="1_ocj2s"] [ext_resource type="Texture2D" uid="uid://di2xhcwcdbhxg" path="res://resources/Mini Pixel Pack 3/Player ship/Player_ship (16 x 16).png" id="2_din8e"] [ext_resource type="Texture2D" uid="uid://ces8fm7lxh574" path="res://resources/Mini Pixel Pack 3/Player ship/Boosters (16 x 16).png" id="3_4bh5q"] [ext_resource type="Texture2D" uid="uid://bjdhq42ummgky" path="res://resources/Mini Pixel Pack 3/Player ship/Boosters_left (16 x 16).png" id="4_e124b"] [ext_resource type="Texture2D" uid="uid://cjv3xbuj65pav" path="res://resources/Mini Pixel Pack 3/Player ship/Boosters_right (16 x 16).png" id="5_101mb"] [sub_resource type="AtlasTexture" id="AtlasTexture_hbo4f"] atlas = ExtResource("3_4bh5q") region = Rect2(0, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_ctvyo"] atlas = ExtResource("3_4bh5q") region = Rect2(16, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_qixtg"] atlas = ExtResource("4_e124b") region = Rect2(0, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_nt65e"] atlas = ExtResource("4_e124b") region = Rect2(16, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_bhmdk"] atlas = ExtResource("5_101mb") region = Rect2(0, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_s5y6v"] atlas = ExtResource("5_101mb") region = Rect2(16, 0, 16, 16) [sub_resource type="SpriteFrames" id="SpriteFrames_407ns"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_hbo4f") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ctvyo") }], "loop": true, "name": &"forward", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_qixtg") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_nt65e") }], "loop": true, "name": &"left", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_bhmdk") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_s5y6v") }], "loop": true, "name": &"right", "speed": 10.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_w3w6i"] size = Vector2(14, 14) [node name="Gameplay" type="Node2D"] [node name="Player" type="Area2D" parent="."] position = Vector2(-10, 0) script = ExtResource("1_ocj2s") [node name="Ship" type="Sprite2D" parent="Player"] texture = ExtResource("2_din8e") hframes = 3 frame = 1 [node name="Boosters" type="AnimatedSprite2D" parent="Player/Ship"] position = Vector2(0, 15) sprite_frames = SubResource("SpriteFrames_407ns") animation = &"right" autoplay = "forward" [node name="CollisionShape2D" type="CollisionShape2D" parent="Player"] shape = SubResource("RectangleShape2D_w3w6i") [node name="GunCoolDown" type="Timer" parent="Player"] one_shot = true