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

#1 2011-10-01 19:47:18

1675
Scratcher
Registered: 2009-06-17
Posts: 21

Speed, Coding!

there needs to be a way to remove the colors of blocks and graphics s that when you code big scripts it will be much faster

and since this is probably java it should be able to be covered to code or partial code for more advanced users

Offline

 

#2 2011-10-01 20:05:49

1675
Scratcher
Registered: 2009-06-17
Posts: 21

Re: Speed, Coding!

the coding will speed it up more cos its just text

Offline

 

#3 2011-10-02 03:12:55

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Speed, Coding!

coding would be good, as then you could copy and paste blocks, for example:

Code:

sprite1.

-when world.start-
[forever
     [if <touching [mouse pointer]>[
          [switch to costume [costume2]]
     ]
     [else[
          [switch to costume [costume1]]
     ]]

That makes a button hover script. The -when world.start- is used for the starting block. If you wanted to make abroadcast, you would: [broadcast [hello world]] and for recieve: -when hello world-. So the world.start part is exactly the same as scratch-startclicked.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#4 2011-10-02 03:39:50

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Speed, Coding!

WindowsExplorer, your coding style is soooo hard for new scratchers.
make it more python like:

Code:

hat.broadcoast(scratch-startclicked)
    forever
        if touching(mouse pointer)
            costume = costume2
        else
            costume = costume1

Last edited by roijac (2011-10-02 03:43:12)

Offline

 

Board footer