This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » Editing helpers (script folders + copy script to other sprites)

#1 2009-06-03 06:18:28

dz0
Scratcher
Registered: 2008-12-02
Posts: 17

Editing helpers (script folders + copy script to other sprites)

Hello,

1) as code increases the screen becomes quite a mess (worse than my desktop  big_smile )
if there were folders, where I could group scripts:
a) movement controll, b) interaction  c) animation

(I like the idea of VUE for concept maps -- you can group concepts in lager containers "bubles", example,
and then you can compact or expand them -- similary as you can do with comments now  wink  )

2) I often need to copy part of one sprite script to other already existing sprite
but I cant' find this functionality... and I am forsed to break DRY principle  hmm

Offline

 

#2 2009-06-03 06:33:26

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: Editing helpers (script folders + copy script to other sprites)

And why exactly do you have to comply with DRY rules? What is wrong with breaking them? Look at my projects...I break them at least 3 or 4 times in each one of them!

Offline

 

#3 2009-06-03 11:10:46

dz0
Scratcher
Registered: 2008-12-02
Posts: 17

Re: Editing helpers (script folders + copy script to other sprites)

bhz wrote:

And why exactly do you have to comply with DRY rules? What is wrong with breaking them? Look at my projects...I break them at least 3 or 4 times in each one of them!

I don't have to, but I want to  wink
because they are sound, save my time  and promote good programming practice  smile

Offline

 

#4 2009-06-03 11:49:37

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

Re: Editing helpers (script folders + copy script to other sprites)

I like your idea! Another thing that would be great is a block search feature that helps you find bits of scripts you can't remember where you put. The concept of a script having a location (ie. an x and y position) rather than being neatly on a line of code can be troublesome when you have hundreds of scripts on a sprite and you can't remember where one of them is.


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

Offline

 

#5 2009-06-03 12:49:34

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Editing helpers (script folders + copy script to other sprites)

Right-click, and clean up xD

That usually works for me...


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#6 2009-06-03 13:21:56

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Editing helpers (script folders + copy script to other sprites)

dz0 wrote:

2) I often need to copy part of one sprite script to other already existing sprite
but I cant' find this functionality.

I believe you could already do something like this, depending on the way the script is designed (it may work, sometimes you may end up dragging too much of the script, or sometimes you may end up short. It depends on the ordering of the stack of blocks). Click the part of the script you want to copy, then drag it over to the thumbnail of the sprite you want the script to be attached to (it looks like you're breaking off a piece of code from the original script, but don't worry, when you finished dragging, the original piece returns to it's original spot on the original sprite, and that same piece is already copied to the second sprite).


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#7 2009-06-03 13:48:18

dz0
Scratcher
Registered: 2008-12-02
Posts: 17

Re: Editing helpers (script folders + copy script to other sprites)

cheddargirl wrote:

dz0 wrote:

2) I often need to copy part of one sprite script to other already existing sprite.

Click the part of the script you want to copy, then drag it over to the thumbnail of the sprite you want the script to be attached

it works  smile
Thanks

Offline

 

#8 2009-06-03 13:53:59

dz0
Scratcher
Registered: 2008-12-02
Posts: 17

Re: Editing helpers (script folders + copy script to other sprites)

one more idea:
hotkeys for often used blocks

why not make some Alt+n (n=0..9) key combinations as shortcuts,
as with touchpad it is quite time-consuming to chose category, then scroll, choose controll or so..
if I am mangling with some position tracking, I often need "if", "<", "x coordinate", "+", and "set variable"

I could drag separate blocks and duplicate them, but more clean way would be hot-keys (and this will bring Scratch closer to vim  big_smile , but jus for comfort not for idealogoy )

Offline

 

#9 2009-06-07 08:00:42

dz0
Scratcher
Registered: 2008-12-02
Posts: 17

Re: Editing helpers (script folders + copy script to other sprites)

again idea
ability to configure only a subset of blocks to be visible

I think this would be good for young children -- as for example, now there are relatively many control blocks -- for beginners of scratch I would hide "if/else", "messages", "until"
also some stuff from Looks and maybe other..

in the future more blocks are going to appear, so this might become realy usefull

how?
in configuration mode one could just see at each block an "eye" icon, which clicked would "close", so the block would become invisible.
sth, like here http://metasolutions.us/resources/moodle/mods/images/metamod_001.jpg

Offline

 
  • Index
  •  » Suggestions
  •  » Editing helpers (script folders + copy script to other sprites)

Board footer