feat: Implement the new Stop N Go game mode with dedicated managers, models, and UI.
This commit is contained in:
@@ -10,17 +10,17 @@ const TILE_STAR = 9
|
||||
const TILE_COIN = 10
|
||||
|
||||
# Special tiles (Holo)
|
||||
const TILE_BURN = 11
|
||||
const TILE_SPAWN = 12
|
||||
const TILE_FREEZE = 13
|
||||
const TILE_BLOCK = 14
|
||||
const TILE_SPEED = 11
|
||||
const TILE_FREEZE = 12
|
||||
const TILE_WALL = 13
|
||||
const TILE_INVISIBLE = 14
|
||||
|
||||
const STANDARD_TILES = [
|
||||
TILE_HEART, TILE_DIAMOND, TILE_STAR, TILE_COIN
|
||||
]
|
||||
|
||||
const SPECIAL_TILES = [
|
||||
TILE_BURN, TILE_SPAWN, TILE_FREEZE, TILE_BLOCK
|
||||
TILE_SPEED, TILE_FREEZE, TILE_WALL, TILE_INVISIBLE
|
||||
]
|
||||
|
||||
# Weights (higher = more common)
|
||||
@@ -50,10 +50,10 @@ static func get_tile_weights() -> Dictionary:
|
||||
weights[tile] = STANDARD_WEIGHT
|
||||
|
||||
# Special tiles
|
||||
var is_sng = LobbyManager.game_mode == "Stop n Go"
|
||||
var is_restricted = LobbyManager.game_mode == "Stop n Go" or LobbyManager.game_mode == "Tekton Doors"
|
||||
for tile in SPECIAL_TILES:
|
||||
if is_sng and tile == TILE_FREEZE:
|
||||
continue # Hide Wall Block only in Stop n Go
|
||||
if is_restricted and tile == TILE_WALL:
|
||||
continue # Hide Wall Block only in restricted modes
|
||||
weights[tile] = special_weight
|
||||
|
||||
return weights
|
||||
|
||||
Reference in New Issue
Block a user