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

#1 2010-12-30 17:14:35

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

SSSS's speed up process

Got a game that lags online?  Want it sped up, yet can't be bothered to do it yourself?  Or just don't know how you could speed it up?  SSSS's speed up process is the thing for you!  I will speed it up, then add
'SSSS speed up process removes pointless scripts, and extra sprites.'  To the project notes..  Request beneath


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#2 2010-12-30 17:18:21

kimmy123
Scratcher
Registered: 2008-05-20
Posts: 1000+

Re: SSSS's speed up process

What if you remove a script and it ruins the whole game?


http://i.imgur.com/Mg3TPIE.pnghttp://i.imgur.com/rgyzXV5.pnghttp://i.imgur.com/685FKVd.pnghttp://24.media.tumblr.com/8678e33865664f328e1654109679cb92/tumblr_mm1qu3jGD71s8caito3_r1_250.gif

Offline

 

#3 2010-12-30 17:39:27

Nexstudent
Scratcher
Registered: 2010-02-07
Posts: 1000+

Re: SSSS's speed up process

kimmy123 wrote:

What if you remove a script and it ruins the whole game?

I'm in agreement there.

It would be quite a bit hard researching the entire thing, making sure that the script is entirely useless.


http://img696.imageshack.us/img696/9325/vedder.jpg

Offline

 

#4 2010-12-30 17:53:36

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: SSSS's speed up process

because i work out what is necessary for the game to work, and what is not.  By looking at the game, if it is not a "sound" game i take out the sound scripts and sounds.  Then if theirs a series of unnecessary buttons, i remove it to make it 1 button or even none.  Thus the game runs the same, only with less anoyances..  I will demonstrate if some-one gives me a task to do
an example is The tower defense game on the front page  Although i have taken extra things out, such as different levels. you still get the main gameplay

Last edited by ssss (2010-12-30 17:55:32)


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#5 2010-12-30 19:39:41

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: SSSS's speed up process

also i have seen games by certain people named archmage (I wont tell which one LOL) that make everything too confusing just to show off. For instance instead of:
[blocks]
<change{         }by(
[/blocks]
they will do:
[blocks]
<set{            }to( ((          <+> <{            }> ))
[/blocks]

This not only makes their projects slower but also uses more online projects space which costs the Scratch Team money.  sad

Last edited by Pecola1 (2010-12-30 19:40:43)


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#6 2010-12-30 20:08:39

floppy_gunk
Scratcher
Registered: 2008-11-14
Posts: 500+

Re: SSSS's speed up process

It's a habit from using other programming languages, some of which don't have a 'change by' equivalent.


http://img163.imageshack.us/img163/1917/2856lg.jpg Get it now!  smile

Offline

 

#7 2010-12-30 22:05:02

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: SSSS's speed up process

lolz - anyway.  I'm making a full version of the turet game


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#8 2010-12-30 22:20:35

MiffinTheMuffin
Scratcher
Registered: 2010-12-11
Posts: 1000+

Re: SSSS's speed up process

Pecola1 wrote:

This not only makes their projects slower but also uses more online projects space which costs the Scratch Team money.  sad

I think MIT pays for all of this stuff and pretty sure they have like unlimited money.


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

Offline

 

#9 2010-12-30 23:03:42

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: SSSS's speed up process

MiffinTheMuffin wrote:

Pecola1 wrote:

This not only makes their projects slower but also uses more online projects space which costs the Scratch Team money.  sad

I think MIT pays for all of this stuff and pretty sure they have like unlimited money.

haven't you ever wondered why they have a donate link?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#10 2010-12-30 23:11:37

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: SSSS's speed up process

Pecola1 wrote:

also i have seen games by certain people named archmage (I wont tell which one LOL) that make everything too confusing just to show off. For instance instead of:
[blocks]
<change{         }by(
[/blocks]
they will do:
[blocks]
<set{            }to( ((          <+> <{            }> ))
[/blocks]

This not only makes their projects slower but also uses more online projects space which costs the Scratch Team money.  sad

To show off? I use the change by block when needed and I use the set block when needed. I try to make my scripts as simple as possible, if you be so kind as to post an example I would be more than happy to explain the reasoning behind my scripts.

One thing I can think of that you may be referring to is my scrolling demo.

set x to ((scrollX)+(position*480 ))

Last edited by archmage (2010-12-30 23:15:40)


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#11 2010-12-30 23:14:00

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: SSSS's speed up process

floppy_gunk wrote:

It's a habit from using other programming languages, some of which don't have a 'change by' equivalent.

All other programming languages have a "change by" command, as well as a few others.

+=  //this is change by
-= // this is subtract by
*= //this is multiply by
/= // this is divide by


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#12 2010-12-30 23:14:48

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: SSSS's speed up process

Pecola1 wrote:

This not only makes their projects slower but also uses more online projects space which costs the Scratch Team money.  sad

Even if they only did it to show off, it won't make their project noticeably slower, and it uses almost no space at all

Offline

 

#13 2010-12-30 23:17:41

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: SSSS's speed up process

deatheater wrote:

Pecola1 wrote:

This not only makes their projects slower but also uses more online projects space which costs the Scratch Team money.  sad

Even if they only did it to show off, it won't make their project noticeably slower, and it uses almost no space at all

actually, each block takes about 4kb - do this for every change block
so <set () to ()+()> takes up 8kb instead of 4kb.  Double each one, and it slows down considerably


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#14 2010-12-30 23:20:24

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: SSSS's speed up process

deatheater wrote:

Pecola1 wrote:

This not only makes their projects slower but also uses more online projects space which costs the Scratch Team money.  sad

Even if they only did it to show off, it won't make their project noticeably slower, and it uses almost no space at all

If a person uses the set block when it is not needed then they are being inefficient not impressive or anything like that (same goes for 1sprite1script projects).

The actual blocks take almost no space, what takes space is images and sound. And cost isn't an issue since they are hosted for free on MIT servers.

There are some specific things that cause lag.

1. Sound
2. Excessive active sprites on stage
3. Many costume in project (just having them causes lag)
4. Constant loops of longish equations/scripts


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#15 2010-12-30 23:22:50

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: SSSS's speed up process

ssss wrote:

deatheater wrote:

Pecola1 wrote:

This not only makes their projects slower but also uses more online projects space which costs the Scratch Team money.  sad

Even if they only did it to show off, it won't make their project noticeably slower, and it uses almost no space at all

actually, each block takes about 4kb - do this for every change block
so <set () to ()+()> takes up 8kb instead of 4kb.  Double each one, and it slows down considerably

That isn't true, setting variables takes about the same processing power as changing them by a number. And each block does not take 4kb each, each block is interpreted as a small bit of code which takes almost no space.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#16 2010-12-30 23:41:47

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: SSSS's speed up process

archmage wrote:

ssss wrote:

deatheater wrote:


Even if they only did it to show off, it won't make their project noticeably slower, and it uses almost no space at all

actually, each block takes about 4kb - do this for every change block
so <set () to ()+()> takes up 8kb instead of 4kb.  Double each one, and it slows down considerably

That isn't true, setting variables takes about the same processing power as changing them by a number. And each block does not take 4kb each, each block is interpreted as a small bit of code which takes almost no space.

Yes, but download it and guess what!  That block is an image!  The java reader currently reads the "script"  But there is still that "image" hiding in the background...

Now give me something to speed up!


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#17 2011-05-05 14:03:24

kat41
Scratcher
Registered: 2011-03-20
Posts: 9

Re: SSSS's speed up process

Seriously dude,if you are trying to get stuff on the forums,use a project instead.Nobody cmes here;it's like a ghost town out here and if you disagree,I am sure famous people don;t come here either.

Anyhoo,this guy just wants you to visit his projects or something.It isn't working,isn't it Triple S? Here are the blocks for those of you who don't want to go through all of this mess:
[blocks]<play note(  )for(  )secss>[/blocks]

Offline

 

#18 2011-05-05 14:11:56

kat41
Scratcher
Registered: 2011-03-20
Posts: 9

Re: SSSS's speed up process

archmage wrote:

Pecola1 wrote:

also i have seen games by certain people named archmage (I wont tell which one LOL) that make everything too confusing just to show off. For instance instead of:
[blocks]
<change{         }by(
[/blocks]
they will do:
[blocks]
<set{            }to( ((          <+> <{            }> ))
[/blocks]

This not only makes their projects slower but also uses more online projects space which costs the Scratch Team money.  sad

To show off? I use the change by block when needed and I use the set block when needed. I try to make my scripts as simple as possible, if you be so kind as to post an example I would be more than happy to explain the reasoning behind my scripts.

One thing I can think of that you may be referring to is my scrolling demo.

set x to ((scrollX)+(position*480 ))

Sometimes,really,the Scratch Team makes a collab contest that is kind of judged a little by how sophisticated it is.

Offline

 

Board footer