beach_cave.tscn 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [gd_scene load_steps=5 format=3 uid="uid://bhcia8aeoa4cm"]
  2. [ext_resource type="Script" path="res://beach_cave.gd" id="1"]
  3. [ext_resource type="Texture2D" uid="uid://drndflsw6mug" path="res://ocean_beach.png" id="2"]
  4. [ext_resource type="Texture2D" uid="uid://dyslwppgvocgd" path="res://ocean_cave.png" id="3"]
  5. [sub_resource type="Environment" id="1"]
  6. background_mode = 3
  7. ambient_light_sky_contribution = 0.0
  8. glow_enabled = true
  9. glow_levels/3 = 0.0
  10. glow_levels/4 = 1.0
  11. glow_levels/7 = 1.0
  12. glow_strength = 0.88
  13. glow_bloom = 0.08
  14. glow_blend_mode = 0
  15. [node name="BeachCave" type="Node2D"]
  16. script = ExtResource("1")
  17. [node name="Beach" type="Sprite2D" parent="."]
  18. modulate = Color(2, 2, 2, 1)
  19. self_modulate = Color(2, 2, 2, 1)
  20. texture = ExtResource("2")
  21. centered = false
  22. region_enabled = true
  23. region_rect = Rect2(0, 0, 3840, 720)
  24. [node name="Cave" type="Sprite2D" parent="."]
  25. self_modulate = Color(0.233166, 0.221219, 0.23582, 1)
  26. scale = Vector2(1.2, 1)
  27. texture = ExtResource("3")
  28. centered = false
  29. [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
  30. environment = SubResource("1")
  31. [node name="Camera2D" type="Camera2D" parent="."]
  32. offset = Vector2(540, 360)
  33. [node name="Label" type="Label" parent="."]
  34. visible = false
  35. offset_left = 18.0
  36. offset_top = 18.0
  37. offset_right = 294.0
  38. offset_bottom = 70.0
  39. size_flags_horizontal = 2
  40. size_flags_vertical = 0
  41. text = "Drag left and right with the mouse
  42. G: Toggle glow map (lens dirt effect)"