Several people have mentioned recently that they would like to be able react to keystrokes in etoy scripts.
Attached is a simple project that illustrates one straightforward way that this could be done. Please have a look -- examine the "navigate" scripts of the two objects -- and see what you think.
If there is interest, we could add this to the etoy system. Comments please!
Cheers,
-- Scott
On Tue, 28 Jan 2003 16:34, Scott Wallace wrote:
Several people have mentioned recently that they would like to be able react to keystrokes in etoy scripts.
Attached is a simple project that illustrates one straightforward way that this could be done. Please have a look -- examine the "navigate" scripts of the two objects -- and see what you think.
If there is interest, we could add this to the etoy system. Comments please!
My 13 y.o. son says "Yes please!".
I say that the other desired enhancement would be to have a square root function added to the math operators in the tiles.
Yes I know that one can do a Newtonian iteration, but that's too time consuming for children during a school lesson.
Hi Scott and Jahanzeb,
Using Karl Ramberg's CS (as mentioned by Kim http://www.squeakland.org/listarchive/squeakland/msg00467.html), I have created a simple project too. You can control the "Star" using the arrows key in your keyboard :)I have attached both the project file and the change set file (sorry for that, but I am not allowed to upload to http://www.squeakland.org:8080/super. How can I get permission to do this?).First, file in Karl Ramberg's change set (you can get a File List to do that in the Tool category of the Object Catalog in the Supplies flap) and then load my project. Press the go button and have fun with the arrows key ;)I have uploaded the project to Squealand-BSS too; the name is "Keyboard Demo (Brazil)".Scott, what do think? Cheers,
Antonio Barros Graduate Student (and Squeak lover ;)) Federal University of Pernambuco Brazil
Several people have mentioned recently that they would like to be able react to keystrokes in etoy scripts.
Attached is a simple project that illustrates one straightforward way that this could be done. Please have a look -- examine the "navigate" scripts of the two objects -- and see what you think.
If there is interest, we could add this to the etoy system. Comments please!
Cheers,
-- Scott
Interesting timing. I'm currently working with a group of 5th graders. They're creating game projects using MicroWorlds and some were just asking about doing exactly what your demo project does. PLEASE...add this feature to etoy system! Thanks
On Monday, January 27, 2003, at 10:34 PM, Scott Wallace wrote:
<Keyboard Demo.007.pr>
squeakland@lists.squeakfoundation.org