Main.tscn 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [gd_scene load_steps=13 format=2]
  2. [ext_resource path="res://scripts/Grid.gd" type="Script" id=1]
  3. [ext_resource path="res://scripts/SEA.gd" type="Script" id=2]
  4. [ext_resource path="res://scripts/SKY.gd" type="Script" id=3]
  5. [ext_resource path="res://scripts/UberFader.gd" type="Script" id=4]
  6. [ext_resource path="res://shaders/blur3.shader" type="Shader" id=5]
  7. [ext_resource path="res://shaders/white.png" type="Texture" id=6]
  8. [ext_resource path="res://scripts/DIALOGUE_BOX.gd" type="Script" id=7]
  9. [ext_resource path="res://scripts/BLURRER.gd" type="Script" id=8]
  10. [ext_resource path="res://scripts/Fader.gd" type="Script" id=9]
  11. [ext_resource path="res://scripts/BG_MUSIC.gd" type="Script" id=10]
  12. [ext_resource path="res://music/little_branches.ogg" type="AudioStream" id=11]
  13. [sub_resource type="ShaderMaterial" id=1]
  14. shader = ExtResource( 5 )
  15. shader_param/radius = 0.009
  16. [node name="MAIN" type="Node2D"]
  17. [node name="SKY" type="Polygon2D" parent="."]
  18. position = Vector2( 0, 30.676 )
  19. z_index = -5
  20. color = Color( 0.168627, 0.109804, 0, 1 )
  21. polygon = PoolVector2Array( 85.2939, -42, -86.1105, -28.8561, -90.7061, 269, -86.7061, 481, -9.90948, 627.201, 1057.83, 609.201, 1052.5, -49.4603 )
  22. script = ExtResource( 3 )
  23. [node name="GRID" type="Node2D" parent="."]
  24. position = Vector2( 24, 408 )
  25. z_index = 1
  26. script = ExtResource( 1 )
  27. [node name="Projection_Timer" type="Timer" parent="GRID"]
  28. wait_time = 2.0
  29. autostart = true
  30. [node name="SEA" type="Polygon2D" parent="."]
  31. position = Vector2( 0, 415 )
  32. z_index = 2
  33. color = Color( 0.0862745, 0.054902, 0, 0.384314 )
  34. polygon = PoolVector2Array( 85.2939, -42, -83.7061, 19, -90.7061, 269, -86.7061, 481, -9.09342, 404.564, 512.907, 400.564, 1058.5, 348.947, 1211.51, 220.398, 1136.51, -45.6024 )
  35. script = ExtResource( 2 )
  36. [node name="BLURRER" type="Polygon2D" parent="."]
  37. material = SubResource( 1 )
  38. z_index = 3
  39. color = Color( 0, 0, 0, 1 )
  40. texture = ExtResource( 6 )
  41. polygon = PoolVector2Array( -115.294, 60.7343, 15.706, -48.2657, 670.706, -59.2657, 1076.23, -23.2657, 1144.23, 442.734, 964.229, 761.09, -55.3158, 726.09 )
  42. script = ExtResource( 8 )
  43. [node name="UBER_FADER" type="Polygon2D" parent="."]
  44. visible = false
  45. z_index = 5
  46. color = Color( 0, 0, 0, 1 )
  47. polygon = PoolVector2Array( -115.294, 60.7343, 15.706, -48.2657, 670.706, -59.2657, 1076.23, -23.2657, 1144.23, 442.734, 964.229, 761.09, -55.3158, 726.09 )
  48. script = ExtResource( 4 )
  49. [node name="DIALOGUE_BOX" type="Node2D" parent="."]
  50. visible = false
  51. z_index = 4
  52. script = ExtResource( 7 )
  53. [node name="MASTER_FADER" type="Polygon2D" parent="."]
  54. visible = false
  55. z_index = 20
  56. z_as_relative = false
  57. color = Color( 0, 0, 0, 1 )
  58. polygon = PoolVector2Array( -115.294, 60.7343, 15.706, -48.2657, 670.706, -59.2657, 1076.23, -23.2657, 1144.23, 442.734, 964.229, 761.09, -55.3158, 726.09 )
  59. script = ExtResource( 9 )
  60. [node name="BG_MUSIC" type="AudioStreamPlayer2D" parent="."]
  61. position = Vector2( 595, 285 )
  62. stream = ExtResource( 11 )
  63. volume_db = 1.253
  64. autoplay = true
  65. max_distance = 500.0
  66. attenuation = 2.0
  67. script = ExtResource( 10 )
  68. [connection signal="timeout" from="GRID/Projection_Timer" to="GRID" method="_on_Projection_Timer_timeout"]