Welcome to the Creatures Wiki! Log in and join the community.

Keycodes

From Creatures Wiki
Revision as of 23:42, 8 May 2020 by Ligfx (talk | contribs) (Created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In the Creatures games, keycodes are integers used in scripts that represent which keyboard keys are pressed.

For example, in the Creatures Evolution Engine, event numbers 73 (Raw Key Down) and 74 (Raw Key Up) are passed a keycode in _P1_.

Keycodes from 0–31 map to Windows Virtual-Key Codes. Keycodes from 32–127 map to typical ASCII characters, and keycodes from 128–255 map to Windows-1252 characters for non-English languages.