Skip to content

0.6.0

Choose a tag to compare

@youtiger youtiger released this 09 Oct 17:20
· 17 commits to main since this release
  • In a world of your own. The crew don't need a page any more. In a three.js scene they walk lanes, strips of floor you lay out in metres, and new Roam(scene, { lanes, links, roster }) brings them on near the camera where it isn't looking, lets each stay a while, and sends them off again. A walker who goes off a lane's end by a link (a doorway, say) comes on at the other end of it once no one is looking there. roam.pick(ray), poke, hover and dress are there for pointing at them. With castShadows, your lights cast them real shadows.
  • Frame.flat. Under it, a frame laid flat: nothing shrinks going back, the floor is depth px deep, the crew stand that far back along -z, nothing is clipped at the edges and the shadow lies on the floor. Lane is one, placed and scaled into the world, for a stage of your own.
  • Looking on from somewhere. Env.pointer.z says how far in front of the frame the pointer is, so they look at someone in a world where they really are.
  • setOutlineViewport(width, height) keeps their outlines the same width on a canvas of your own; shadowCard turns off the soft shadow card.
  • VERSION and MODELS were a release behind; they're right again.
  • docs/in-a-world.md has the rest. Page sites are unchanged.