Public repository for MUR pre alpha
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.

125 lines
3.3 KiB

  1. [gd_scene load_steps=11 format=2]
  2. [ext_resource path="res://scripts/player/human_controls.gd" type="Script" id=1]
  3. [ext_resource path="res://resources/ui/theme.tres" type="Theme" id=2]
  4. [ext_resource path="res://assets/fonts/Kenney Future Narrow.ttf" type="DynamicFontData" id=3]
  5. [ext_resource path="res://scenes/menus/IngameMenu.tscn" type="PackedScene" id=4]
  6. [ext_resource path="res://scripts/player/human_inventory.gd" type="Script" id=5]
  7. [ext_resource path="res://scenes/road/roadStraightLong.tscn" type="PackedScene" id=6]
  8. [ext_resource path="res://scripts/player/inventory_preview.gd" type="Script" id=7]
  9. [sub_resource type="ViewportTexture" id=1]
  10. viewport_path = NodePath("inventory/viewport")
  11. [sub_resource type="DynamicFont" id=2]
  12. size = 14
  13. font_data = ExtResource( 3 )
  14. [sub_resource type="DynamicFont" id=3]
  15. size = 85
  16. font_data = ExtResource( 3 )
  17. [node name="HumanPlayer" type="Spatial"]
  18. script = ExtResource( 1 )
  19. [node name="hud" type="CanvasLayer" parent="."]
  20. [node name="inventory" type="Control" parent="hud"]
  21. anchor_right = 1.0
  22. anchor_bottom = 1.0
  23. theme = ExtResource( 2 )
  24. [node name="track_container" type="Panel" parent="hud/inventory"]
  25. anchor_left = 0.5
  26. anchor_right = 0.5
  27. margin_left = -75.0
  28. margin_right = 75.0
  29. margin_bottom = 150.0
  30. [node name="track" type="TextureRect" parent="hud/inventory/track_container"]
  31. anchor_left = 0.5
  32. anchor_right = 0.5
  33. margin_left = -75.0
  34. margin_right = 75.0
  35. margin_bottom = 150.0
  36. texture = SubResource( 1 )
  37. [node name="type" type="Label" parent="hud/inventory/track_container"]
  38. anchor_left = 0.5
  39. anchor_right = 0.5
  40. margin_left = -74.0
  41. margin_right = 75.0
  42. margin_bottom = 58.0
  43. grow_horizontal = 2
  44. grow_vertical = 2
  45. custom_fonts/font = SubResource( 2 )
  46. align = 1
  47. valign = 1
  48. [node name="speed_slider" type="VSlider" parent="hud"]
  49. anchor_bottom = 1.0
  50. margin_right = 16.0
  51. max_value = 250.0
  52. step = 0.5
  53. [node name="speed" type="Label" parent="hud"]
  54. anchor_left = 0.5
  55. anchor_top = 1.0
  56. anchor_right = 0.5
  57. anchor_bottom = 1.0
  58. margin_left = -77.0
  59. margin_top = -39.0
  60. margin_right = 77.0
  61. grow_horizontal = 2
  62. grow_vertical = 2
  63. theme = ExtResource( 2 )
  64. align = 1
  65. valign = 1
  66. [node name="reset" type="Label" parent="hud"]
  67. anchor_left = 0.5
  68. anchor_top = 0.5
  69. anchor_right = 0.5
  70. anchor_bottom = 0.5
  71. margin_left = -20.0
  72. margin_top = -56.5
  73. margin_right = 20.0
  74. margin_bottom = 56.5
  75. grow_horizontal = 2
  76. grow_vertical = 2
  77. custom_fonts/font = SubResource( 3 )
  78. align = 1
  79. valign = 1
  80. uppercase = true
  81. [node name="ingame_menu" parent="hud" instance=ExtResource( 4 )]
  82. visible = false
  83. [node name="inventory" type="Spatial" parent="."]
  84. script = ExtResource( 5 )
  85. [node name="viewport" type="Viewport" parent="inventory"]
  86. size = Vector2( 150, 150 )
  87. transparent_bg = true
  88. hdr = false
  89. render_target_v_flip = true
  90. [node name="camera" type="Camera" parent="inventory/viewport"]
  91. transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -50.616, -999.296, 0 )
  92. current = true
  93. fov = 100.0
  94. near = 0.5
  95. far = 20.0
  96. [node name="view" type="Spatial" parent="inventory"]
  97. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -50, -1000, 0 )
  98. [node name="roadStraightLong" parent="inventory/view" instance=ExtResource( 6 )]
  99. transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0 )
  100. [node name="preview" type="Spatial" parent="inventory"]
  101. script = ExtResource( 7 )
  102. [node name="camera" type="InterpolatedCamera" parent="."]
  103. fov = 100.0
  104. far = 250.0