81 lines
2.2 KiB
Plaintext
81 lines
2.2 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://scenery/facilities/wheelbarrow_back.png" type="Texture" id=1]
|
|
[ext_resource path="res://scenery/facilities/wheelbarrow_fore.png" type="Texture" id=2]
|
|
[ext_resource path="res://scenery/facilities/Wheelbarrow.gd" type="Script" id=3]
|
|
[ext_resource path="res://items/olive.png" type="Texture" id=4]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 43.125, 19.5 )
|
|
|
|
[sub_resource type="CapsuleShape2D" id=2]
|
|
radius = 31.5
|
|
height = 61.25
|
|
|
|
[node name="Wheelbarrow" type="KinematicBody2D" groups=["attachable"]]
|
|
position = Vector2( 0, -11 )
|
|
collision_layer = 11
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 1.875, 6.5 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="CollectionArea" type="Area2D" parent="."]
|
|
position = Vector2( 1.875, 6.5 )
|
|
collision_layer = 0
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CollectionArea"]
|
|
rotation = 1.5708
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="SpriteB" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="Olive" type="Sprite" parent="."]
|
|
visible = false
|
|
position = Vector2( -32, -19 )
|
|
rotation = 0.460767
|
|
texture = ExtResource( 4 )
|
|
centered = false
|
|
offset = Vector2( -5, -5 )
|
|
|
|
[node name="Olive3" type="Sprite" parent="."]
|
|
visible = false
|
|
position = Vector2( 10, -21 )
|
|
rotation = 0.218166
|
|
texture = ExtResource( 4 )
|
|
centered = false
|
|
offset = Vector2( -5, -5 )
|
|
|
|
[node name="Olive4" type="Sprite" parent="."]
|
|
visible = false
|
|
position = Vector2( -18, 3 )
|
|
rotation = -2.29511
|
|
texture = ExtResource( 4 )
|
|
centered = false
|
|
offset = Vector2( -5, -5 )
|
|
|
|
[node name="Olive5" type="Sprite" parent="."]
|
|
visible = false
|
|
position = Vector2( 2, -25 )
|
|
rotation = 0.546288
|
|
texture = ExtResource( 4 )
|
|
centered = false
|
|
offset = Vector2( -5, -5 )
|
|
|
|
[node name="Olive2" type="Sprite" parent="."]
|
|
visible = false
|
|
position = Vector2( -9, -26 )
|
|
rotation = 0.656244
|
|
scale = Vector2( 1, 1 )
|
|
texture = ExtResource( 4 )
|
|
centered = false
|
|
offset = Vector2( -5, -5 )
|
|
|
|
[node name="SpriteF" type="Sprite" parent="."]
|
|
texture = ExtResource( 2 )
|
|
|
|
[connection signal="area_entered" from="CollectionArea" to="." method="_on_CollectionArea_area_entered"]
|