oops i lowered the height

This commit is contained in:
Evert Prants 2022-04-11 21:30:37 +03:00
parent 3948a2f386
commit 3907950340
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
4 changed files with 2 additions and 11 deletions

View File

@ -2,14 +2,8 @@
"worldWidth": 1, "worldWidth": 1,
"worldHeight": 1, "worldHeight": 1,
"worldChunkSize": 256, "worldChunkSize": 256,
"worldHeightScale": 16, "worldHeightScale": 32,
"textureBombingNoise": "simplex-noise.png", "textureBombingNoise": "simplex-noise.png",
"textureSplattingSources": [
"grass-flowers.png",
"grassy.png",
"mud.png",
"path.png"
],
"regionMap": [ "regionMap": [
{ {
"x": 0, "x": 0,

View File

@ -50,7 +50,7 @@ export class Game {
// experimental // experimental
this.videoTest.initialize(); 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.videoTest.mesh.rotateY(Math.PI / 2);
this.renderer.scene.add(this.videoTest.mesh); this.renderer.scene.add(this.videoTest.mesh);
this.party = (localStorage.getItem('party')?.split('|') || []).filter( this.party = (localStorage.getItem('party')?.split('|') || []).filter(

View File

@ -10,7 +10,6 @@ export class ClientWorldManifest implements WorldManifest {
public worldChunkSize: number, public worldChunkSize: number,
public worldHeightScale: number, public worldHeightScale: number,
public textureBombingNoise: string, public textureBombingNoise: string,
public textureSplattingSources: string[],
public regionMap: WorldManifestRegion[], public regionMap: WorldManifestRegion[],
) {} ) {}
@ -23,7 +22,6 @@ export class ClientWorldManifest implements WorldManifest {
json.worldChunkSize, json.worldChunkSize,
json.worldHeightScale, json.worldHeightScale,
json.textureBombingNoise, json.textureBombingNoise,
json.textureSplattingSources,
json.regionMap, json.regionMap,
); );

View File

@ -10,6 +10,5 @@ export interface WorldManifest {
worldChunkSize: number; worldChunkSize: number;
worldHeightScale: number; worldHeightScale: number;
textureBombingNoise: string; textureBombingNoise: string;
textureSplattingSources: string[];
regionMap: WorldManifestRegion[]; regionMap: WorldManifestRegion[];
} }