[gd_scene load_steps=11 format=3] [ext_resource type="Script" path="res://scripts/game/game.gd" id="1_game"] [ext_resource type="Script" path="res://scripts/game/space_level_background.gd" id="2_background"] [ext_resource type="PackedScene" path="res://scenes/game/player_ship.tscn" id="3_player"] [ext_resource type="Script" path="res://scripts/game/flight_hud.gd" id="4_hud"] [ext_resource type="PackedScene" path="res://scenes/ui/ship_equipment_panel.tscn" id="5_equipment"] [ext_resource type="PackedScene" path="res://scenes/ui/ship_inventory_panel.tscn" id="6_inventory"] [sub_resource type="RectangleShape2D" id="TopWall"] size = Vector2(5200, 40) [sub_resource type="RectangleShape2D" id="BottomWall"] size = Vector2(5200, 40) [sub_resource type="RectangleShape2D" id="LeftWall"] size = Vector2(40, 3600) [sub_resource type="RectangleShape2D" id="RightWall"] size = Vector2(40, 3600) [node name="Game" type="Node2D"] script = ExtResource("1_game") [node name="SpaceBackground" type="Node2D" parent="."] z_index = -20 script = ExtResource("2_background") [node name="WorldBounds" type="StaticBody2D" parent="."] collision_layer = 1 collision_mask = 0 [node name="TopWall" type="CollisionShape2D" parent="WorldBounds"] position = Vector2(0, -1780) shape = SubResource("TopWall") [node name="BottomWall" type="CollisionShape2D" parent="WorldBounds"] position = Vector2(0, 1780) shape = SubResource("BottomWall") [node name="LeftWall" type="CollisionShape2D" parent="WorldBounds"] position = Vector2(-2580, 0) shape = SubResource("LeftWall") [node name="RightWall" type="CollisionShape2D" parent="WorldBounds"] position = Vector2(2580, 0) shape = SubResource("RightWall") [node name="PlayerShip" parent="." instance=ExtResource("3_player")] [node name="HUD" type="CanvasLayer" parent="."] script = ExtResource("4_hud") [node name="HUDRoot" type="Control" parent="HUD"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="DebugToggle" type="Button" parent="HUD/HUDRoot"] offset_left = 18.0 offset_top = 16.0 offset_right = 120.0 offset_bottom = 44.0 flat = true theme_override_colors/font_color = Color(0.72, 0.88, 0.98, 1) text = "DEBUG [−]" [node name="DebugInfo" type="Label" parent="HUD/HUDRoot"] offset_left = 22.0 offset_top = 48.0 offset_right = 340.0 offset_bottom = 470.0 theme_override_colors/font_color = Color(0.72, 0.88, 0.98, 1) theme_override_font_sizes/font_size = 15 text = "STATEK\nKADŁUB: 100 / 100\nTARCZE: 100 / 100\nENERGIA: 100 / 100" [node name="ShipEquipmentPanel" parent="HUD/HUDRoot" instance=ExtResource("5_equipment")] [node name="ShipInventoryPanel" parent="HUD/HUDRoot" instance=ExtResource("6_inventory")]