Adjust Bomb Color

This commit is contained in:
2025-12-16 20:34:13 +08:00
parent b97a9e73d8
commit d10d574cff
5 changed files with 61 additions and 49 deletions

View File

@@ -8,15 +8,26 @@ using Views;
namespace ScriptableObjects {
[CreateAssetMenu(fileName = "GameVariables", menuName = "Game Variables")]
public class GameVariables : ScriptableObject {
[Header("Prefabs")]
public GameObject bgTilePrefabs;
public GemTypeValues[] gemsPrefabs;
public float bombDelay = 0.1f;
public float bombSelfDelay = 0.05f;
public int bombRadius = 1;
public float dropHeight = 1;
public float gemSpeed = 0.1f;
public float scoreSpeed = 5;
[Header("Board Setup")]
public int width;
public int height;
[Header("Bomb")]
[Tooltip("How long before the gems around the bomb explode")]
public float bombDelay = 0.1f;
[Tooltip("How long before the bomb itself explodes")]
public float bombSelfDelay = 0.05f;
[Tooltip("How far the explosion reaches")]
public int bombRadius = 1;
[Header("Gem and Bomb Spawn")]
public float dropHeight = 1;
public float gemSpeed = 0.1f;
[Header("Score")]
public float scoreSpeed = 5;
}
}