You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
2.7 KiB
102 lines
2.7 KiB
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://scripts/player/HumanControls.gd" type="Script" id=1]
|
|
[ext_resource path="res://scenes/menu/ingame.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://scripts/player/HumanInventory.gd" type="Script" id=3]
|
|
[ext_resource path="res://scenes/road/roadStraightLong.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://scripts/player/InventoryPreview.gd" type="Script" id=5]
|
|
|
|
[sub_resource type="ViewportTexture" id=1]
|
|
viewport_path = NodePath("inventory/viewport")
|
|
|
|
[node name="HumanPlayer" type="Spatial"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="hud" type="CanvasLayer" parent="."]
|
|
|
|
[node name="inventory" type="Control" parent="hud"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="background" type="ColorRect" 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"]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -75.0
|
|
margin_right = 75.0
|
|
margin_bottom = 150.0
|
|
texture = SubResource( 1 )
|
|
|
|
[node name="type" type="Label" parent="hud/inventory"]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -74.0
|
|
margin_right = 75.0
|
|
margin_bottom = 58.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
|
align = 1
|
|
valign = 1
|
|
|
|
[node name="ingame_menu" parent="hud" instance=ExtResource( 2 )]
|
|
visible = false
|
|
|
|
[node name="speed" type="Label" parent="hud"]
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
margin_left = -77.0
|
|
margin_top = -39.0
|
|
margin_right = 77.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
align = 1
|
|
valign = 1
|
|
|
|
[node name="reset" type="Label" parent="hud"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -20.0
|
|
margin_top = -7.0
|
|
margin_right = 20.0
|
|
margin_bottom = 7.0
|
|
align = 1
|
|
valign = 1
|
|
uppercase = true
|
|
|
|
[node name="inventory" type="Spatial" parent="."]
|
|
editor/display_folded = true
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="viewport" type="Viewport" parent="inventory"]
|
|
size = Vector2( 150, 150 )
|
|
transparent_bg = true
|
|
hdr = false
|
|
render_target_v_flip = true
|
|
|
|
[node name="camera" type="Camera" parent="inventory/viewport"]
|
|
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -50.616, -999.296, 0 )
|
|
current = true
|
|
fov = 100.0
|
|
near = 0.5
|
|
far = 20.0
|
|
|
|
[node name="view" type="Spatial" parent="inventory"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -50, -1000, 0 )
|
|
|
|
[node name="roadStraightLong" parent="inventory/view" instance=ExtResource( 4 )]
|
|
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0 )
|
|
|
|
[node name="preview" type="Spatial" parent="inventory"]
|
|
script = ExtResource( 5 )
|