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

#1 2010-11-23 12:42:23

EdgarMartins
Scratcher
Registered: 2010-05-20
Posts: 18

100 lines script...

I have a script almost 100 lines long and the more line i put the slowest my PC gets. Last command was a "go to" i click on the x and it took almost 1 min to select it and after i edit it almost 1 min to appear the number.

Is there a method to edit a script in a old "text only" (in a text editor) mode and import it to scratch?

Offline

 

#2 2010-11-23 12:55:01

AuoraLeaf
New Scratcher
Registered: 2010-11-22
Posts: 13

Re: 100 lines script...

Not that I know of. But man, programming that way would be nice. Maybe Scratch 2.0, not sure.


http://img266.imageshack.us/img266/2150/almw2style.png

Offline

 

#3 2010-11-23 13:06:41

subzerostig
Scratcher
Registered: 2010-09-08
Posts: 100+

Re: 100 lines script...

For me, I have to take the blocks out and then edit and then put them back in.
It's quicker and less frusrating


There are 10 types of people people in this world, those that understand binary and those that do not: My latest Project: Present catcher V2                          06/12/2012

Offline

 

#4 2010-11-23 13:58:35

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: 100 lines script...

*grins* Maybe not NOW, but there will be! I'll make one!


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#5 2010-11-23 15:00:30

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

Re: 100 lines script...

@MathWizz I'll beat you to it!  tongue
My advice: use lots of small scripts, rather than one large one.


/* No comment */

Offline

 

#6 2010-12-05 16:03:24

KMilka
Scratcher
Registered: 2010-10-21
Posts: 100+

Re: 100 lines script...

That happens sometimes, not much you can do about it


http://projecteuler.net/profile/milkan8tor.png
http://imgur.com/epxJD.png

Offline

 

#7 2010-12-05 18:57:19

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: 100 lines script...

Just work on the script in small parts, and put them all together into the one script when you're done.  smile


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#8 2010-12-06 12:57:45

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: 100 lines script...

you can split a script with broadcasts. split it into 5 or 10 or so and just broadcast part(n) after each one and have the next one start with a "when I recieve part (n))" hat.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

Board footer