Transit.tscn 983 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://addons/transit/Transit.gd" type="Script" id=1]
  3. [sub_resource type="Animation" id=1]
  4. resource_name = "fade"
  5. step = 0.2
  6. tracks/0/type = "value"
  7. tracks/0/path = NodePath("CanvasLayer/ColorRect:color:a")
  8. tracks/0/interp = 1
  9. tracks/0/loop_wrap = true
  10. tracks/0/imported = false
  11. tracks/0/enabled = true
  12. tracks/0/keys = {
  13. "times": PoolRealArray( 0, 1 ),
  14. "transitions": PoolRealArray( 1, 1 ),
  15. "update": 0,
  16. "values": [ 0.0, 1.0 ]
  17. }
  18. [node name="Transit" type="Control"]
  19. anchor_right = 1.0
  20. anchor_bottom = 1.0
  21. script = ExtResource( 1 )
  22. __meta__ = {
  23. "_edit_use_anchors_": false
  24. }
  25. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  26. anims/fade = SubResource( 1 )
  27. [node name="CanvasLayer" type="CanvasLayer" parent="."]
  28. layer = 128
  29. [node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
  30. anchor_right = 1.0
  31. anchor_bottom = 1.0
  32. mouse_filter = 2
  33. color = Color( 0, 0, 0, 0 )
  34. __meta__ = {
  35. "_edit_use_anchors_": false
  36. }