lightmask.tscn 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://burano.png" type="Texture" id=1]
  3. [ext_resource path="res://splat.png" type="Texture" id=2]
  4. [sub_resource type="CanvasItemMaterial" id=1]
  5. light_mode = 2
  6. [sub_resource type="Animation" id=2]
  7. length = 4.0
  8. loop = true
  9. tracks/0/type = "value"
  10. tracks/0/path = NodePath("Light1:position")
  11. tracks/0/interp = 1
  12. tracks/0/loop_wrap = true
  13. tracks/0/imported = false
  14. tracks/0/enabled = true
  15. tracks/0/keys = {
  16. "times": PoolRealArray( 0, 1, 2, 3 ),
  17. "transitions": PoolRealArray( -2, -2, -2, -2 ),
  18. "update": 0,
  19. "values": [ Vector2( 601.028, 242.639 ), Vector2( 318.649, 327.353 ), Vector2( 381.263, 130.915 ), Vector2( 462.294, 389.968 ) ]
  20. }
  21. tracks/1/type = "value"
  22. tracks/1/path = NodePath("Light2:position")
  23. tracks/1/interp = 1
  24. tracks/1/loop_wrap = true
  25. tracks/1/imported = false
  26. tracks/1/enabled = true
  27. tracks/1/keys = {
  28. "times": PoolRealArray( 0, 1, 2, 3 ),
  29. "transitions": PoolRealArray( -2, -2, -2, -2 ),
  30. "update": 0,
  31. "values": [ Vector2( 196.528, 185.139 ), Vector2( 135.142, 454.013 ), Vector2( 638.105, 334.923 ), Vector2( 331.375, 101.653 ) ]
  32. }
  33. tracks/2/type = "value"
  34. tracks/2/path = NodePath("Light3:position")
  35. tracks/2/interp = 1
  36. tracks/2/loop_wrap = true
  37. tracks/2/imported = false
  38. tracks/2/enabled = true
  39. tracks/2/keys = {
  40. "times": PoolRealArray( 0, 1, 2, 3 ),
  41. "transitions": PoolRealArray( -2, -2, -2, -2 ),
  42. "update": 0,
  43. "values": [ Vector2( 442.528, 411.139 ), Vector2( 635.283, 236.8 ), Vector2( 216.215, 396.815 ), Vector2( 682.96, 294.708 ) ]
  44. }
  45. [node name="Lightmask" type="Control"]
  46. anchor_right = 1.0
  47. anchor_bottom = 1.0
  48. size_flags_horizontal = 2
  49. size_flags_vertical = 2
  50. __meta__ = {
  51. "_edit_use_anchors_": false
  52. }
  53. [node name="Burano" type="TextureRect" parent="."]
  54. material = SubResource( 1 )
  55. margin_right = 800.0
  56. margin_bottom = 600.0
  57. size_flags_horizontal = 2
  58. size_flags_vertical = 2
  59. texture = ExtResource( 1 )
  60. [node name="Light1" type="Light2D" parent="."]
  61. position = Vector2( 601.028, 242.639 )
  62. texture = ExtResource( 2 )
  63. mode = 2
  64. [node name="Light2" type="Light2D" parent="."]
  65. position = Vector2( 196.528, 185.139 )
  66. texture = ExtResource( 2 )
  67. mode = 2
  68. [node name="Light3" type="Light2D" parent="."]
  69. position = Vector2( 442.528, 411.139 )
  70. texture = ExtResource( 2 )
  71. mode = 2
  72. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  73. autoplay = "maskmotion"
  74. anims/maskmotion = SubResource( 2 )
  75. [node name="Camera2D" type="Camera2D" parent="."]
  76. offset = Vector2( 512, 300 )
  77. current = true