Adjust player and jump pad physics parameters; refine visual effects and project settings

This commit is contained in:
2025-12-13 15:57:15 +01:00
parent 0d0c92fc83
commit 3a56ec7526
10 changed files with 205 additions and 215 deletions

View File

@@ -45,6 +45,7 @@ namespace Infrastructure.Unity
private bool _isGameRunning;
private int _currentPlayerFloorIndex;
private int _currentDisplayedScore;
private float _inputBlockTimer;
private void OnEnable()
{
@@ -61,6 +62,7 @@ namespace Infrastructure.Unity
private void Start()
{
_inputBlockTimer = 0.5f;
_persistenceService = new PlayerPrefsPersistenceAdapter();
_gameSession = new GameSession(_allTiles, _persistenceService);
@@ -98,6 +100,12 @@ namespace Infrastructure.Unity
private void Update()
{
if (_inputBlockTimer > 0f)
{
_inputBlockTimer -= Time.deltaTime;
return;
}
if (!_isGameRunning)
{
if (_actions.Player.StartGame.triggered)