MAIN.tscn 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [gd_scene load_steps=12 format=2]
  2. [ext_resource path="res://MAIN.gd" type="Script" id=1]
  3. [ext_resource path="res://viewport-ground.tres" type="Texture" id=2]
  4. [ext_resource path="res://blur2.gdshader" type="Shader" id=3]
  5. [ext_resource path="res://water_spawner.gd" type="Script" id=4]
  6. [ext_resource path="res://potential_curve.tres" type="Curve" id=5]
  7. [ext_resource path="res://ramp.gdshader" type="Shader" id=6]
  8. [ext_resource path="res://towbg.png" type="Texture" id=7]
  9. [ext_resource path="res://towfloor.png" type="Texture" id=8]
  10. [sub_resource type="ShaderMaterial" id=1]
  11. shader = ExtResource( 3 )
  12. shader_param/radius = 0.03
  13. [sub_resource type="ViewportTexture" id=2]
  14. viewport_path = NodePath("Viewport")
  15. [sub_resource type="ShaderMaterial" id=3]
  16. shader = ExtResource( 6 )
  17. [node name="MAIN" type="Node2D"]
  18. script = ExtResource( 1 )
  19. potential_curve = ExtResource( 5 )
  20. [node name="Viewport" type="Viewport" parent="."]
  21. size = Vector2( 1024, 600 )
  22. transparent_bg = true
  23. disable_3d = true
  24. usage = 0
  25. render_target_update_mode = 3
  26. [node name="Label" type="Label" parent="Viewport"]
  27. visible = false
  28. margin_right = 40.0
  29. margin_bottom = 14.0
  30. text = "332234234"
  31. [node name="water_spawner" type="Node2D" parent="Viewport"]
  32. script = ExtResource( 4 )
  33. [node name="Viewport2" type="Viewport" parent="."]
  34. size = Vector2( 1024, 600 )
  35. transparent_bg = true
  36. disable_3d = true
  37. usage = 0
  38. render_target_update_mode = 3
  39. [node name="TextureRect" type="TextureRect" parent="Viewport2"]
  40. material = SubResource( 1 )
  41. margin_right = 40.0
  42. margin_bottom = 40.0
  43. texture = SubResource( 2 )
  44. [node name="bg" type="TextureRect" parent="."]
  45. margin_right = 40.0
  46. margin_bottom = 40.0
  47. texture = ExtResource( 7 )
  48. __meta__ = {
  49. "_edit_use_anchors_": false
  50. }
  51. [node name="floor" type="TextureRect" parent="."]
  52. margin_top = 540.0
  53. margin_right = 1024.0
  54. margin_bottom = 600.0
  55. texture = ExtResource( 8 )
  56. __meta__ = {
  57. "_edit_use_anchors_": false
  58. }
  59. [node name="TextureRect" type="TextureRect" parent="."]
  60. material = SubResource( 3 )
  61. margin_right = 40.0
  62. margin_bottom = 40.0
  63. texture = ExtResource( 2 )
  64. flip_v = true
  65. __meta__ = {
  66. "_edit_use_anchors_": false
  67. }