[gd_scene format=3 uid="uid://be6xfndyj4ckx"] [ext_resource type="PackedScene" uid="uid://d24gcv3umq60k" path="res://Scenes/Objects/Occlusion/occlusion_culler.tscn" id="1_ijlg6"] [ext_resource type="Texture2D" uid="uid://c6cddkuevr4hl" path="res://Assets/Spritesheets/Trees/Big_Oak_Tree-Isolated.png" id="2_mxye4"] [ext_resource type="Material" uid="uid://1shsptwu7rdt" path="res://Resources/Materials/tree_sway.tres" id="2_pv2vp"] [ext_resource type="Script" uid="uid://vmyfl4obus88" path="res://Scripts/Objects/Trees/leaf_spawner.gd" id="3_mxye4"] [sub_resource type="CircleShape2D" id="CircleShape2D_ijlg6"] radius = 23.021729 [sub_resource type="RectangleShape2D" id="RectangleShape2D_0srx6"] size = Vector2(16, 10) [sub_resource type="CompressedTexture2D" id="CompressedTexture2D_mxye4"] load_path = "res://.godot/imported/Oak_Leaf_Particle.png-90b4e62cf0b626a461440019d7b31cd8.ctex" [node name="Tree 02" type="StaticBody2D" unique_id=2046930104] y_sort_enabled = true [node name="Occlusion Culler" parent="." unique_id=1362480066 node_paths=PackedStringArray("nodes_to_occlude") instance=ExtResource("1_ijlg6")] nodes_to_occlude = [NodePath("../Sprite2D")] [node name="CollisionShape2D" type="CollisionShape2D" parent="Occlusion Culler" unique_id=1085880925] position = Vector2(0, -10) shape = SubResource("CircleShape2D_ijlg6") [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1420512565] y_sort_enabled = true material = ExtResource("2_pv2vp") position = Vector2(0, 24) texture = ExtResource("2_mxye4") offset = Vector2(0, -24) [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=870152657] position = Vector2(0, 19) shape = SubResource("RectangleShape2D_0srx6") [node name="Leaf Spawner" type="Node2D" parent="." unique_id=1908114650 node_paths=PackedStringArray("spawn_markers", "destination_markers")] y_sort_enabled = true script = ExtResource("3_mxye4") leaf_texture = SubResource("CompressedTexture2D_mxye4") spawn_markers = NodePath("Spawn Markers") destination_markers = NodePath("Destination Markers") [node name="Spawn Markers" type="Node2D" parent="Leaf Spawner" unique_id=718423149] [node name="Marker2D" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=110047229] position = Vector2(-10, -19) [node name="Marker2D2" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=1030089042] position = Vector2(-15, -2) [node name="Marker2D3" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=1530367987] position = Vector2(9, 4) [node name="Marker2D4" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=2042975279] position = Vector2(15, -10) [node name="Marker2D5" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=712311756] position = Vector2(8, -24) [node name="Destination Markers" type="Node2D" parent="Leaf Spawner" unique_id=1860944141] [node name="Marker2D" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=608985314] position = Vector2(-23, 14) [node name="Marker2D2" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=860056803] position = Vector2(-27, 25) [node name="Marker2D3" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=457722512] position = Vector2(-15, 21) [node name="Marker2D4" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1184860371] position = Vector2(-5, 30) [node name="Marker2D5" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=181196191] position = Vector2(6, 26) [node name="Marker2D6" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1185929582] position = Vector2(18, 34) [node name="Marker2D7" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=180258159] position = Vector2(25, 18) [node name="Marker2D8" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1566992504] position = Vector2(14, 20) [node name="Marker2D9" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1862213394] position = Vector2(16, 11) [node name="Marker2D10" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=489682641] position = Vector2(30, 8) [node name="Marker2D11" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=495586307] position = Vector2(-34, 12)