|
|
@ -1,8 +1,8 @@ |
|
|
|
[gd_scene load_steps=11 format=2] |
|
|
|
|
|
|
|
[ext_resource path="res://scripts/player/human_controls.gd" type="Script" id=1] |
|
|
|
[ext_resource path="res://assets/fonts/Kenney Future Narrow.ttf" type="DynamicFontData" id=2] |
|
|
|
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=3] |
|
|
|
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=2] |
|
|
|
[ext_resource path="res://assets/fonts/Kenney Future Narrow.ttf" type="DynamicFontData" id=3] |
|
|
|
[ext_resource path="res://scenes/menus/IngameMenu.tscn" type="PackedScene" id=4] |
|
|
|
[ext_resource path="res://scripts/player/human_inventory.gd" type="Script" id=5] |
|
|
|
[ext_resource path="res://scenes/road/roadStraightLong.tscn" type="PackedScene" id=6] |
|
|
@ -13,11 +13,11 @@ viewport_path = NodePath("inventory/viewport") |
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=2] |
|
|
|
size = 14 |
|
|
|
font_data = ExtResource( 2 ) |
|
|
|
font_data = ExtResource( 3 ) |
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=3] |
|
|
|
size = 85 |
|
|
|
font_data = ExtResource( 2 ) |
|
|
|
font_data = ExtResource( 3 ) |
|
|
|
|
|
|
|
[node name="HumanPlayer" type="Spatial"] |
|
|
|
script = ExtResource( 1 ) |
|
|
@ -27,15 +27,16 @@ script = ExtResource( 1 ) |
|
|
|
[node name="inventory" type="Control" parent="hud"] |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
theme = ExtResource( 2 ) |
|
|
|
|
|
|
|
[node name="background" type="ColorRect" parent="hud/inventory"] |
|
|
|
[node name="track_container" type="Panel" parent="hud/inventory"] |
|
|
|
anchor_left = 0.5 |
|
|
|
anchor_right = 0.5 |
|
|
|
margin_left = -75.0 |
|
|
|
margin_right = 75.0 |
|
|
|
margin_bottom = 150.0 |
|
|
|
|
|
|
|
[node name="track" type="TextureRect" parent="hud/inventory"] |
|
|
|
[node name="track" type="TextureRect" parent="hud/inventory/track_container"] |
|
|
|
anchor_left = 0.5 |
|
|
|
anchor_right = 0.5 |
|
|
|
margin_left = -75.0 |
|
|
@ -43,7 +44,7 @@ margin_right = 75.0 |
|
|
|
margin_bottom = 150.0 |
|
|
|
texture = SubResource( 1 ) |
|
|
|
|
|
|
|
[node name="type" type="Label" parent="hud/inventory"] |
|
|
|
[node name="type" type="Label" parent="hud/inventory/track_container"] |
|
|
|
anchor_left = 0.5 |
|
|
|
anchor_right = 0.5 |
|
|
|
margin_left = -74.0 |
|
|
@ -52,10 +53,15 @@ margin_bottom = 58.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
custom_fonts/font = SubResource( 2 ) |
|
|
|
custom_colors/font_color = Color( 0, 0, 0, 1 ) |
|
|
|
align = 1 |
|
|
|
valign = 1 |
|
|
|
|
|
|
|
[node name="speed_slider" type="VSlider" parent="hud"] |
|
|
|
anchor_bottom = 1.0 |
|
|
|
margin_right = 16.0 |
|
|
|
max_value = 250.0 |
|
|
|
step = 0.5 |
|
|
|
|
|
|
|
[node name="speed" type="Label" parent="hud"] |
|
|
|
anchor_left = 0.5 |
|
|
|
anchor_top = 1.0 |
|
|
@ -66,7 +72,7 @@ margin_top = -39.0 |
|
|
|
margin_right = 77.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
theme = ExtResource( 3 ) |
|
|
|
theme = ExtResource( 2 ) |
|
|
|
align = 1 |
|
|
|
valign = 1 |
|
|
|
|
|
|
|