P(3CUBES)Pyon manual · Kirakira Hop · Cubes (cubes.html)P(3CUBES)

NAME

P — a point of the lattice, on the screen

SYNOPSIS

P(x, y, z)

DESCRIPTION

The oblique view of the game: a cube is 56 units wide; one row forward moves 20 to the right and 32 up; one cube up moves 26 up. So the top, the front and the right face of every cube can be seen.

PARAMETERS

x: across, from the left; y: up, in cubes; z: forward, towards the meadow.

RETURN VALUE

[sx, sy] in the scene's coordinates.

SEE ALSO

draw(3cubes), placeHero(3cubes)

SOURCE

src/cubes.html, line 146

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0