started working on sword dash tutorial and bullet time is now unlimited while aiming in air
This commit is contained in:
@@ -415,7 +415,7 @@ wait_time = 2.0
|
||||
one_shot = true
|
||||
|
||||
[node name="TimeScaleAimInAir" type="Timer" parent="." unique_id=1346687662]
|
||||
wait_time = 2.0
|
||||
wait_time = 5.0
|
||||
one_shot = true
|
||||
ignore_time_scale = true
|
||||
|
||||
|
||||
@@ -713,11 +713,11 @@ public partial class PlayerController : CharacterBody3D,
|
||||
{
|
||||
_isWallJumpAvailable = true;
|
||||
_canDashAirborne = true;
|
||||
ResetTimeScale();
|
||||
|
||||
if (_simpleDashCooldownTimer.IsStopped())
|
||||
_simpleDashCooldownTimer.Start();
|
||||
|
||||
|
||||
if (_bufferedAction == BufferedActions.MantleJump)
|
||||
{
|
||||
_playerState.SendEvent("jump");
|
||||
@@ -1827,7 +1827,7 @@ public partial class PlayerController : CharacterBody3D,
|
||||
public void ReduceTimeScaleWhileAiming()
|
||||
{
|
||||
Engine.SetTimeScale(TimeScaleAimInAir);
|
||||
_timeScaleAimInAirTimer.Start();
|
||||
// _timeScaleAimInAirTimer.Start();
|
||||
}
|
||||
public void ResetTimeScale()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user