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

#1 2008-09-22 21:41:43

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

instant speed

I know scratch has turbo speed but that still gives a little pause between the loops and stuff, so is it possible to have something like an instant speed, where it does it instantly?

Offline

 

#2 2008-09-22 21:48:39

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

Re: instant speed

Sadly, I do not think you can have an instant speed. Wait are built into most blocks to prevent such fast execution.


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

 

#3 2008-09-22 22:10:52

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

Re: instant speed

But if, say, in JavaScript, you say "
var = 1;
while (var = 0)
{
document.write("hello, world! <br>")
}
it instantly crashes your browser (because it has too many "hello world"s)
(don't try running it unless you use IE)
Things should be instantaneous in Scratch!!!

Last edited by coolstuff (2008-09-22 22:11:03)

Offline

 

#4 2008-09-22 22:22:57

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

Re: instant speed

coolstuff wrote:

But if, say, in JavaScript, you say "
var = 1;
while (var = 0)
{
document.write("hello, world! <br>")
}
it instantly crashes your browser (because it has too many "hello world"s)
(don't try running it unless you use IE)
Things should be instantaneous in Scratch!!!

Perhaps the scratch program could prevent people from running infinite loops?


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

 

#5 2008-09-23 17:32:18

TimeFreeze
Scratcher
Registered: 2008-08-11
Posts: 500+

Re: instant speed

I think this user Undantake (or something like that) was talking about this. I think in control there should be a c-shaped "instant" block so that anything you put in there would happen instantly.


There are 10 types of people in this world: Those who understand binary, and those who don't. --[insert unrelated transition]-- GRANDILOQUENCE FTW!

Offline

 

Board footer