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.

119 lines
3.2 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://assets/fonts/Kenney Future Narrow.ttf" type="DynamicFontData" id=2]
  4. [ext_resource path="res://resources/ui/theme.tres" type="Theme" 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( 2 )
  14. [sub_resource type="DynamicFont" id=3]
  15. size = 85
  16. font_data = ExtResource( 2 )
  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. [node name="background" type="ColorRect" parent="hud/inventory"]
  24. anchor_left = 0.5
  25. anchor_right = 0.5
  26. margin_left = -75.0
  27. margin_right = 75.0
  28. margin_bottom = 150.0
  29. [node name="track" type="TextureRect" parent="hud/inventory"]
  30. anchor_left = 0.5
  31. anchor_right = 0.5
  32. margin_left = -75.0
  33. margin_right = 75.0
  34. margin_bottom = 150.0
  35. texture = SubResource( 1 )
  36. [node name="type" type="Label" parent="hud/inventory"]
  37. anchor_left = 0.5
  38. anchor_right = 0.5
  39. margin_left = -74.0
  40. margin_right = 75.0
  41. margin_bottom = 58.0
  42. grow_horizontal = 2
  43. grow_vertical = 2
  44. custom_fonts/font = SubResource( 2 )
  45. custom_colors/font_color = Color( 0, 0, 0, 1 )
  46. align = 1
  47. valign = 1
  48. [node name="speed" type="Label" parent="hud"]
  49. anchor_left = 0.5
  50. anchor_top = 1.0
  51. anchor_right = 0.5
  52. anchor_bottom = 1.0
  53. margin_left = -77.0
  54. margin_top = -39.0
  55. margin_right = 77.0
  56. grow_horizontal = 2
  57. grow_vertical = 2
  58. theme = ExtResource( 3 )
  59. align = 1
  60. valign = 1
  61. [node name="reset" type="Label" parent="hud"]
  62. anchor_left = 0.5
  63. anchor_top = 0.5
  64. anchor_right = 0.5
  65. anchor_bottom = 0.5
  66. margin_left = -20.0
  67. margin_top = -56.5
  68. margin_right = 20.0
  69. margin_bottom = 56.5
  70. grow_horizontal = 2
  71. grow_vertical = 2
  72. custom_fonts/font = SubResource( 3 )
  73. align = 1
  74. valign = 1
  75. uppercase = true
  76. [node name="ingame_menu" parent="hud" instance=ExtResource( 4 )]
  77. visible = false
  78. [node name="inventory" type="Spatial" parent="."]
  79. script = ExtResource( 5 )
  80. [node name="viewport" type="Viewport" parent="inventory"]
  81. size = Vector2( 150, 150 )
  82. transparent_bg = true
  83. hdr = false
  84. render_target_v_flip = true
  85. [node name="camera" type="Camera" parent="inventory/viewport"]
  86. transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -50.616, -999.296, 0 )
  87. current = true
  88. fov = 100.0
  89. near = 0.5
  90. far = 20.0
  91. [node name="view" type="Spatial" parent="inventory"]
  92. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -50, -1000, 0 )
  93. [node name="roadStraightLong" parent="inventory/view" instance=ExtResource( 6 )]
  94. transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0 )
  95. [node name="preview" type="Spatial" parent="inventory"]
  96. script = ExtResource( 7 )
  97. [node name="camera" type="InterpolatedCamera" parent="."]
  98. fov = 100.0
  99. far = 250.0