106 lines
5.7 KiB
Plaintext
106 lines
5.7 KiB
Plaintext
[gd_scene load_steps=13 format=2]
|
|
|
|
[ext_resource path="res://assets/environment/decor/straight_straw.png" type="Texture" id=1]
|
|
[ext_resource path="res://src/Environment/Grass/ShaderGrass.gd" type="Script" id=2]
|
|
[ext_resource path="res://src/Environment/Grass/ShaderGrassMaterial.tres" type="Material" id=3]
|
|
[ext_resource path="res://assets/environment/decor/short_straw.png" type="Texture" id=4]
|
|
[ext_resource path="res://assets/environment/decor/bent_straw.png" type="Texture" id=5]
|
|
[ext_resource path="res://assets/environment/decor/bent_straw_2.png" type="Texture" id=6]
|
|
[ext_resource path="res://assets/environment/decor/bent_straw_leftt.png" type="Texture" id=7]
|
|
[ext_resource path="res://assets/environment/decor/bent_straw_left_2.png" type="Texture" id=8]
|
|
[ext_resource path="res://assets/sounds/grass swish 4.ogg" type="AudioStream" id=9]
|
|
[ext_resource path="res://assets/environment/decor/grass-roots.png" type="Texture" id=10]
|
|
|
|
[sub_resource type="AudioStreamRandomPitch" id=2]
|
|
audio_stream = ExtResource( 9 )
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
radius = 5.0
|
|
height = 4.18096
|
|
|
|
[node name="ShaderGrass" type="Node2D"]
|
|
script = ExtResource( 2 )
|
|
interact_power = 0.07
|
|
|
|
[node name="StraightStraw" type="Polygon2D" parent="."]
|
|
material = ExtResource( 3 )
|
|
position = Vector2( -2, 0 )
|
|
texture = ExtResource( 1 )
|
|
polygon = PoolVector2Array( 4.9375, 4.5625, 5, 1.6875, 8.125, 1.6875, 8.0625, 4.875, 8.0625, 8.4375, 8.125, 12.125, 4.8125, 12.0625, 4.8125, 8.5 )
|
|
uv = PoolVector2Array( 4.9375, 4.5625, 5, 1.6875, 8.125, 1.6875, 8.0625, 4.875, 8.0625, 8.4375, 8.125, 12.125, 4.8125, 12.0625, 4.8125, 8.5 )
|
|
polygons = [ PoolIntArray( 1, 3, 0 ), PoolIntArray( 2, 3, 1 ), PoolIntArray( 0, 4, 3 ), PoolIntArray( 0, 7, 4 ), PoolIntArray( 6, 7, 5 ), PoolIntArray( 4, 5, 7 ) ]
|
|
|
|
[node name="ShortStraw" type="Polygon2D" parent="."]
|
|
material = ExtResource( 3 )
|
|
position = Vector2( -4, -1 )
|
|
texture = ExtResource( 4 )
|
|
polygon = PoolVector2Array( 5, 12.0625, 4.9375, 10.0625, 4.875, 8, 5.0625, 5.9375, 8.1875, 6, 8.0625, 8.0625, 8.0625, 10.1875, 8.0625, 12.125 )
|
|
uv = PoolVector2Array( 5, 12.0625, 4.9375, 10.0625, 4.875, 8, 5.0625, 5.9375, 8.1875, 6, 8.0625, 8.0625, 8.0625, 10.1875, 8.0625, 12.125 )
|
|
polygons = [ PoolIntArray( 3, 5, 4 ), PoolIntArray( 2, 3, 5 ), PoolIntArray( 1, 2, 6 ), PoolIntArray( 5, 6, 2 ), PoolIntArray( 6, 0, 7 ), PoolIntArray( 6, 1, 0 ) ]
|
|
|
|
[node name="ShortStraw2" type="Polygon2D" parent="."]
|
|
material = ExtResource( 3 )
|
|
position = Vector2( 1, -2 )
|
|
texture = ExtResource( 4 )
|
|
polygon = PoolVector2Array( 5, 12.0625, 4.9375, 10.0625, 4.875, 8, 5.0625, 5.9375, 8.1875, 6, 8.0625, 8.0625, 8.0625, 10.1875, 8.0625, 12.125 )
|
|
uv = PoolVector2Array( 5, 12.0625, 4.9375, 10.0625, 4.875, 8, 5.0625, 5.9375, 8.1875, 6, 8.0625, 8.0625, 8.0625, 10.1875, 8.0625, 12.125 )
|
|
polygons = [ PoolIntArray( 3, 5, 4 ), PoolIntArray( 2, 3, 5 ), PoolIntArray( 1, 2, 6 ), PoolIntArray( 5, 6, 2 ), PoolIntArray( 6, 0, 7 ), PoolIntArray( 6, 1, 0 ) ]
|
|
|
|
[node name="BentStrawRight" type="Polygon2D" parent="."]
|
|
material = ExtResource( 3 )
|
|
position = Vector2( 5, 0 )
|
|
texture = ExtResource( 5 )
|
|
polygon = PoolVector2Array( 1, 12, 0.9375, 9.0625, 2.75, 7.0625, 5, 5.75, 9.1875, 5.75, 9.125, 9.1875, 6, 10, 5.0625, 12.0625 )
|
|
uv = PoolVector2Array( 1, 12, 0.9375, 9.0625, 2.75, 7.0625, 5, 5.75, 9.1875, 5.75, 9.125, 9.1875, 6, 10, 5.0625, 12.0625 )
|
|
polygons = [ PoolIntArray( 1, 7, 0 ), PoolIntArray( 2, 7, 1 ), PoolIntArray( 6, 7, 2 ), PoolIntArray( 6, 3, 2 ), PoolIntArray( 3, 5, 6 ), PoolIntArray( 3, 4, 5 ) ]
|
|
|
|
[node name="BentStraw2Right" type="Polygon2D" parent="."]
|
|
material = ExtResource( 3 )
|
|
position = Vector2( 4, 0 )
|
|
texture = ExtResource( 6 )
|
|
polygon = PoolVector2Array( 0.875, 12, 0.875, 7.9375, 2.13287, 6.45765, 3, 5.4375, 4.625, 3.6875, 6.9375, 1.6875, 9.375, 4.25, 7, 6.25, 5.5625, 7.5, 4.75, 8.25, 4.6875, 11.875 )
|
|
uv = PoolVector2Array( 0.875, 12, 0.875, 7.9375, 3, 5.4375, 4.625, 3.6875, 6.9375, 1.6875, 9.375, 4.25, 7, 6.25, 5.5625, 7.5, 4.75, 8.25, 4.6875, 11.8125 )
|
|
|
|
[node name="BentStrawLeft" type="Polygon2D" parent="."]
|
|
material = ExtResource( 3 )
|
|
position = Vector2( -6, 0 )
|
|
texture = ExtResource( 7 )
|
|
polygon = PoolVector2Array( 5.0625, 11.9375, 3.9375, 10, 1, 8.9375, 0.875, 5.8125, 5.1875, 5.6875, 6.8125, 7.25, 8.9375, 8.6875, 8.875, 11.9375 )
|
|
uv = PoolVector2Array( 5.0625, 11.9375, 3.9375, 10, 1, 8.9375, 0.875, 5.8125, 5.1875, 5.6875, 6.8125, 7.25, 8.9375, 8.6875, 8.875, 11.9375 )
|
|
polygons = [ PoolIntArray( 0, 6, 7 ), PoolIntArray( 1, 6, 0 ), PoolIntArray( 1, 5, 6 ), PoolIntArray( 1, 4, 5 ), PoolIntArray( 2, 1, 4 ), PoolIntArray( 3, 4, 2 ) ]
|
|
|
|
[node name="BentStraw2Left" type="Polygon2D" parent="."]
|
|
material = ExtResource( 3 )
|
|
position = Vector2( -4, 0 )
|
|
texture = ExtResource( 8 )
|
|
polygon = PoolVector2Array( 4.9375, 11.875, 5, 8.8125, 2.8125, 7, -0.375, 4.0625, 2.25, 1.9375, 4.75, 4.625, 8.0625, 7.9375, 8, 12.0625 )
|
|
uv = PoolVector2Array( 4.9375, 11.875, 5, 8.8125, 2.8125, 7, -0.375, 4.0625, 2.25, 1.9375, 4.75, 4.625, 8.0625, 7.9375, 8, 12.0625 )
|
|
polygons = [ PoolIntArray( 0, 6, 7 ), PoolIntArray( 0, 1, 6 ), PoolIntArray( 1, 5, 6 ), PoolIntArray( 1, 2, 5 ), PoolIntArray( 2, 4, 5 ), PoolIntArray( 2, 3, 4 ) ]
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
visible = false
|
|
position = Vector2( 5.00909, 19.9567 )
|
|
z_index = -1
|
|
texture = ExtResource( 10 )
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 4.0
|
|
one_shot = true
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
|
stream = SubResource( 2 )
|
|
volume_db = -22.0
|
|
bus = "Effects"
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 3
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2( 4.67196, 7.11315 )
|
|
rotation = 1.56773
|
|
shape = SubResource( 1 )
|
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
|