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

#1 2010-11-07 12:59:58

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Thinking about making a mod...

Before you say anything, read this!

Okay, so I'm thinking about making a mod. It's definitely not going to be one of those "i'll add a few blox and ppl will liek it" mods. I'm going to (try) completely change how Scratch is used. The problem is, I'm really new to Squeak and I need some help with a few things.

1. How does Squeak turn visual blocks into something it can process?
2. Is there a place where I can find all the primitive classes and methods?
3. When you have something like this: specs do: [:s | s = #- ifTrue: [menu addLine] ifFalse: [menu add: s asString action: s asString asSymbol]. (Taken directly from nXIII's Squeak tutorial), what exactly does the s variable do? I'm assuming that it counts through the array, but I don't see any Smalltalk equivalent of '(item (s) of [])' or 'change [s] by [1]', so, what does that?

I'm going to try to make this with as little help as possible, but, like I said, I'm really new to Squeak.

Thanks in advance!  big_smile

Last edited by ScratchReallyROCKS (2010-11-12 15:53:07)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#2 2010-11-07 13:10:23

stickdude123
Scratcher
Registered: 2010-05-31
Posts: 100+

Re: Thinking about making a mod...

well classes and instances are really diferent some of the choises have no choises in them in class section im new to squeak too but i know a few things

heres what you need to know about squeak

1:class and instances are not alike

2:some blocks you insert might wreck the category placed in

3:you have to get EVERY single word in right or your mod will turn into a bust

4:some things are most important for the mod to work if anything really important is changed the mod wont work and all you will see when you insert a block into the editor is "message not understood"window.

hope my advice works


http://internetometer.com/imagesmall/34259.png http://www.mediafire.com/convkey/418e/lkb7wmv2n2k73rz5g.jpg         http://blocks.scratchr.org/API.php?user=stickdude123&action=onlineStatus&type=square

Offline

 

#3 2010-11-07 13:19:58

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

stickdude123 wrote:

well classes and instances are really diferent some of the choises have no choises in them in class section im new to squeak too but i know a few things

heres what you need to know about squeak

1:class and instances are not alike

2:some blocks you insert might wreck the category placed in

3:you have to get EVERY single word in right or your mod will turn into a bust

4:some things are most important for the mod to work if anything really important is changed the mod wont work and all you will see when you insert a block into the editor is "message not understood"window.

hope my advice works

Thanks, but I already knew this.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#4 2010-11-08 16:16:58

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

bump


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#5 2010-11-10 18:20:08

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

bump #2


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#6 2010-11-10 22:06:29

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Thinking about making a mod...

bump #3 for ScratchReallyROCKS!  big_smile


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#7 2010-11-10 22:12:59

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

bbbeb wrote:

bump #3 for ScratchReallyROCKS!  big_smile

big_smile


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#8 2010-11-11 11:14:23

12three
Scratcher
Registered: 2008-06-12
Posts: 1000+

Re: Thinking about making a mod...

I think you'd be good at it.  smile

Offline

 

#9 2010-11-11 11:35:54

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Thinking about making a mod...

no one's been answering his question...

i cant because im in a hurry. but i would. sorry  sad

Offline

 

#10 2010-11-11 16:07:56

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

LS97 wrote:

no one's been answering his question...

i cant because im in a hurry. but i would. sorry  sad

I have absolutely no deadline for this, but I would like to get some answers.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#11 2010-11-11 16:33:41

XplodingEggs
Scratcher
Registered: 2009-12-09
Posts: 100+

Re: Thinking about making a mod...

Does this have anything to do with timecraft?


http://i54.tinypic.com/102kqr7.jpg

Offline

 

#12 2010-11-11 16:49:32

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

XplodingEggs wrote:

Does this have anything to do with timecraft?

Not at all. In the long run....maybe, but it's not intended to be related at all.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#13 2010-11-11 19:53:40

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Thinking about making a mod...

Just how much (or little) do you know? Are you familiar with say, adding blockspecs and methods in the Squeak browser in order to add new blocks?


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#14 2010-11-11 20:07:50

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

Harakou wrote:

Just how much (or little) do you know? Are you familiar with say, adding blockspecs and methods in the Squeak browser in order to add new blocks?

I've known how to add blocks for almost a year. (I thought you already knew that.  hmm ) I just want to know some of the more advanced things, not really how to do them, (I know the syntax pretty well) but mor like how things work, such as that last question.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#15 2010-11-12 10:08:42

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Thinking about making a mod...

If you program in Java, class methods are like the static ones and instance methods are the others. In specs do: [:s | s = #- ifTrue: [menu addLine] ifFalse: [menu add: s asString action: s asString asSymbol]., specs is an array of values and the command do: loops through them, storing them one-by-one into s to be processed. Squeak doesn't actually turn the visual blocks into code, but rather each block has a piece of code associated with it that is stored in an instance variable in the block. As the script runs, Squeak asks each block in turn to provide its piece of code and runs it. There's a lot more to it than that but that is the basics for blocks. Most of the primitive classes and methods are in the Kernel-Objects and Morphic-Kernel sections in the browser.


/* No comment */

Offline

 

#16 2010-11-12 15:54:18

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

TheSuccessor wrote:

Most of the primitive classes and methods are in the Kernel-Objects and Morphic-Kernel sections in the browser.

THANK YOU!! This is what I've been looking for!


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#17 2010-11-12 15:59:24

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Thinking about making a mod...

So, can we consider this topic closeable?  tongue

Offline

 

#18 2010-11-12 16:46:09

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

LS97 wrote:

So, can we consider this topic closeable?  tongue

Not even close!


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#19 2010-11-13 18:04:11

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

Bump


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#20 2010-11-16 16:00:35

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

bump


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#21 2010-11-17 11:39:20

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Thinking about making a mod...

What do you want to know? This keeps getting bumped for no apparent reason.


/* No comment */

Offline

 

#22 2010-11-17 15:33:15

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Thinking about making a mod...

TheSuccessor wrote:

What do you want to know? This keeps getting bumped for no apparent reason.

I just need to know the basics. I'm still pretty clueless.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#23 2010-11-25 04:08:45

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Thinking about making a mod...

Primitives = Er, um , Kernel?  tongue

Processing = ScratchScriptFrameMorph I believe

3. Uhhh....


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#24 2010-11-25 10:56:34

TornFusion
Scratcher
Registered: 2010-09-03
Posts: 1000+

Re: Thinking about making a mod...

Its hard....

Offline

 

#25 2010-11-29 11:13:15

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Thinking about making a mod...

bbbeb wrote:

Primitives = Er, um , Kernel?  tongue

Processing = ScratchScriptFrameMorph I believe

3. Uhhh....

Processing is actually in ScratchProcess, found in Scratch-Execution Engine


/* No comment */

Offline

 

Board footer