Main.tscn 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://Main.gd" type="Script" id=1]
  3. [ext_resource path="res://Player.gd" type="Script" id=2]
  4. [sub_resource type="ProceduralSky" id=4]
  5. sun_latitude = 135.0
  6. sun_energy = 4.66
  7. [sub_resource type="Environment" id=2]
  8. background_mode = 2
  9. background_sky = SubResource( 4 )
  10. [sub_resource type="SphereShape" id=3]
  11. [node name="Spatial" type="Spatial"]
  12. script = ExtResource( 1 )
  13. [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
  14. environment = SubResource( 2 )
  15. [node name="Player" type="KinematicBody" parent="."]
  16. script = ExtResource( 2 )
  17. [node name="Camera" type="Camera" parent="Player"]
  18. [node name="SpotLight" type="SpotLight" parent="Player/Camera"]
  19. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00356923, 0.0967088, 0.161055 )
  20. light_energy = 7.3
  21. [node name="CollisionShape" type="CollisionShape" parent="Player"]
  22. shape = SubResource( 3 )
  23. [node name="OmniLight" type="OmniLight" parent="Player"]
  24. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.319878, -0.629829 )
  25. light_energy = 11.83
  26. [node name="Tiles" type="Spatial" parent="."]
  27. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -96.8491, 0, 3.33984 )
  28. [node name="UI" type="Control" parent="."]
  29. margin_right = 40.0
  30. margin_bottom = 40.0
  31. __meta__ = {
  32. "_edit_use_anchors_": false
  33. }
  34. [node name="1" type="TextEdit" parent="UI"]
  35. margin_right = 333.0
  36. margin_bottom = 40.0
  37. rect_pivot_offset = Vector2( 186, 75 )
  38. text = "1"
  39. __meta__ = {
  40. "_edit_use_anchors_": false
  41. }
  42. [node name="2" type="TextEdit" parent="UI"]
  43. margin_left = 397.0
  44. margin_top = 1.0
  45. margin_right = 789.0
  46. margin_bottom = 41.0
  47. rect_pivot_offset = Vector2( 33, 74 )
  48. text = "2"
  49. __meta__ = {
  50. "_edit_use_anchors_": false
  51. }
  52. [node name="3" type="TextEdit" parent="UI"]
  53. margin_top = 44.0
  54. margin_right = 331.0
  55. margin_bottom = 84.0
  56. text = "3"
  57. __meta__ = {
  58. "_edit_use_anchors_": false
  59. }
  60. [node name="4" type="TextEdit" parent="UI"]
  61. margin_left = 396.0
  62. margin_top = 47.0
  63. margin_right = 789.0
  64. margin_bottom = 87.0
  65. text = "4"
  66. __meta__ = {
  67. "_edit_use_anchors_": false
  68. }