AW: Car and Steering wheel demo and Squeak-DEMOS

Torsten.Bergmann at phaidros.com Torsten.Bergmann at phaidros.com
Thu Aug 26 15:54:09 UTC 1999


>I've placed a recorded demo of creating a car and string wheel and then
>hooking them up at:
>http://www.advantive.com/squeak/car.tape
>
>Instructions:
>
>1. Get a fully updated standard Squeak 2.5 image
>2. Start it (don't resize anything).
>3. Create and Enter a Morphic project
>4. Open an EventRecorderMorph and position it precisely in the
>    top left corner of the screen (aligning the pixels with the top
left)
>5. Select "readTape" and enter your downloaded copy of the above file

If I use the Windows version the recorder does not read the file (I
placed it directly
in the squeak directory). So I commented out "(FileStream isAFileNamed:
fileName) ifFalse: [^ nil]."
in the EventRecorder>>readTape: method. Must be a bug or a wrong
location, because 
FileStream isFileNamed: ... always returns false, so the method returns
nil. 
After commenting the line out it worked fine.

>6. Select "play" and watch
YEAHHH... COOOOOL 

After editing the created script textually (selecting "edit this cript
textually" on the
scripts name) I saw what Scripting really is about: visually composing
methods
with players. Thank you Stephen and Bob for enlightening me.

I think morpic tapes are a good way to explain morphic stuff. We should
create more tape 
files and put them on a swiki page! Squeak Central can create a
Morphic-PWM-9 with
Scamper showing this page and if a beginner clicks on one of the listed
tapes scamper can
open the recorder to play the demo. So we can create Tape-DemoWithMe's
on the swiki page
and so it's much easier to learn Squeak.
What do you think about that ?

Bye
Torsten





More information about the Squeak-dev mailing list