This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-06-04 23:10:09

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Tutorials 'n' Stuff

http://i46.tinypic.com/2lc77ue.png
NOTE: If you are planning to learn plain Squeak, this is a documentation for SqueakV2 with all of the added methods by Scratch.
http://i45.tinypic.com/29z7sb4.png
First, download the Scratch Source Code here.
Open the source code and shift-click file, and then click "turn fill-screen off..."
Now click in the empty space and press "open..." and then "workspace".
We will work on successfully opening the transcript remotely.
Copy this

Code:

Transcript open

and then paste [alt+v] it in the workspace.
Now highlight it and then right click and press "do it".
If it worked successfully, you should have an orange box open that says "Transcript" at the very top.
If not, redo it until it works, but make sure you didn't do anything wront. Not lets find out some other methods we can use with the Transcript. Go to Collections-Streams>TranscriptStream[instance]> -- all --.
Now we have lots of goodies. The ones we will be focusing on:
clear
open
opelLabel:
show:
Now, usually will will call these methods by their class (TranscriptStream), but for short you can type "Transcript" instead.
So, think of it like blocks in scratch:

if <not<(method that is being called's class) = (method class)>>
	set [input v] to (join (method class) (method))
else
	set [input v] to (method)
end
So these methods can be called by:
Transcript clear
Transcript open
Transcript openLabel:
Transcript show:
Try them out!
Now to lesson 2.
http://i45.tinypic.com/29z7sb4.png
Yeah, lesson 2 is coming soon  tongue
Anyone is free to write a documentary.

Last edited by chanmanpartyman (2012-06-04 23:22:27)

Offline

 

Board footer