3D_in_2D.tscn 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://3D_in_2D.gd" type="Script" id=1]
  3. [ext_resource path="res://robot_demo.png" type="Texture" id=2]
  4. [ext_resource path="res://player.scn" type="PackedScene" id=3]
  5. [node name="3D_in_2D" type="Node2D" index="0"]
  6. script = ExtResource( 1 )
  7. [node name="Sprite" type="Sprite" parent="." index="0"]
  8. position = Vector2( 339.942, 311.204 )
  9. scale = Vector2( 3, 3 )
  10. texture = ExtResource( 2 )
  11. vframes = 2
  12. hframes = 16
  13. frame = 4
  14. _sections_unfolded = [ "Animation", "Transform" ]
  15. [node name="Viewport_Sprite" type="Sprite" parent="." index="1"]
  16. position = Vector2( 600, 320 )
  17. rotation = 3.14159
  18. _sections_unfolded = [ "Transform" ]
  19. [node name="Viewport" type="Viewport" parent="." index="2"]
  20. arvr = false
  21. size = Vector2( 300, 300 )
  22. own_world = true
  23. world = null
  24. transparent_bg = true
  25. msaa = 0
  26. hdr = false
  27. disable_3d = false
  28. usage = 2
  29. debug_draw = 0
  30. render_target_v_flip = false
  31. render_target_clear_mode = 0
  32. render_target_update_mode = 2
  33. audio_listener_enable_2d = false
  34. audio_listener_enable_3d = false
  35. physics_object_picking = false
  36. gui_disable_input = false
  37. gui_snap_controls_to_pixels = true
  38. shadow_atlas_size = 0
  39. shadow_atlas_quad_0 = 2
  40. shadow_atlas_quad_1 = 2
  41. shadow_atlas_quad_2 = 3
  42. shadow_atlas_quad_3 = 4
  43. _sections_unfolded = [ "Rendering" ]
  44. [node name="player" parent="Viewport" index="0" instance=ExtResource( 3 )]
  45. axis_lock_linear_x = false
  46. axis_lock_linear_y = false
  47. axis_lock_linear_z = false
  48. axis_lock_angular_x = false
  49. axis_lock_angular_y = false
  50. axis_lock_angular_z = false
  51. [node name="Camera" parent="Viewport/player" index="1"]
  52. doppler_tracking = 0
  53. current = true
  54. size = 1.0
  55. [node name="OmniLight" parent="Viewport/player" index="2"]
  56. light_indirect_energy = 1.0
  57. light_bake_mode = 1
  58. [node name="OmniLight2" parent="Viewport/player" index="3"]
  59. light_indirect_energy = 1.0
  60. light_bake_mode = 1
  61. [editable path="Viewport/player"]