Main.tscn 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 )