tweak timing & spacing of stats-world, and log relevant tasks

This commit is contained in:
2023-05-17 21:13:01 -06:00
parent 58e962a3bd
commit f7a149444a
2 changed files with 13 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ import { Resizer } from "./systems/Resizer.js";
import { createControls } from "./systems/controls.js";
import { createRenderer } from "./systems/renderer.js";
const ANIMATION_DURATION_SECS = 20;
const ANIMATION_DURATION_SECS = 10;
const BASE32 = "0123456789ABCDEFGHJKMNPQRSTVWXYZ";
const COLOR1 = "#dddddd";
const COLOR2 = "#0055aa";
@@ -61,8 +61,9 @@ class World {
// Terrain Instance
const terrain = createTerrain({
color: COLOR1,
height: PLATFORM_SIZE + PLATFORM_BORDER,
width: PLATFORM_SIZE + PLATFORM_BORDER + PLATFORM_EDGE_FOR_UNKNOWNS,
height: PLATFORM_SIZE + PLATFORM_BORDER * 2,
width:
PLATFORM_SIZE + PLATFORM_BORDER * 2 + PLATFORM_EDGE_FOR_UNKNOWNS * 2,
});
this.loop.updatables.push(controls);