Time-based difficulty scaling with object pools and bird pooper restart improvements to the minigame

This commit is contained in:
Michal Pikulski
2025-12-16 23:21:10 +01:00
parent 0ff3fbbc70
commit 6133caec53
14 changed files with 994 additions and 280 deletions

View File

@@ -20,7 +20,60 @@ MonoBehaviour:
maxRotationAngle: 40
rotationSpeed: 18
obstacleMoveSpeed: 7
obstacleSpawnInterval: 0.1
obstacleSpawnConfiguration:
obstaclePools:
- obstacles:
- {fileID: 8855270423038321603, guid: 20ae02a8f50484045aaf3dcee33fb9a2, type: 3}
- {fileID: 2514399078413048981, guid: ee834e7efcf7d8749881f71f8b0da99c, type: 3}
- {fileID: 842802843766402460, guid: cdc806fd167bba3488797031a28657fa, type: 3}
- {fileID: 4239333156730914246, guid: 332d8cce2ed99054c83ecf84fbfa14c8, type: 3}
- {fileID: 6660502783540694524, guid: 5d42fc70e5838544ab654e30aa4b0c48, type: 3}
- {fileID: 2421410811796775077, guid: 371a09b68a5c0654bac9ba58ad3bcbe5, type: 3}
- obstacles:
- {fileID: 1408173265900928789, guid: 871373a85e5da0e4cafdf0e47496e105, type: 3}
- {fileID: 1408173265900928789, guid: d2998934362713545a040d7017a1bd36, type: 3}
- {fileID: 1408173265900928789, guid: 146d99398c0e7964dbed504e256adab7, type: 3}
- {fileID: 1408173265900928789, guid: dc8a19e9a4d30b44596237d915b3b73f, type: 3}
- {fileID: 1408173265900928789, guid: 471f367e14f9cfb4fb2c40d799d4c292, type: 3}
- {fileID: 1408173265900928789, guid: 5f1734c5705cdfd49ae3180d678d28b3, type: 3}
- obstacles:
- {fileID: 1408173265900928789, guid: 6bc84c3ea9854b54f85a8fb69c769790, type: 3}
- {fileID: 1408173265900928789, guid: 166c7e1bfcc4c854fab0af51cdfff746, type: 3}
- {fileID: 1408173265900928789, guid: 65810bfd58ebbaf4482527452258ae50, type: 3}
- {fileID: 1408173265900928789, guid: ae3986a7db087c845b618a9c897705ec, type: 3}
poolUnlockTimes:
- 20
- 40
minSpawnInterval: 1
maxSpawnInterval: 2
difficultyRampDuration: 60
difficultyCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
intervalJitter: 0.05
recentDecayDuration: 10
minRecentWeight: 0.1
obstacleSpawnXPosition: 12
obstacleDestroyXPosition: -12
obstacleMinSpawnY: -3

View File

@@ -28,18 +28,24 @@ MonoBehaviour:
forceDeviation: 0.3
thinkTimeMin: 0.5
thinkTimeMax: 1
trashBagDetonationDistanceMin: 0.3
trashBagDetonationDistanceMax: 0.5
- difficulty: 1
data:
angleDeviation: 30
forceDeviation: 0.2
thinkTimeMin: 0.2
thinkTimeMax: 0.8
trashBagDetonationDistanceMin: 0.2
trashBagDetonationDistanceMax: 0.4
- difficulty: 2
data:
angleDeviation: 10
forceDeviation: 0.1
thinkTimeMin: 0.2
thinkTimeMax: 0.8
trashBagDetonationDistanceMin: 0.1
trashBagDetonationDistanceMax: 0.5
defaultAIDifficulty: 1
aiAllowedProjectiles: 000000000100000003000000
weakPointExplosionRadius: 6