parent
f709498c83
commit
8a0c403d2b
9 changed files with 136 additions and 66 deletions
@ -0,0 +1,59 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!114 &11400000 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 0} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b6828f2f0908479394eb20d0c0beb8c0, type: 3} |
||||||
|
m_Name: BalanceValues |
||||||
|
m_EditorClassIdentifier: |
||||||
|
spawnRates: |
||||||
|
- spawnable: 0 |
||||||
|
values: |
||||||
|
- spawnRate: 1 |
||||||
|
baseSeconds: 20 |
||||||
|
- spawnRate: 2 |
||||||
|
baseSeconds: 10 |
||||||
|
- spawnRate: 3 |
||||||
|
baseSeconds: 5 |
||||||
|
- spawnable: 1 |
||||||
|
values: |
||||||
|
- spawnRate: 1 |
||||||
|
baseSeconds: 30 |
||||||
|
- spawnRate: 2 |
||||||
|
baseSeconds: 20 |
||||||
|
- spawnRate: 3 |
||||||
|
baseSeconds: 10 |
||||||
|
- spawnable: 2 |
||||||
|
values: |
||||||
|
- spawnRate: 1 |
||||||
|
baseSeconds: 10 |
||||||
|
- spawnRate: 2 |
||||||
|
baseSeconds: 7 |
||||||
|
- spawnRate: 3 |
||||||
|
baseSeconds: 3 |
||||||
|
- spawnable: 3 |
||||||
|
values: |
||||||
|
- spawnRate: 1 |
||||||
|
baseSeconds: 40 |
||||||
|
- spawnRate: 2 |
||||||
|
baseSeconds: 30 |
||||||
|
- spawnRate: 3 |
||||||
|
baseSeconds: 15 |
||||||
|
spawnArea: {x: 0.9, y: 0.5} |
||||||
|
playerSpeed: 15 |
||||||
|
playerSpeedMultiplier: 1.5 |
||||||
|
playerWidth: 6 |
||||||
|
playerWidthMultiplier: 1.5 |
||||||
|
playerBorder: 0.85 |
||||||
|
playerBorderSummand: 0.15 |
||||||
|
aiFutureSecondsBase: 1 |
||||||
|
aiFutureSecondsPerDifficulty: 0.75 |
||||||
|
aiSmartIdleMinDifficulty: 2 |
||||||
|
ballSpeed: 15 |
||||||
|
ballSpeedMultiplier: 1.025 |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: a557c60a64523e194996165dd8bbf6a4 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 11400000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,37 @@ |
|||||||
|
using System; |
||||||
|
using System.Runtime.Remoting.Messaging; |
||||||
|
using UnityEngine; |
||||||
|
|
||||||
|
namespace Game { |
||||||
|
[CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/BalanceValues", order = 0)] |
||||||
|
public class BalanceValues : ScriptableObject { |
||||||
|
[Serializable] |
||||||
|
public struct SpawnRatesValue { |
||||||
|
public SpawnRate spawnRate; |
||||||
|
public float baseSeconds; |
||||||
|
} |
||||||
|
[Serializable] |
||||||
|
public struct SpawnableSpawnRates { |
||||||
|
public Spawnable spawnable; |
||||||
|
public SpawnRatesValue[] values; |
||||||
|
} |
||||||
|
|
||||||
|
[Header("Spawning")] |
||||||
|
public SpawnableSpawnRates[] spawnRates; |
||||||
|
public Vector2 spawnArea; |
||||||
|
[Header("Player")] |
||||||
|
public float playerSpeed; |
||||||
|
public float playerSpeedMultiplier; |
||||||
|
public float playerWidth; |
||||||
|
public float playerWidthMultiplier; |
||||||
|
public float playerBorder; |
||||||
|
public float playerBorderSummand; |
||||||
|
[Header("AI")] |
||||||
|
public float aiFutureSecondsBase; |
||||||
|
public float aiFutureSecondsPerDifficulty; |
||||||
|
public Difficulty aiSmartIdleMinDifficulty; |
||||||
|
[Header("Ball")] |
||||||
|
public float ballSpeed; |
||||||
|
public float ballSpeedMultiplier; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,3 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: b6828f2f0908479394eb20d0c0beb8c0 |
||||||
|
timeCreated: 1681802462 |
Loading…
Reference in new issue