5 Commits

Author SHA1 Message Date
  Pixdigit cdc12d57a8 Merge branch 'Henrik' into max 3 months ago
  Pixdigit 87be7f7d37 small fixes 3 months ago
  Pixdigit 286e877dcd Merge branch 'max' into Henrik 3 months ago
  Desaru 1ad9f49665 smoothPlayerRotation 3 months ago
  Desaru e732a079d9 Audio(Bus) 3 months ago
8 changed files with 92 additions and 232 deletions
Split View
  1. BIN
     
  2. +24
    -0
      default_bus_layout.tres
  3. +0
    -126
      icon.svg
  4. +0
    -34
      icon.svg.import
  5. +1
    -0
      scenes/MainMenu.tscn
  6. +35
    -28
      scenes/Ship.tscn
  7. +3
    -2
      scenes/sub_scenes/Seagull.tscn
  8. +29
    -42
      scenes/sub_scenes/player.tscn

BIN
View File


+ 24
- 0
default_bus_layout.tres View File

@@ -1,3 +1,27 @@
[gd_resource type="AudioBusLayout" format=2]

[resource]
bus/1/name = "Steps"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = -9.2092
bus/1/send = "Master"
bus/2/name = "Creaks"
bus/2/solo = false
bus/2/mute = false
bus/2/bypass_fx = false
bus/2/volume_db = -5.32994
bus/2/send = "Master"
bus/3/name = "Seagull"
bus/3/solo = false
bus/3/mute = false
bus/3/bypass_fx = false
bus/3/volume_db = 4.83123
bus/3/send = "Master"
bus/4/name = "Music"
bus/4/solo = false
bus/4/mute = false
bus/4/bypass_fx = false
bus/4/volume_db = -12.9844
bus/4/send = "Master"

+ 0
- 126
icon.svg View File

@@ -1,127 +0,0 @@
<!--
This SVG file is derived from the AudioStreamPlayer icon from Godot Engine:
https://github.com/godotengine/godot/blob/master/editor/icons/icon_audio_stream_player.svg
Here's Godot Engine's license:

Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur.
Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md).

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

End of license
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg13"
version="1.1"
width="21.307255"
viewBox="0 0 21.307255 21.307253"
height="21.307253">
<metadata
id="metadata19">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs17">
<linearGradient
y2="15"
y1="1"
x2="8"
x1="8"
gradientUnits="userSpaceOnUse"
id="a-3"
gradientTransform="translate(0.01697656,0.68979296)">
<stop
id="stop2-6"
stop-color="#ff7a7a"
offset="0" />
<stop
id="stop4-7"
stop-color="#e1dc7a"
offset=".5" />
<stop
id="stop6-5"
stop-color="#66ff9e"
offset="1" />
</linearGradient>
<filter
height="1.2720404"
y="-0.13602021"
width="1.2519313"
x="-0.12596567"
id="filter1596"
style="color-interpolation-filters:sRGB">
<feGaussianBlur
id="feGaussianBlur1598"
stdDeviation="0.7650271" />
</filter>
</defs>
<linearGradient
gradientTransform="translate(2.3654884,2.6705727)"
y2="15"
y1="1"
x2="8"
x1="8"
gradientUnits="userSpaceOnUse"
id="a">
<stop
id="stop2"
stop-color="#ff7a7a"
offset="0" />
<stop
id="stop4"
stop-color="#e1dc7a"
offset=".5" />
<stop
id="stop6"
stop-color="#66ff9e"
offset="1" />
</linearGradient>
<path
style="fill:#4c537f;fill-opacity:1;stroke:#3d4265;stroke-width:1.03250158;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 10.653626,20.790998 c 4.442141,0 6.911587,0 8.524482,-1.612891 1.612891,-1.612895 1.612891,-4.082341 1.612891,-8.524481 0,-4.4421398 0,-6.9115858 -1.612891,-8.5244805 -1.612895,-1.61289093 -4.082341,-1.61289093 -8.524482,-1.61289093 -4.4421396,0 -6.9115858,0 -8.5244804,1.61289093 -1.61289103,1.6128947 -1.61289103,4.0823407 -1.61289103,8.5244805 0,4.44214 0,6.911586 1.61289103,8.524481 1.6128946,1.612891 4.0823408,1.612891 8.5244804,1.612891 z"
id="path830" />
<path
transform="matrix(0.99999555,0,0,0.999995,2.3655261,2.4708407)"
id="path9-3"
d="m 11.970703,1.4296875 a 1.0001,1.0001 0 0 0 -0.246094,0.037109 l -6.9999996,2 A 1.0001,1.0001 0 0 0 4,4.4277344 V 9.9785156 A 2.5,2.5 0 0 0 3.5,9.9277344 2.5,2.5 0 0 0 1,12.427734 a 2.5,2.5 0 0 0 2.5,2.5 A 2.5,2.5 0 0 0 5.9960938,12.515625 1.0001,1.0001 0 0 0 6,12.427734 V 5.1835938 l 5,-1.4277344 v 3.171875 l 2,-1 v -3.5 A 1.0001,1.0001 0 0 0 11.970703,1.4296875 Z m 1.527344,6.4941406 c -0.23426,-0.0054 -0.427775,0.178412 -0.427735,0.40625 v 0.1503907 c -1.575509,0 -2.902343,1.277646 -2.902343,2.9042972 0,0.605004 -0.4906977,1.095703 -1.0957034,1.095703 H 7.71875 v 1.808593 h 1.3535156 c 1.5755104,0 2.9042984,-1.277645 2.9042964,-2.904296 0,-0.605005 0.488747,-1.095704 1.09375,-1.095704 v 0.150391 c 2.9e-4,0.312212 0.34888,0.507627 0.626954,0.351563 l 1.669922,-1.0546879 c 0.278304,-0.15619 0.278304,-0.546935 0,-0.703125 L 13.697266,7.9785156 c -0.06053,-0.03422 -0.12927,-0.052977 -0.199219,-0.054687 z M 7.71875,8.4804688 v 1.8085932 h 1.3515625 c 0.2375402,0 0.4553843,0.07853 0.6347656,0.207032 C 9.8650998,9.8921307 10.180379,9.3547634 10.607422,8.9277344 10.158088,8.6459844 9.6308898,8.4804688 9.0703125,8.4804688 Z m 5.777344,3.4453122 c -0.234259,-0.0054 -0.425822,0.178412 -0.425782,0.40625 v 0.148438 c -0.23666,0 -0.453797,-0.07549 -0.632812,-0.203125 -0.160604,0.603476 -0.477048,1.141853 -0.904297,1.568359 0.449158,0.281431 0.976875,0.445313 1.537109,0.445313 v 0.148437 c 2.9e-4,0.312212 0.346926,0.507628 0.625,0.351563 l 1.669922,-1.054688 c 0.278305,-0.15619 0.278305,-0.544983 0,-0.701172 l -1.669922,-1.054687 c -0.06053,-0.03422 -0.129269,-0.05298 -0.199218,-0.05469 z"
style="opacity:0.40800003;fill:#2d304a;fill-opacity:0.81736528;filter:url(#filter1596)" />
<path
style="fill:url(#a)"
id="path9"
d="m 14.336488,3.6725727 a 1.0001,1.0001 0 0 0 -0.24609,0.037109 l -6.9999996,2 a 1.0001,1.0001 0 0 0 -0.72461,0.96094 v 5.5508003 a 2.5,2.5 0 0 0 -0.5,-0.05078 2.5,2.5 0 0 0 -2.5,2.5 2.5,2.5 0 0 0 2.5,2.5 2.5,2.5 0 0 0 2.4961,-2.4121 1.0001,1.0001 0 0 0 0.00391,-0.08789 V 7.4265507 l 4.9999996,-1.4277 v 3.1719 l 2,-1 v -3.5 a 1.0001,1.0001 0 0 0 -1.0293,-0.99805 z" />
<path
id="path11"
style="fill:#e0e0e0"
d="m 15.863535,10.166666 c -0.23426,-0.0054 -0.427776,0.178412 -0.427735,0.40625 v 0.150391 c -1.575509,0 -2.902343,1.277645 -2.902343,2.904297 0,0.605004 -0.490697,1.095703 -1.095703,1.095703 h -1.353516 v 1.808594 h 1.353516 c 1.57551,0 2.904297,-1.277646 2.904296,-2.904297 0,-0.605005 0.488746,-1.095703 1.09375,-1.095703 v 0.150391 c 2.9e-4,0.312212 0.34888,0.507626 0.626954,0.351562 l 1.669922,-1.054688 c 0.278304,-0.15619 0.278305,-0.546935 0,-0.703125 l -1.669922,-1.054687 c -0.06053,-0.03422 -0.12927,-0.05298 -0.199219,-0.05469 z m -5.779297,0.556641 v 1.808594 h 1.351563 c 0.23754,0 0.455384,0.07853 0.634765,0.207031 0.160022,-0.603964 0.475301,-1.141331 0.902344,-1.568359 -0.449334,-0.281751 -0.976532,-0.447266 -1.537109,-0.447266 z m 5.777344,3.445313 c -0.234259,-0.0054 -0.425823,0.178412 -0.425782,0.40625 v 0.148437 c -0.23666,0 -0.453797,-0.07549 -0.632812,-0.203125 -0.160604,0.603476 -0.477048,1.141854 -0.904297,1.56836 0.449158,0.281431 0.976875,0.445312 1.537109,0.445312 v 0.148438 c 2.9e-4,0.312212 0.346926,0.507627 0.625,0.351562 l 1.669922,-1.054687 c 0.278305,-0.15619 0.278305,-0.544983 0,-0.701172 L 16.0608,14.223307 c -0.06053,-0.03422 -0.129269,-0.05298 -0.199218,-0.05469 z" />
</svg>

+ 0
- 34
icon.svg.import View File

@@ -1,34 +0,0 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/icon.svg-218a8f2b3041327d8a5756f3a245f83b.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icon.svg"
dest_files=[ "res://.import/icon.svg-218a8f2b3041327d8a5756f3a245f83b.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

+ 1
- 0
scenes/MainMenu.tscn View File

@@ -98,5 +98,6 @@ script = SubResource( 2 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
autoplay = true
bus = "Music"
[connection signal="pressed" from="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/Start" to="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/Start" method="_on_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/Exit" to="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/Exit" method="_on_pressed"]

+ 35
- 28
scenes/Ship.tscn View File

@@ -174,6 +174,16 @@ height = 0.1
extents = Vector3( 0.8, 2.16543, 0.8 )

[sub_resource type="GDScript" id=26]
script/source = "tool
extends Spatial

export var speed: float

func _physics_process(delta):
rotation.y += speed * delta
"

[sub_resource type="GDScript" id=27]
script/source = "extends Area

func _ready():
@@ -185,10 +195,10 @@ func _on_body_entered(body):
State.player_inventory = State.ITEM.WATER
"

[sub_resource type="BoxShape" id=27]
[sub_resource type="BoxShape" id=28]
extents = Vector3( 1.17384, 2.64489, 1.23621 )

[sub_resource type="GDScript" id=28]
[sub_resource type="GDScript" id=29]
script/source = "extends Area

func _ready():
@@ -200,10 +210,10 @@ func _on_body_entered(body):
State.player_inventory = State.ITEM.FERTILIZER
"

[sub_resource type="BoxShape" id=29]
[sub_resource type="BoxShape" id=30]
extents = Vector3( 1.47223, 2.50833, 2.55238 )

[sub_resource type="GDScript" id=30]
[sub_resource type="GDScript" id=31]
script/source = "extends Area

func _ready():
@@ -214,19 +224,9 @@ func _on_body_entered(body):
State.player_inventory = State.ITEM.SEED
"

[sub_resource type="BoxShape" id=31]
[sub_resource type="BoxShape" id=32]
extents = Vector3( 1.47223, 2.27452, 1.36382 )

[sub_resource type="GDScript" id=32]
script/source = "tool
extends Spatial

export var speed: float

func _physics_process(delta):
rotation.y += speed * delta
"

[node name="Ship" type="Spatial"]

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
@@ -420,44 +420,51 @@ shape = SubResource( 25 )
transform = Transform( 1, 0, 0, 0, -0.416456, -0.909156, 0, 0.909156, -0.416456, 0, -28.5438, 25.5763 )
light_energy = 0.2

[node name="SeagullOrbit" type="Spatial" parent="."]
transform = Transform( -0.963966, 0, 0.266016, 0, 1, 0, -0.266016, 0, -0.963966, 0, 30, 0 )
script = SubResource( 26 )
speed = 0.0

[node name="Gull Dummy" parent="SeagullOrbit" instance=ExtResource( 3 )]

[node name="WaterDetector" type="Area" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.99335, 9.65661, -0.110578 )
script = SubResource( 26 )
script = SubResource( 27 )

[node name="CollisionShape" type="CollisionShape" parent="WaterDetector"]
shape = SubResource( 27 )
shape = SubResource( 28 )

[node name="FertilizerDetector" type="Area" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.71211, -4.76837e-07, 3.47488 )
script = SubResource( 28 )
script = SubResource( 29 )

[node name="CollisionShape" type="CollisionShape" parent="FertilizerDetector"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10.3587, 8.62152, 1.31896 )
shape = SubResource( 29 )
shape = SubResource( 30 )

[node name="SeedDetector" type="Area" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 19.853, 11.718, 0.149496 )
script = SubResource( 30 )
script = SubResource( 31 )

[node name="CollisionShape" type="CollisionShape" parent="SeedDetector"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0787144, 0.580219, -0.135435 )
shape = SubResource( 31 )
shape = SubResource( 32 )

[node name="SeagullOrbit" type="Spatial" parent="."]
transform = Transform( -0.265779, 0, -0.964034, 0, 1, 0, 0.964034, 0, -0.265779, 0, 30, 0 )
script = SubResource( 32 )
transform = Transform( 0.874581, 0, -0.48488, 0, 1, 0, 0.48488, 0, 0.874581, 0, 30, 0 )
script = SubResource( 26 )
speed = 0.5

[node name="Gull Dummy" parent="SeagullOrbit" instance=ExtResource( 3 )]

[node name="Bubble" parent="." instance=ExtResource( 5 )]
transform = Transform( 30, 0, 0, 0, 25, 0, 0, 0, 25, -2.66053, 15.0877, 0 )

[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 11 )
autoplay = true
bus = "Music"

[node name="CreakSound" type="Spatial" parent="."]
script = SubResource( 27 )
script = SubResource( 28 )

[node name="Timer" type="Timer" parent="CreakSound"]
wait_time = 5.0
@@ -465,6 +472,7 @@ autostart = true

[node name="RandomAudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="CreakSound"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.19563, 8.60105, 0 )
bus = "Creaks"
script = ExtResource( 6 )
streams = [ ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ) ]
random_strategy = 0
@@ -507,4 +515,3 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0, 0 )
[connection signal="body_entered" from="WaterDetector" to="WaterDetector" method="_on_body_entered"]
[connection signal="body_entered" from="FertilizerDetector" to="FertilizerDetector" method="_on_body_entered"]
[connection signal="body_entered" from="SeedDetector" to="SeedDetector" method="_on_body_entered"]
[connection signal="timeout" from="CreakSound/Timer" to="CreakSound" method="_on_Timer_timeout"]

+ 3
- 2
scenes/sub_scenes/Seagull.tscn View File

@@ -8,7 +8,7 @@

[sub_resource type="CapsuleMesh" id=1]

[sub_resource type="GDScript" id=3]
[sub_resource type="GDScript" id=2]
script/source = "extends Timer


@@ -30,9 +30,10 @@ material/0 = null
[node name="Timer" type="Timer" parent="."]
wait_time = 3.0
autostart = true
script = SubResource( 3 )
script = SubResource( 2 )

[node name="RandomAudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
bus = "Seagull"
script = ExtResource( 5 )
streams = [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 1 ) ]
random_strategy = 0


+ 29
- 42
scenes/sub_scenes/player.tscn View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=13 format=2]

[ext_resource path="res://addons/randomAudioStreamPlayer/random_audio_stream_player_3D.gd" type="Script" id=1]
[ext_resource path="res://assets/sound/Steps/Metal_Footstep_02_mono.ogg" type="AudioStream" id=2]
@@ -22,7 +22,7 @@ onready var audio = get_node(\"RandomAudioStreamPlayer3D\")
onready var stepTimer = get_node(\"Timer\")
onready var fertilizer_logo = get_node(\"FertilizerLogo\")
onready var water_logo = get_node(\"WaterLogo\")
onready var seed_logo = get_node(\"SeedLogo\")
#onready var seed_logo = get_node(\"SeedLogo\")

func _ready():
var err = State.connect(\"item_changed\", self, \"_on_item_changed\")
@@ -37,7 +37,7 @@ func _on_item_changed():
elif State.player_inventory == State.ITEM.FERTILIZER:
fertilizer_logo.visible = true
elif State.player_inventory == State.ITEM.SEED:
seed_logo.visible = true
pass # TODO seed_logo.visible = true

func _physics_process(_delta):
@@ -47,16 +47,19 @@ func _physics_process(_delta):
var input = Vector3()
if Input.is_action_pressed(\"MovingForward\"):
input.z -= 1
smoothRotating(180.0)
input.z -= 1
if Input.is_action_pressed(\"MovingBackward\"):
smoothRotating(0.0)
input.z += 1
if Input.is_action_pressed(\"MovingRight\"):
smoothRotating(90.0)
input.x += 1
if Input.is_action_pressed(\"MovingLeft\"):
smoothRotating(270.0)
input.x -= 1

if Input.is_action_just_pressed(\"Jump\") && is_on_floor():
@@ -69,7 +72,6 @@ func _physics_process(_delta):
input.x *= sprintFactor
input.z *= sprintFactor


vel += Vector3(input.x, 0, input.z)*moveSpeed
vel.y += input.y * jumpForce
@@ -85,45 +87,26 @@ func _physics_process(_delta):

func _on_Timer_timeout():
audio.play()


func smoothRotating(rot : float):
var targetRotation = lerp_angle(deg2rad(rotation_degrees.y), deg2rad(rot), 0.2)
rotation_degrees.y = rad2deg(targetRotation)
"

[sub_resource type="CapsuleMesh" id=2]
mid_height = 2.0

[sub_resource type="CapsuleShape" id=3]
height = 2.0
[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.760784, 0.576471, 0.4, 1 )

[sub_resource type="Animation" id=4]
resource_name = "rotate"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 360, 0 ) ]
}
[sub_resource type="SphereMesh" id=4]

[sub_resource type="Animation" id=5]
resource_name = "rotate"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 360, 0 ) ]
}
[sub_resource type="SpatialMaterial" id=5]
albedo_color = Color( 0.968627, 0.282353, 0.282353, 1 )

[sub_resource type="CapsuleShape" id=6]
height = 2.0

[node name="Player" type="KinematicBody"]
script = SubResource( 1 )
@@ -134,11 +117,16 @@ __meta__ = {
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
mesh = SubResource( 2 )
material/0 = null
material/0 = SubResource( 3 )

[node name="MeshInstance" type="MeshInstance" parent="MeshInstance"]
transform = Transform( 0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 1.08105, -0.750059 )
mesh = SubResource( 4 )
material/0 = SubResource( 5 )

[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
shape = SubResource( 3 )
shape = SubResource( 6 )

[node name="Listener" type="Listener" parent="."]
current = true
@@ -148,6 +136,7 @@ wait_time = 0.3
autostart = true

[node name="RandomAudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
bus = "Steps"
script = ExtResource( 1 )
streams = [ ExtResource( 3 ), ExtResource( 2 ), ExtResource( 4 ) ]
random_strategy = 2
@@ -164,7 +153,6 @@ visible = false

[node name="AnimationPlayer" type="AnimationPlayer" parent="FertilizerLogo"]
autoplay = "rotate"
anims/rotate = SubResource( 4 )

[node name="WaterLogo" parent="." instance=ExtResource( 6 )]
transform = Transform( 0.901675, 0, -0.432413, 0, 1, 0, 0.432413, 0, 0.901675, 0, 3, 0 )
@@ -172,5 +160,4 @@ visible = false

[node name="AnimationPlayer2" type="AnimationPlayer" parent="WaterLogo"]
autoplay = "rotate"
anims/rotate = SubResource( 5 )
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]

Loading…
Cancel
Save