NAME
placeHero — put the creature at a point of the lattice
SYNOPSIS
placeHero(pos, pose, lift = 0, fade = 1)
DESCRIPTION
Moves the creature into the group of the stack nearest to it, so that the cubes in front hide it rightly, and draws it in the given pose, lifted for a hop.
PARAMETERS
pos: [x, y, z]; fractions while it hops. pose: a pose of art/poses.svg without the creature's name, such as "walk", "jump", "surprise" or "heart". lift: how many cubes above the point; 0 by default. fade: its opacity; 1 by default.
RETURN VALUE
Nothing.
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
