From 3907950340a7208f0b5d7b9b575b3a5926252e9e Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Mon, 11 Apr 2022 21:30:37 +0300 Subject: [PATCH] oops i lowered the height --- assets/terrain/manifest.json | 8 +------- src/client/game.ts | 2 +- src/client/object/world/ClientWorldManifest.ts | 2 -- src/common/world/WorldManifest.ts | 1 - 4 files changed, 2 insertions(+), 11 deletions(-) diff --git a/assets/terrain/manifest.json b/assets/terrain/manifest.json index f437960..aaff68b 100644 --- a/assets/terrain/manifest.json +++ b/assets/terrain/manifest.json @@ -2,14 +2,8 @@ "worldWidth": 1, "worldHeight": 1, "worldChunkSize": 256, - "worldHeightScale": 16, + "worldHeightScale": 32, "textureBombingNoise": "simplex-noise.png", - "textureSplattingSources": [ - "grass-flowers.png", - "grassy.png", - "mud.png", - "path.png" - ], "regionMap": [ { "x": 0, diff --git a/src/client/game.ts b/src/client/game.ts index 6554bcf..a7405af 100644 --- a/src/client/game.ts +++ b/src/client/game.ts @@ -50,7 +50,7 @@ export class Game { // experimental this.videoTest.initialize(); - this.videoTest.mesh.position.set(0, 14, 20); + this.videoTest.mesh.position.set(0, 22, 20); this.videoTest.mesh.rotateY(Math.PI / 2); this.renderer.scene.add(this.videoTest.mesh); this.party = (localStorage.getItem('party')?.split('|') || []).filter( diff --git a/src/client/object/world/ClientWorldManifest.ts b/src/client/object/world/ClientWorldManifest.ts index f29d4a2..def5489 100644 --- a/src/client/object/world/ClientWorldManifest.ts +++ b/src/client/object/world/ClientWorldManifest.ts @@ -10,7 +10,6 @@ export class ClientWorldManifest implements WorldManifest { public worldChunkSize: number, public worldHeightScale: number, public textureBombingNoise: string, - public textureSplattingSources: string[], public regionMap: WorldManifestRegion[], ) {} @@ -23,7 +22,6 @@ export class ClientWorldManifest implements WorldManifest { json.worldChunkSize, json.worldHeightScale, json.textureBombingNoise, - json.textureSplattingSources, json.regionMap, ); diff --git a/src/common/world/WorldManifest.ts b/src/common/world/WorldManifest.ts index c5738bd..fb074d1 100644 --- a/src/common/world/WorldManifest.ts +++ b/src/common/world/WorldManifest.ts @@ -10,6 +10,5 @@ export interface WorldManifest { worldChunkSize: number; worldHeightScale: number; textureBombingNoise: string; - textureSplattingSources: string[]; regionMap: WorldManifestRegion[]; }