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

#1 2009-06-08 02:00:56

tcb
Scratcher
Registered: 2008-03-25
Posts: 100+

Questions about Scratch

I have been moving onto other programming languages and I have been wondering:

1.Are Variables and Lists dynamically created,or is there an Array which contains variable and values?


2.Is squeak object-oriented? can you,for example,create your own object and assign values and functions to it?



3.Are broadcasts just functions that you dynamically created?



4.How hard would it be to create a Flash compiler for Scratch like you have with Java? Would it even be possible?


Thanks,

Tcb  smile


http://goo.gl/eCQLihttp://goo.gl/sK54shttp://goo.gl/jC0dehttp://goo.gl/yhGLQhttp://goo.gl/wqvsQ

Offline

 

#2 2009-06-08 06:48:17

Mike_W
Scratcher
Registered: 2009-02-05
Posts: 100+

Re: Questions about Scratch

1 In scratch arrays are created when you code it, but can be modfied
2. Squeak is based on small talk - small talk is the definition of object orientated
3. Not sure
4. I understand they made a C compiler for flash - I would start with that and try to find code that ran a squeak image. How hard no idea.

Offline

 

#3 2009-06-08 12:09:59

tcb
Scratcher
Registered: 2008-03-25
Posts: 100+

Re: Questions about Scratch

Mike_W wrote:

1 In scratch arrays are created when you code it, but can be modfied
2. Squeak is based on small talk - small talk is the definition of object orientated
3. Not sure
4. I understand they made a C compiler for flash - I would start with that and try to find code that ran a squeak image. How hard no idea.

Do you know what objects there are? I mean, If objects are what they are in other languages,that would allow you to create a scratch variable with the value new Image()
or new Sprite() or something like that,and control sprites on our own from a variable!


http://goo.gl/eCQLihttp://goo.gl/sK54shttp://goo.gl/jC0dehttp://goo.gl/yhGLQhttp://goo.gl/wqvsQ

Offline

 

#4 2009-06-08 17:59:43

Mike_W
Scratcher
Registered: 2009-02-05
Posts: 100+

Re: Questions about Scratch

Scratch does not do that. I was unclear if you were talking about scratch - or other langauges

Offline

 

#5 2009-06-08 19:19:57

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Questions about Scratch

tcb wrote:

How hard would it be to create a Flash compiler for Scratch like you have with Java? Would it even be possible?

There is an alpha version of a Scratch>Flash player here. It doesn't seem like it has been worked on for a while, though.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#6 2009-06-08 19:24:14

fruit
Scratcher
Registered: 2009-04-24
Posts: 1000+

Re: Questions about Scratch

fullmoon wrote:

tcb wrote:

How hard would it be to create a Flash compiler for Scratch like you have with Java? Would it even be possible?

There is an alpha version of a Scratch>Flash player here. It doesn't seem like it has been worked on for a while, though.

it is actually broken now for some reason.


@savi3000 | hcsmp.com

Offline

 

#7 2009-06-13 01:05:12

tcb
Scratcher
Registered: 2008-03-25
Posts: 100+

Re: Questions about Scratch

fruit wrote:

fullmoon wrote:

tcb wrote:

How hard would it be to create a Flash compiler for Scratch like you have with Java? Would it even be possible?

There is an alpha version of a Scratch>Flash player here. It doesn't seem like it has been worked on for a while, though.

it is actually broken now for some reason.

It's a shame i didnt seee it while it was working...it seems it was for a bit!


http://goo.gl/eCQLihttp://goo.gl/sK54shttp://goo.gl/jC0dehttp://goo.gl/yhGLQhttp://goo.gl/wqvsQ

Offline

 

Board footer