This commit is contained in:
Spencer Killen 2023-01-03 00:11:47 -07:00
parent 3e7b767dff
commit 274c6db5bd
Signed by: sjkillen
GPG Key ID: F307025B65C860BA
9 changed files with 44 additions and 4 deletions

View File

@ -0,0 +1,3 @@
source_md5="6d48718700735ab9207615e187729d97"
dest_md5="8e3dd4d6f1b77a395392bdf3d5da2a0f"

View File

@ -5,7 +5,7 @@ content_margin_left = 10.0
content_margin_right = 10.0 content_margin_right = 10.0
content_margin_top = 10.0 content_margin_top = 10.0
content_margin_bottom = 10.0 content_margin_bottom = 10.0
bg_color = Color( 0.03, 0.21, 0.26, 1 ) bg_color = Color( 0.2, 0.23, 0.31, 1 )
border_width_left = 1 border_width_left = 1
border_width_top = 1 border_width_top = 1
border_width_right = 1 border_width_right = 1

Binary file not shown.

View File

@ -0,0 +1,23 @@
[remap]
importer="wav"
type="AudioStreamSample"
path="res://.import/slurp.wav-f54a8f51ebb246021aa2e2ae1a304e33.sample"
[deps]
source_file="res://assets/audio/slurp.wav"
dest_files=[ "res://.import/slurp.wav-f54a8f51ebb246021aa2e2ae1a304e33.sample" ]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=3
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

View File

@ -1,9 +1,17 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/meat_bore/npcs/male.tscn" type="PackedScene" id=1] [ext_resource path="res://assets/meat_bore/npcs/male.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/meat_bore/npcs/clark.png" type="Texture" id=2] [ext_resource path="res://assets/meat_bore/npcs/clark.png" type="Texture" id=2]
[ext_resource path="res://assets/meat_bore/npcs/inherited/clark.gd" type="Script" id=3] [ext_resource path="res://assets/meat_bore/npcs/inherited/clark.gd" type="Script" id=3]
[sub_resource type="AnimationNodeStateMachine" id=1]
[sub_resource type="AnimationNodeStateMachinePlayback" id=2]
[node name="clark" instance=ExtResource( 1 )] [node name="clark" instance=ExtResource( 1 )]
script = ExtResource( 3 ) script = ExtResource( 3 )
body_texture = ExtResource( 2 ) body_texture = ExtResource( 2 )
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
tree_root = SubResource( 1 )
parameters/playback = SubResource( 2 )

View File

@ -1,7 +1,8 @@
[gd_scene load_steps=5 format=2] [gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/models/meat_elevator_tracker.glb" type="PackedScene" id=1] [ext_resource path="res://assets/models/meat_elevator_tracker.glb" type="PackedScene" id=1]
[ext_resource path="res://effects/ElevatorTracker.gd" type="Script" id=2] [ext_resource path="res://effects/ElevatorTracker.gd" type="Script" id=2]
[ext_resource path="res://assets/audio/slurp.wav" type="AudioStream" id=3]
[sub_resource type="Animation" id=1] [sub_resource type="Animation" id=1]
resource_name = "tracker_journey" resource_name = "tracker_journey"
@ -31,3 +32,7 @@ anims/tracker_journey = SubResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="MeatElevatorTracker/ElevatorGrip" index="0"] [node name="CollisionShape" type="CollisionShape" parent="MeatElevatorTracker/ElevatorGrip" index="0"]
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0 ) transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0 )
shape = SubResource( 2 ) shape = SubResource( 2 )
[node name="Slurp" type="AudioStreamPlayer" parent="." index="2"]
stream = ExtResource( 3 )
volume_db = 15.0

View File

@ -19,6 +19,7 @@ func toggle():
at_top = not at_top at_top = not at_top
func descend(): func descend():
$"../Slurp".play()
yield(get_tree().create_timer(0.1), "timeout") yield(get_tree().create_timer(0.1), "timeout")
$AnimationPlayer.play(track_animation_name) $AnimationPlayer.play(track_animation_name)
get_node(vertex_animation_path).play(vertex_animation_name) get_node(vertex_animation_path).play(vertex_animation_name)

View File

@ -25,4 +25,4 @@ func toggle():
func _process(delta): func _process(delta):
if visible: if visible:
Dialogic.set_variable("flashlight_seconds", Dialogic.get_variable("flashlight_seconds")+delta) Dialogic.set_variable("flashlight_seconds", float(Dialogic.get_variable("flashlight_seconds"))+delta)