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

#1 2008-05-06 06:56:57

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

where can I learn squeak? part II

okay, I downloaded thisy thing here:
http://ftp.squeak.org/current_stable/win/Squeak3.9-win32.zip, and then I extracted the zipped folder, now what do I do to create my own blocks?


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#2 2008-05-06 07:18:50

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: where can I learn squeak? part II

midnightleopard, you downloaded the current open-source version of "deep-queak". That's a good choice if you want to go through some of the newer tutorials from the Squeak site (and the free book "Squeak By Example").

If you want to play with the source code of Scratch you need to download the Scratch Source Code from:

   http://scratch.mit.edu/pages/source

Please read the instructions carefully, how to set it up (you need to download an additional file and copy the Scratch.exe from your Scratch folder into the folder containing the sources). You can find these instructions on that page under the subtitle "Scratch and Squeak".

To get started I suggest you make yourself aquainted with the Smalltalk syntax. There's an excellent tutorial by John Maloney which I already pointed out in your other thread:

   http://static.squeak.org/tutorials/BankAccount.html

Then you might want to start with my own little tutorial on how to create your own blocks:

   http://scratch.mit.edu/projects/Jens/75626

There's also another thread by ChrisCrouch explaining how you can produce a cool hack enabling Scratch to clone sprites:

   http://scratch.mit.edu/forums/viewtopic.php?id=5179

If at first you don't succeed don't give up. Smalltalk may be a lot easier than other programming languages but it also feels eerily alien to most conventional programmers, and many people find it pretty hard to get used to. Also, it might be wise to try something else (easier) in Smalltalk before setting out to modify a complex application like Scratch.


Jens Mönig

Offline

 

#3 2008-05-07 18:29:40

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: where can I learn squeak? part II

Question: Is it possible to make one of the custom blocks the ability to save?


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#4 2008-05-08 02:39:04

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: where can I learn squeak? part II

Yup: http://www.chirp.scratchr.org/blog/?p=16


Jens Mönig

Offline

 

#5 2008-06-24 11:33:13

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: where can I learn squeak? part II

Why am I not getting this news...?!?!?! Thanks a lot Jens, as always, for you invaluable (and well integrated) additions to Scratch. Just one question. Did you decide it was better no to add the "write to file/read from file" block to normal variable or this was only not to change the behaviour of Scratch variables?

Offline

 

#6 2008-07-07 13:44:14

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: where can I learn squeak? part II

Stefano, I specifically started experimenting with lists because I was after something which could be used in files. At first I thought about saving / retrieving variables, but I quickly got to the point where I felt this would be only half of what I would really want. With lists you can still read / write single variables, if you just put a single variable into them. That's also the reason why I changed my first four-block design and added more functions for concatenating and parsing lists/files.


Jens Mönig

Offline

 

Board footer