ld52_olive_harvest/scenery/facilities/OliveTree.tscn

45 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://scenery/facilities/olivetree.png" type="Texture" id=1]
[ext_resource path="res://scenery/facilities/OliveTreeBud.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenery/facilities/OliveTree.gd" type="Script" id=3]
[ext_resource path="res://sfx/fall.wav" type="AudioStream" id=4]
[sub_resource type="CapsuleShape2D" id=1]
radius = 28.0
height = 34.0
[node name="OliveTree" type="StaticBody2D" groups=["interactable", "olive_trees"]]
collision_layer = 3
script = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -66 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -7, -30 )
shape = SubResource( 1 )
[node name="OliveTreeBud" parent="." instance=ExtResource( 2 )]
position = Vector2( 38, -105 )
[node name="OliveTreeBud2" parent="." instance=ExtResource( 2 )]
position = Vector2( -54, -75 )
rotation = 1.53065
[node name="OliveTreeBud3" parent="." instance=ExtResource( 2 )]
position = Vector2( -42, -127 )
rotation = 0.98262
[node name="OliveTreeBud4" parent="." instance=ExtResource( 2 )]
position = Vector2( 8, -72 )
rotation = 0.546288
[node name="OliveTreeBud5" parent="." instance=ExtResource( 2 )]
position = Vector2( 2, -131 )
rotation = 0.328122
[node name="FallSfx" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 4 )