Cambiar tiempo y cantidad de enemigos
This commit is contained in:
parent
e75fe64b96
commit
e542f1502b
1 changed files with 2 additions and 2 deletions
|
@ -2,12 +2,12 @@ import { Juego } from './main'
|
|||
import { Sprite } from './sprite'
|
||||
import { Box, boxCollision, drawText, randomFromArray } from './utils'
|
||||
|
||||
const ENEMIES_NUM = 20
|
||||
const ENEMIES_NUM = 12
|
||||
const SEED_COOLDOWN = 300
|
||||
const MAP_MIN = 1000
|
||||
const MAP_MAX = 5000
|
||||
const MAP_SIZE = MAP_MAX - MAP_MIN
|
||||
const TREES_TO_WIN = 70
|
||||
const TREES_TO_WIN = 30
|
||||
const TIME = 2 * 60 * 1000
|
||||
|
||||
export type State = {
|
||||
|
|
Loading…
Reference in a new issue