repaired the fuckin player scene

This commit is contained in:
Victor Turgeon
2022-10-11 19:45:44 -04:00
parent 73060fb905
commit f9e2351adb
2 changed files with 8 additions and 843 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=2]
[gd_scene load_steps=19 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://BlenderStuff/Hand/protohand.obj" type="ArrayMesh" id=2]
@@ -7,11 +7,11 @@
[ext_resource path="res://Audio/80-s-clap.wav" type="AudioStream" id=5]
[ext_resource path="res://Audio/MegaSlap.wav" type="AudioStream" id=6]
[ext_resource path="res://Scripts/HitBox.gd" type="Script" id=7]
[ext_resource path="res://Audio/mixkit-fast-whoosh-transition-1490.wav" type="AudioStream" id=7]
[ext_resource path="res://Audio/step2.wav" type="AudioStream" id=8]
[ext_resource path="res://Audio/step3.wav" type="AudioStream" id=9]
[ext_resource path="res://Audio/step4.wav" type="AudioStream" id=10]
[ext_resource path="res://Audio/step1.wav" type="AudioStream" id=11]
[ext_resource path="res://Audio/mixkit-fast-whoosh-transition-1490.wav" type="AudioStream" id=12]
[sub_resource type="CapsuleShape" id=2]
height = 3.0
@@ -22,6 +22,7 @@ height = 3.0
extents = Vector3( 0.797679, 1, 1 )
[sub_resource type="SpatialMaterial" id=4]
flags_no_depth_test = true
albedo_texture = ExtResource( 3 )
uv1_triplanar = true
@@ -145,25 +146,19 @@ anims/basic_slap = SubResource( 6 )
[node name="AudioSlap" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 5 )
bus = "SFX"
[node name="AudioMegaSlap" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 6 )
unit_db = 8.496
max_db = 6.0
bus = "SFX"
emission_angle_enabled = true
doppler_tracking = 2
[node name="Music" type="AudioStreamPlayer" parent="."]
volume_db = 13.983
autoplay = true
[node name="SlapCooldown" type="Timer" parent="."]
wait_time = 0.5
[connection signal="timeout" from="SlapCooldown" to="." method="_on_SlapCooldown_timeout"]
bus = "Music"
[node name="Step2" type="AudioStreamPlayer3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, 0 )
stream = ExtResource( 8 )
@@ -181,7 +176,9 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, 0 )
stream = ExtResource( 10 )
[node name="AudioCharge" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 7 )
stream = ExtResource( 12 )
pitch_scale = 0.79
bus = "SFX"
doppler_tracking = 2
[connection signal="timeout" from="SlapCooldown" to="." method="_on_SlapCooldown_timeout"]