HandAnim + corr sliders
This commit is contained in:
parent
da7860f05f
commit
449479791c
6
HUD.tscn
6
HUD.tscn
@ -183,7 +183,7 @@ margin_top = 572.0
|
||||
margin_right = 1755.0
|
||||
margin_bottom = 604.0
|
||||
rect_pivot_offset = Vector2( 199, 32 )
|
||||
max_value = 1.0
|
||||
max_value = 1.2
|
||||
step = 0.05
|
||||
|
||||
[node name="SFXSlider" type="Label" parent="MenuLayer/Start/Options/SFXSlider"]
|
||||
@ -199,7 +199,7 @@ margin_top = 612.0
|
||||
margin_right = 1755.0
|
||||
margin_bottom = 644.0
|
||||
rect_pivot_offset = Vector2( -414, 50 )
|
||||
max_value = 1.0
|
||||
max_value = 1.2
|
||||
step = 0.05
|
||||
|
||||
[node name="MusicLbl" type="Label" parent="MenuLayer/Start/Options/MusicSlider"]
|
||||
@ -215,7 +215,7 @@ margin_top = 654.0
|
||||
margin_right = 1755.0
|
||||
margin_bottom = 686.0
|
||||
rect_pivot_offset = Vector2( -414, 50 )
|
||||
max_value = 1.0
|
||||
max_value = 1.2
|
||||
step = 0.05
|
||||
|
||||
[node name="MasterLbl" type="Label" parent="MenuLayer/Start/Options/MasterVolSlider"]
|
||||
|
@ -44,6 +44,7 @@ var rng = RandomNumberGenerator.new()
|
||||
func _ready():
|
||||
rng.randomize()
|
||||
slap_animator.current_animation = "basic_slap"
|
||||
slap_animator.playback_speed = 30
|
||||
|
||||
|
||||
func _input(event):
|
||||
@ -125,7 +126,6 @@ func _physics_process(delta):
|
||||
if !isSlap and can_slap:
|
||||
slap_animator.seek(slap, true)
|
||||
if isSlap:
|
||||
slap_animator.playback_speed = 20
|
||||
slap_animator.play()
|
||||
slap_gauge.fill = slap;
|
||||
slap_gauge.kill = slapkill;
|
||||
|
@ -80,7 +80,7 @@ tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1, 2, 3 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector3( 0, 0, 0 ), Vector3( -0.103, 2.756, 0 ), Vector3( -2, -5, 0 ), Vector3( 0, 0, 0 ) ]
|
||||
"values": [ Vector3( 0, 0, 0 ), Vector3( -0.103, 2.756, -0.5 ), Vector3( 0, -3, -3 ), Vector3( 0, 0, 0 ) ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("Head/HandParent/Hand:rotation_degrees")
|
||||
@ -92,7 +92,7 @@ tracks/1/keys = {
|
||||
"times": PoolRealArray( 0, 1, 2, 3 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector3( 0, 0, 0 ), Vector3( -36.146, -1.281, 0 ), Vector3( 90.146, -1.281, 0 ), Vector3( 0, 0, 0 ) ]
|
||||
"values": [ Vector3( 0, 0, 0 ), Vector3( -56.146, -1.281, 0 ), Vector3( 110.146, -1.281, 0 ), Vector3( 0, 0, 0 ) ]
|
||||
}
|
||||
|
||||
[node name="Player" type="KinematicBody"]
|
||||
|
Loading…
Reference in New Issue
Block a user