OS: Windows 7.
Browser: Chrome (version 23.0.1271.97).
Flash version: 11.5.31.5.
Project: http://scratch.mit.edu/projects/30-1/3007654
Description: Delay does not work in the flash player. This is not a scripting error, it works on both the java player and offline. 
Offline
Offline
I'm not using change costume, I'm using:
when gf clicked set [delay v] to [2] forever next background repeat (delay) if <key [space v] pressed?> ask [Set delay] and wait set [delay v] to (answer) end endWorks offline and in java.
Offline
30-1 wrote:
I'm not using change costume, I'm using:
when gf clicked set [delay v] to [2] forever next background repeat (delay) if <key [space v] pressed?> ask [Set delay] and wait set [delay v] to (answer) end endWorks offline and in java.![]()
at least click through to the link, please? the link describes a bug with changing backgrounds to a certain number, which is exactly what the next background block does; it simply changes the background to the current background +1
Offline
SJRCS_011 wrote:
30-1 wrote:
I'm not using change costume, I'm using:
when gf clicked set [delay v] to [2] forever next background repeat (delay) if <key [space v] pressed?> ask [Set delay] and wait set [delay v] to (answer) end endWorks offline and in java.![]()
at least click through to the link, please? the link describes a bug with changing backgrounds to a certain number, which is exactly what the next background block does; it simply changes the background to the current background +1
This is not the bug.
The bug is the repeat block should slow down the script.
Offline
30-1 wrote:
SJRCS_011 wrote:
30-1 wrote:
I'm not using change costume, I'm using:
when gf clicked set [delay v] to [2] forever next background repeat (delay) if <key [space v] pressed?> ask [Set delay] and wait set [delay v] to (answer) end endWorks offline and in java.![]()
at least click through to the link, please? the link describes a bug with changing backgrounds to a certain number, which is exactly what the next background block does; it simply changes the background to the current background +1
This is not the bug.
The bug is the repeat block should slow down the script.![]()
There's no bug here, the script works fine in the Flash player. Your "bug" is due to the fact the Flash player has a tendency to execute scripts at a faster rate than the Java player or offline. As a result, you won't see an effective delay unless you put in a ridiculously high number (I only see an effective delay at around 20,000+ on my computer).
Last edited by cheddargirl (2012-12-28 19:42:08)

Offline