NAME
ACT — what each trick key does on the stage
SYNOPSIS
await ACT.jump(c) ACT.run(c) ACT.flip(c) ACT.nap(c) ACT.nya(c) ACT.note(c) ACT.heart(c) ACT.surprise(c) ACT.wait(c)
DESCRIPTION
One asynchronous action for each trick: jump (ぴょん!, a hop and a squash on landing); run (たたた, a little way and back, turning round); flip (わぁ!, a somersault, then dizzy @_@); nap (z z z, breathing slowly); nya (にゃ!, a squeeze); note (♪ ♫, swaying); heart (❤, two beats); surprise (!, a small start); wait (…, one second). Each makes its sound from VOICE, speaks in its bubble and moves by anim(), so that ■ can stop it.
PARAMETERS
c: the creature that does it, as made by actor().
RETURN VALUE
A promise that settles when the action ends.
INNER HELPERS
Defined inside it, and documented here: jump, run, flip, nap, note, heart, surprise, wait.
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
