display.tscn 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. [gd_scene load_steps=20 format=2]
  2. [ext_resource path="res://display/Sky.gd" type="Script" id=1]
  3. [ext_resource path="res://display/display.shader" type="Shader" id=2]
  4. [ext_resource path="res://textures/noise.png" type="Texture" id=3]
  5. [ext_resource path="res://display/Viewport.gd" type="Script" id=4]
  6. [ext_resource path="res://default_env.tres" type="Environment" id=5]
  7. [ext_resource path="res://shaders/Sky.shader" type="Shader" id=6]
  8. [ext_resource path="res://scene.tscn" type="PackedScene" id=7]
  9. [ext_resource path="res://display/display_pp.gd" type="Script" id=8]
  10. [ext_resource path="res://Sky.tscn" type="PackedScene" id=9]
  11. [ext_resource path="res://font/kenpixel_future_square.ttf" type="DynamicFontData" id=10]
  12. [ext_resource path="res://gui.tscn" type="PackedScene" id=11]
  13. [ext_resource path="res://scripts/score.gd" type="Script" id=12]
  14. [sub_resource type="ShaderMaterial" id=1]
  15. shader = ExtResource( 6 )
  16. shader_param/iTime = null
  17. shader_param/iFrame = null
  18. shader_param/disable_panorama = false
  19. shader_param/sun_pos = null
  20. shader_param/iChannel0 = ExtResource( 3 )
  21. [sub_resource type="ImageTexture" id=2]
  22. size = Vector2( 1280, 720 )
  23. [sub_resource type="ViewportTexture" id=3]
  24. viewport_path = NodePath("Sky_p")
  25. [sub_resource type="ShaderMaterial" id=4]
  26. resource_local_to_scene = true
  27. shader = ExtResource( 2 )
  28. shader_param/iTime = 100.0
  29. shader_param/conf_click = null
  30. shader_param/iFrame = null
  31. shader_param/minif = false
  32. shader_param/minif2 = false
  33. shader_param/play_click = 0.0
  34. shader_param/ppoff = false
  35. shader_param/sval = 0.25
  36. shader_param/ssval = 0.75
  37. shader_param/msval = null
  38. shader_param/psval = null
  39. shader_param/iChannel1 = ExtResource( 3 )
  40. shader_param/iChannel2 = SubResource( 3 )
  41. [sub_resource type="World" id=5]
  42. environment = ExtResource( 5 )
  43. [sub_resource type="StyleBoxFlat" id=6]
  44. bg_color = Color( 0, 0, 0, 0 )
  45. border_width_bottom = 4
  46. border_color = Color( 0, 0, 0, 0.294118 )
  47. shadow_color = Color( 0, 0, 0, 0.219608 )
  48. [sub_resource type="DynamicFont" id=7]
  49. size = 35
  50. font_data = ExtResource( 10 )
  51. [node name="scene" type="Node2D"]
  52. pause_mode = 2
  53. [node name="Sky" type="Viewport" parent="."]
  54. pause_mode = 2
  55. size = Vector2( 1280, 720 )
  56. handle_input_locally = false
  57. hdr = false
  58. disable_3d = true
  59. usage = 0
  60. render_target_update_mode = 3
  61. gui_disable_input = true
  62. [node name="Sprite" type="Sprite" parent="Sky"]
  63. pause_mode = 2
  64. material = SubResource( 1 )
  65. texture = SubResource( 2 )
  66. centered = false
  67. script = ExtResource( 1 )
  68. [node name="Sky_p" type="Viewport" parent="."]
  69. pause_mode = 2
  70. size = Vector2( 1280, 720 )
  71. own_world = true
  72. handle_input_locally = false
  73. hdr = false
  74. render_target_update_mode = 3
  75. gui_disable_input = true
  76. [node name="scene" parent="Sky_p" instance=ExtResource( 9 )]
  77. pause_mode = 2
  78. [node name="main_screen" type="ViewportContainer" parent="."]
  79. pause_mode = 2
  80. material = SubResource( 4 )
  81. margin_left = 0.489258
  82. margin_top = 1.04951
  83. margin_right = 1280.49
  84. margin_bottom = 721.049
  85. stretch = true
  86. script = ExtResource( 8 )
  87. [node name="main_vp" type="Viewport" parent="main_screen"]
  88. pause_mode = 2
  89. size = Vector2( 1280, 720 )
  90. own_world = true
  91. world = SubResource( 5 )
  92. transparent_bg = true
  93. handle_input_locally = false
  94. render_target_update_mode = 3
  95. script = ExtResource( 4 )
  96. [node name="scene" parent="main_screen/main_vp" instance=ExtResource( 7 )]
  97. [node name="gui_c" type="ViewportContainer" parent="."]
  98. pause_mode = 2
  99. visible = false
  100. margin_left = 368.018
  101. margin_top = 61.575
  102. margin_right = 868.018
  103. margin_bottom = 661.575
  104. [node name="vp" type="Viewport" parent="gui_c"]
  105. pause_mode = 2
  106. size = Vector2( 750, 900 )
  107. transparent_bg = true
  108. handle_input_locally = false
  109. hdr = false
  110. disable_3d = true
  111. render_target_update_mode = 0
  112. gui_disable_input = true
  113. [node name="gui" parent="gui_c/vp" instance=ExtResource( 11 )]
  114. [node name="score" type="Label" parent="."]
  115. visible = false
  116. margin_left = 987.0
  117. margin_top = 11.0
  118. margin_right = 1162.0
  119. margin_bottom = 59.0
  120. custom_styles/normal = SubResource( 6 )
  121. custom_fonts/font = SubResource( 7 )
  122. custom_colors/font_color = Color( 0, 0.698039, 1, 0.380392 )
  123. text = "99999"
  124. align = 1
  125. valign = 2
  126. script = ExtResource( 12 )