Widget-Full Qwerty Keyboard

849
0
Published 2008-05-24
Whew! This was quite a task! The underlying math and principles of any one-sprite widget are simple, but this one requires 102 separate inputs to be programmed. Luckily, I blindly stumbled upon a formula that helps shorten the script. It consists of two parts: The keyboard, which reads the mouse position in relation to it (it can be draggable, and I'm working on resize), and puts the value into the variable "inkey$". Then, it broadcasts it to the "reader.keyboard0" sprite, which switches to the appropriate costume. This would be excellent for a text entry program, but I'm too tired to come up with one now. I hope that someone puts this to good use, because I'm about to collapse!