last edited Jul 09 2017 by Richmond Mathewson | Created by Richmond Mathewson | Other contributors:
A series of LiveCode stacks for teaching pupils about keystroke capture.
What you get:
8 PNG images of a blue beetle at different angles.
“BEETLES”: a stack leveraging the ARROW Keys on the keyboard to exchange images inside a graphic frame. [ the code for this is in the cardScript ]
“BEETLES 8”: a stack using the 1,2,3,4,6,7,8 & 9 keys of the number pad on the keyboard to exchange images
inside a graphic frame. [ the code for this is in the cardScript ] This stack uses rawKeyDown / rawKeyUp
“BEETLES move”: a stack leveraging the ARROW Keys on the keyboard to exchange images inside a graphic frame, and move it. [ the code for this is in the cardScript ]
Ideally pupils should be given the first stack (“BEETLES”) with the code for the “right”, “left” and “down” keys removed so that they can complete that.
Then pupils should be given “BEETLES 8” with all but the code for number pad keys 8 and 9 removed.
Then the pupils can play around with “BEETLES move” and use what they learn from that to animate the graphic in “BEETLES 8”.
An active bunch of kids should get through this lot in about 90 minutes: my starters did in their 9th class.
By downloading this resource you agree to the CAS resource guidelines and use it appropriately.
Note: Unless otherwise specified, this resource and all associated files are published here under the Creative Commons Attribution-Share Alike 3.0 Licence. If you wish to use a different license, please state this here.