Add grass biome and replace old grass with new plains

pull/1/head
Flashfyre 2023-04-21 20:29:22 -04:00
parent 77999671b2
commit 0746aa5017
7 changed files with 192 additions and 176 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
public/audio/bgm/town.mp3 Normal file

Binary file not shown.

View File

@ -99,6 +99,8 @@ export class Arena {
getBiomeKey(): string { getBiomeKey(): string {
switch (this.biomeType) { switch (this.biomeType) {
case Biome.TOWN:
return 'grass';
case Biome.TALL_GRASS: case Biome.TALL_GRASS:
return 'grass'; return 'grass';
case Biome.CITY: case Biome.CITY:
@ -127,6 +129,7 @@ export class Arena {
getTypeForBiome() { getTypeForBiome() {
switch (this.biomeType) { switch (this.biomeType) {
case Biome.TOWN:
case Biome.PLAINS: case Biome.PLAINS:
return Type.NORMAL; return Type.NORMAL;
case Biome.GRASS: case Biome.GRASS:
@ -199,6 +202,7 @@ export class Arena {
isDaytime(): boolean { isDaytime(): boolean {
switch (this.biomeType) { switch (this.biomeType) {
case Biome.TOWN:
case Biome.PLAINS: case Biome.PLAINS:
case Biome.GRASS: case Biome.GRASS:
case Biome.SEA: case Biome.SEA:

View File

@ -24,7 +24,7 @@ const enableAuto = true;
const quickStart = false; const quickStart = false;
export const startingLevel = 5; export const startingLevel = 5;
export const startingWave = 1; export const startingWave = 1;
export const startingBiome = Biome.PLAINS; export const startingBiome = Biome.TOWN;
export enum Button { export enum Button {
UP, UP,

File diff suppressed because it is too large Load Diff