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

#151 2010-08-13 08:39:10

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Blocktalk

LS97 wrote:

why bump, jwosty?

Why not bump?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#152 2010-08-13 09:07:58

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

Re: Blocktalk

well what's the point of bumping this old thread? there's no  questions you need answered.

*BUMP* :p

Offline

 

#153 2010-08-13 10:43:52

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Blocktalk

LS97 wrote:

well what's the point of bumping this old thread? there's no  questions you need answered.

*BUMP* :p

Ooopps... I guess I'm just used to bumping threads in the missalanious and TBG Forumas...  tongue

PS: I won't be working on Blocktalk for a while because I'll be out  of town until Sunday night.


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#154 2010-08-13 17:20:49

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Blocktalk

Jwosty wrote:

LS97 wrote:

well what's the point of bumping this old thread? there's no  questions you need answered.

*BUMP* :p

Ooopps... I guess I'm just used to bumping threads in the missalanious and TBG Forumas...  tongue

PS: I won't be working on Blocktalk for a while because I'll be out  of town until Sunday night.

Thats just 2 days, not a while.  tongue

@LS97 Well... I geuss you want pople to know about it and give there feedback on the idea.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#155 2010-08-17 10:30:38

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Blocktalk

Does anyone know how to change the world menu from

Code:

open >> Scratch

to

Code:

open >> Blocktalk

Well, I think I know how to do it, I just can't find the method for the world menu...  hmm

Thanks!  smile


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#156 2010-08-17 10:58:10

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Blocktalk

It's in HandMorph somewhere


nXIII

Offline

 

#157 2010-08-17 15:12:53

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Blocktalk

nXIII wrote:

It's in HandMorph somewhere

Thanks! It worked.  lol


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#158 2010-08-19 18:00:03

JwTest
New Scratcher
Registered: 2010-08-11
Posts: 19

Re: Blocktalk

Great news, everybody!!

I finally got the seperate scripting panes working! They just lead to different scripting areas for the same sprite but they work! Now, I have to build the class and instance coding frame. YAY!!  lol   lol


big_smile   big_smile   big_smile  Ya gotta LOVE the smiles.  big_smile   big_smile   big_smile

Offline

 

#159 2010-08-19 18:13:09

JwTest
New Scratcher
Registered: 2010-08-11
Posts: 19

Re: Blocktalk

Oh no!  yikes  Could someone tell me how to express 'or' in Smalltalk?  hmm


big_smile   big_smile   big_smile  Ya gotta LOVE the smiles.  big_smile   big_smile   big_smile

Offline

 

#160 2010-08-20 08:59:40

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Blocktalk

Code:

else

I think?


http://i.imgur.com/YBeXc.png

Offline

 

#161 2010-08-20 09:32:24

JwTest
New Scratcher
Registered: 2010-08-11
Posts: 19

Re: Blocktalk

pwiter wrote:

Code:

else

I think?

No, that's not what I mean, and an if statement might look like this anyway:

Code:

(score = 100) ifTrue: [self forward: 10.]
                           ifFalse: [self forward: 1.].

And I mean like the Scratch boolean Block "< <> or <> >"


big_smile   big_smile   big_smile  Ya gotta LOVE the smiles.  big_smile   big_smile   big_smile

Offline

 

#162 2010-08-20 09:50:30

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Blocktalk

JwTest wrote:

pwiter wrote:

Code:

else

I think?

No, that's not what I mean, and an if statement might look like this anyway:

Code:

(score = 100) ifTrue: [self forward: 10.]
                           ifFalse: [self forward: 1.].

And I mean like the Scratch boolean Block "< <> or <> >"

That i don't know


http://i.imgur.com/YBeXc.png

Offline

 

#163 2010-08-20 09:55:24

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Blocktalk

pwiter wrote:

JwTest wrote:

And I mean like the Scratch boolean Block "< <> or <> >"

That i don't know

Nevermind! I figured it out:

Code:

((score = 10) or: [score = -10]) ifTrue: [self forward: 10]
                                 ifFalse: [self forward: -10].

http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#164 2010-08-20 14:46:17

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Blocktalk

Or you can use the infix "|" operator
(like

Code:

something | something

)

The advantage of the #or: and #and: messages is that you can make one condition only be evaluated if another is true, so if I wasn't sure if something score exists, I could write:

Code:

((something respondsTo: #score) and: [something score > 250])

Last edited by nXIII (2010-08-20 14:48:04)


nXIII

Offline

 

#165 2010-08-20 15:47:40

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Blocktalk

nXIII wrote:

Or you can use the infix "|" operator
(like

Code:

something | something

)

The advantage of the #or: and #and: messages is that you can make one condition only be evaluated if another is true, so if I wasn't sure if something score exists, I could write:

Code:

((something respondsTo: #score) and: [something score > 250])

Cool! That might come in handy sometime.  lol


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#166 2010-08-21 12:17:55

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Blocktalk

I'm really looking forward to this mod.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#167 2010-08-21 12:23:09

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Blocktalk

markyparky56 wrote:

I'm really looking forward to this mod.

Eh, don't get to hopeful. It'll take a while...  tongue


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#168 2010-08-24 21:05:22

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Blocktalk

Hmm... I've seem to run into another problem!  yikes

The Instance Scripts pane won't evaluate the blocks in it. I built the pane by adding another instance variable to the ScriptableScratchMorph called "instanceBlocksBin", and in initialize I added

Code:

self instanceBlocksBin := ScratchScriptsMorph new.

and changed the method in:

Code:

Scratch-UI-Panes >> ScratchScriptEditorMorph >> accessing >> category:

from

Code:

currentCategory: aString

    | xOffset |
    currentCategory _ aString.
    self target ifNil: [^ self].
    xOffset _ 0.

    World activeHand newKeyboardFocus: nil.

    currentCategory = 'Scripts' ifTrue: [
        pageViewerMorph contents: self target blocksBin].
    currentCategory = 'Costumes' ifTrue: [
        pageViewerMorph contents: (self target costumesPage: xOffset)].
    currentCategory = 'Sounds' ifTrue: [
        pageViewerMorph contents: (self target soundsPage: xOffset)].

    pageViewerMorph contents color: ScratchFrameMorph scriptsPaneColor.

    self world ifNotNil: [self world startSteppingSubmorphsOf: pageViewerMorph contents].

to

Code:

currentCategory: aString

    | xOffset |
    currentCategory _ aString.
    self target ifNil: [^ self].
    xOffset _ 0.

    World activeHand newKeyboardFocus: nil.

    currentCategory = 'Class Scripts' ifTrue: [
        pageViewerMorph contents: self target blocksBin].
    currentCategory = 'Instance Scripts' ifTrue: [
        pageViewerMorph contents: self target instanceBlocksBin].
    currentCategory = 'Costumes' ifTrue: [
        pageViewerMorph contents: (self target costumesPage: xOffset)].
    currentCategory = 'Sounds' ifTrue: [
        pageViewerMorph contents: (self target soundsPage: xOffset)].

    pageViewerMorph contents color: ScratchFrameMorph scriptsPaneColor.

    self world ifNotNil: [self world startSteppingSubmorphsOf: pageViewerMorph contents].

Anyone have any idea to fix this?  hmm  Help would be appriciated!  smile


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#169 2010-08-25 12:43:32

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

Re: Blocktalk

Jwosty wrote:

ScratchReallyROCKS wrote:

Cool! This is bound to be different than all the other mods. Can I be a beta tester? I'm not exactly the best programmer.

Sure! Do you know a good programmer that could help me?  hmm

Curious, how do you intend to design this so that users not yet familiar with Squeak (like myself) can learn Squeak? Are class/instance scripts the only way, or will there be more?

I think I will have just 2 categories, classes and instances for scripts. See, Smalltalk (you call it Squeak) is like the real world. For example, there are 'classes' witch is like all the computers that exist now. Instances are like an individual car, like that red one on Main street.  tongue

I will have a pdf file that comes with Scratchtalk and it will help you understand how to use the program.  smile

can i have the link to download?


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

Offline

 

#170 2010-08-25 18:10:33

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Blocktalk

stickdude123 wrote:

can i have the link to download?

Sorry, but I haven't written it it because Blocktalk is nowhere near done.  sad  But I'll finish it eventually.  smile


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#171 2010-08-26 12:59:26

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

Re: Blocktalk

cool ill send u friend request


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

Offline

 

#172 2010-08-26 16:33:01

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: Blocktalk

If it's not too late, I think you should base this of of BYOB3. It's basically already  object-oriented. The only thing it's missing is making the sprites object-oriented.

Last edited by rubiks_cube_guy238 (2010-08-26 16:33:51)


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#173 2010-08-26 17:11:30

Invader_Reese
Scratcher
Registered: 2010-08-01
Posts: 6

Re: Blocktalk

Will you notify me on my reese-o acc when its done!

Offline

 

#174 2010-08-26 17:56:14

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

Re: Blocktalk

rubiks_cube_guy238 wrote:

If it's not too late, I think you should base this of of BYOB3. It's basically already  object-oriented. The only thing it's missing is making the sprites object-oriented.

i already have byob


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

Offline

 

#175 2010-08-26 18:05:12

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Blocktalk

Sounds cool!


Hai.

Offline

 

Board footer