Browse Source

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

kb/add-usage-guide
Trent Larson 2 years ago
parent
commit
f7a149444a
  1. 9
      project.yaml
  2. 7
      src/components/World/World.js

9
project.yaml

@ -5,6 +5,10 @@
- replace user-affecting console.logs with error messages (eg. catches) - replace user-affecting console.logs with error messages (eg. catches)
- stats v1 :
- 01 show numeric stats
- 01 link to world for specific stats
- contacts v1 : - contacts v1 :
- .5 switch to prod server - .5 switch to prod server
- .5 Add page to show seed. - .5 Add page to show seed.
@ -37,6 +41,11 @@
- Release Minimum Viable Product : - Release Minimum Viable Product :
- Turn off stats-world or ensure it's usable (eg. cannot zoom out too far and lose world). - Turn off stats-world or ensure it's usable (eg. cannot zoom out too far and lose world).
- Stats :
- 01 point out user's location on the world
- 01 present a credential selected from the stats
- 04 show gives spreading to other places
- Connect with phone contacts - Connect with phone contacts
- Multiple identities - Multiple identities

7
src/components/World/World.js

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

Loading…
Cancel
Save