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

#1 2010-10-11 19:42:54

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Super turbo mode

Does anyone (aka nXIII) know where to change the step time in Scratch? I just want to make a super turbo mode, because I have projects that would really need it.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#2 2010-10-11 19:52:18

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Super turbo mode

I'm sorry, if you want your projects to be fast, and not lag, then don't use Scratch.


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#3 2010-10-11 19:54:01

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Super turbo mode

henley wrote:

I'm sorry, if you want your projects to be fast, and not lag, then don't use Scratch.

I know that. But I also know that they purposely made the step time low. I want to know how to make it really fast.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#4 2010-10-11 20:30:06

recycle49
Scratcher
Registered: 2009-12-21
Posts: 1000+

Re: Super turbo mode

henley wrote:

I'm sorry, if you want your projects to be fast, and not lag, then don't use Scratch.

You could put it in like 150 times, then it be much more faster than repeat 150


"Every challenge must be met, every battle must be won, and every story will end." -Me
Recycle49 December 09 - November 11 Goodbye

Offline

 

#5 2010-10-11 20:43:24

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Super turbo mode

recycle49 wrote:

henley wrote:

I'm sorry, if you want your projects to be fast, and not lag, then don't use Scratch.

You could put it in like 150 times, then it be much more faster than repeat 150

Except that I have something that repeats 44000 times.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#6 2010-10-11 21:12:34

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Super turbo mode

ScratchReallyROCKS wrote:

recycle49 wrote:

henley wrote:

I'm sorry, if you want your projects to be fast, and not lag, then don't use Scratch.

You could put it in like 150 times, then it be much more faster than repeat 150

Except that I have something that repeats 44000 times.

Thats a big number

IT'S OVAR 9000


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#7 2010-10-11 21:18:22

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Super turbo mode

soupoftomato wrote:

ScratchReallyROCKS wrote:

recycle49 wrote:


You could put it in like 150 times, then it be much more faster than repeat 150

Except that I have something that repeats 44000 times.

Thats a big number

IT'S OVAR 9000

Yeah. I'm making a virtual computer with 44000 bytes of memory. That's about 44 kilobytes!


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#8 2010-10-11 21:55:21

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Super turbo mode

Well, the problem now is that the execution engine isn't fast enough. If you want a faster Scratch in Turbo Speed, you have to rewrite the execution engine.


nXIII

Offline

 

#9 2010-10-11 22:00:11

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Super turbo mode

nXIII wrote:

Well, the problem now is that the execution engine isn't fast enough. If you want a faster Scratch in Turbo Speed, you have to rewrite the execution engine.

Okay, never mind then.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#10 2010-10-12 00:06:32

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

Re: Super turbo mode

ScratchReallyROCKS wrote:

they purposely made the step time low.

WHAT!? O_o


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

Offline

 

#11 2010-10-12 06:50:58

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Super turbo mode

Jonathanpb wrote:

ScratchReallyROCKS wrote:

they purposely made the step time low.

WHAT!? O_o

Believe me, once I started using languages with a high step time, it got a LOT harder.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#12 2010-10-12 07:26:27

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Super turbo mode

ScratchReallyROCKS wrote:

recycle49 wrote:

henley wrote:

I'm sorry, if you want your projects to be fast, and not lag, then don't use Scratch.

You could put it in like 150 times, then it be much more faster than repeat 150

Except that I have something that repeats 44000 times.

You could have it ten times and repeat 4400.

Offline

 

#13 2010-10-12 07:41:25

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Super turbo mode

I'm pretty sure turbo speed is about as fast as the project can go  wink

Offline

 

#14 2010-10-12 07:42:27

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Super turbo mode

oh. by the way, the step time is actually set to fastest in turbo speed (one action every 0 ms). The repeat loops have a 40 ms delay, you could change that to make it 1760000 times faster (i think). that still gives about 1ms per block execution + 44000 repeats (1 ms), which makes a total of 88 thousand ms per run.

That means the best you can get (in theory on a really fast PC) is 88 seconds per run!

EDIT
@coolstuff: you made it simple, but we said the same thing  big_smile

Last edited by LS97 (2010-10-12 07:43:22)

Offline

 

#15 2010-10-12 15:10:22

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Super turbo mode

Let me explain how 'turbo speed' works versus normal Scratch speed (just to clarify things for people who haven't looked at the Scratch source):
Normal mode runs ALL the processes until they give up control (yield), then waits until the next frame (a set time).
Turbo speed runs processes CONTINUOUSLY until "time is up"--the frame time has run out. Then it redraws (once!) and does the same thing again.


nXIII

Offline

 

#16 2010-10-12 15:27:03

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Super turbo mode

nXIII wrote:

Let me explain how 'turbo speed' works versus normal Scratch speed (just to clarify things for people who haven't looked at the Scratch source):
Normal mode runs ALL the processes until they give up control (yield), then waits until the next frame (a set time).
Turbo speed runs processes CONTINUOUSLY until "time is up"--the frame time has run out. Then it redraws (once!) and does the same thing again.

Yeah, I pretty much figured that much out myself by comparing how scripts run in the two modes.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#17 2010-10-15 07:18:28

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

Re: Super turbo mode

You could compile the blocks directly into smalltalk.


/* No comment */

Offline

 

#18 2010-10-15 14:42:30

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Super turbo mode

TheSuccessor wrote:

You could compile the blocks directly into smalltalk.

Yea, at one point that was what I was doing with Blocks++.
But now Blocks++ either doesn't exist or is the same thing as JScratch, which in turn is the same thing as Panther 2.0.


nXIII

Offline

 

Board footer