[gd_scene load_steps=9 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"] [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="ReadoutBackground" type="ColorRect" parent="HUD/HUDRoot"] offset_left = 18.0 offset_top = 18.0 offset_right = 292.0 offset_bottom = 166.0 color = Color(0.018, 0.045, 0.085, 0.86) [node name="Readout" type="Label" parent="HUD/HUDRoot"] offset_left = 32.0 offset_top = 28.0 offset_right = 278.0 offset_bottom = 156.0 theme_override_colors/font_color = Color(0.72, 0.88, 0.98, 1) theme_override_font_sizes/font_size = 17 text = "W — ciąg S — hamulec\nA / D — płynny obrót\n\nPRĘDKOŚĆ 000 px/s\nPOZYCJA 0, 0"