Pages: 1
Hello! I'd like to know if there are any tricks or bug exploits that allow you to create a script that can determine whether a project is running online. I know how to write a script that will recognize the Java player, but I am not sure if there is also such a script for the Flash player.
Offline
Offline and flash register the same with obsolete/script error sensors. You could just have a block in the code that begins it all with a broadcast, so you have to download to manually start the project.
Offline
Offline
Thank you so much! You guys are wizards. ^^
Now if only I could also find a presentation mode check...
Offline
Appletini wrote:
Yay! I'm a wizard!
And I think that's impossible right now. Maybe, in 2.1, they'll add some blocks specifically for detecting running modes.
I see. What a pity. ^^
Thanks for your help though!
Offline
You know, I wonder if there is a check. Im going to look around and experiment.
Offline
Wes64 wrote:
You know, I wonder if there is a check. Im going to look around and experiment.
The only Scratch feature I know of that is presentation-only is the ability to drag "unlocked" sprites. However, currently I am not sure if there is a way to differentiate that from out-of-presentation mode dragging.
Besides, it requires user input to actually work.
Last edited by MyRedNeptune (2012-07-19 18:40:31)
Offline
I did find that the frame-rate remains constant in presentation mode, while it fluctuates in editing mode. But that really isn't for-sure.
Offline
Pages: 1