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

#1 2012-07-18 21:14:28

Pitusky12
Scratcher
Registered: 2011-09-21
Posts: 500+

How to make a project work only when you download it...

I want my project to show a message in the project that says I have to download it to work.


Scratch 2.0 Beta Tester  wink

Offline

 

#2 2012-07-18 21:16:43

360-International
Scratcher
Registered: 2011-07-17
Posts: 100+

Re: How to make a project work only when you download it...

Make a separate sprite that reads "Please download." or something similar, then add this script to it.

when flag clicked
hide
wait ([sqrt v] of (-1)) secs
show
This works because online, mathematical errors (including division by zero) are skipped over, and the script continues, whereas the script is stopped when an error is met offline.  wink

Last edited by 360-International (2012-07-18 21:18:23)


https://lh4.googleusercontent.com/Oib6kyze-OrCFIRlqL6HYnWuHBQp1GfFoh5CkBlZGe3_9WCk-_DDwgfFrnD_mxJ_x2b18hMUyV2KVtIDiLdebyWaQQ6fbpKpZs-8auVep1zoSgOv-iA

Offline

 

#3 2012-07-18 21:26:45

Pitusky12
Scratcher
Registered: 2011-09-21
Posts: 500+

Re: How to make a project work only when you download it...

Thank You!


Scratch 2.0 Beta Tester  wink

Offline

 

#4 2012-07-18 23:04:59

Zingadude123
Scratcher
Registered: 2010-01-06
Posts: 11

Re: How to make a project work only when you download it...

You could also disconnect all the scripts from the

when gf clicked
and have the background say "Download and connect scripts to see"


http://images2.layoutsparks.com/1/189957/biohazard-red-logo-symbol.jpg

Offline

 

#5 2012-07-19 12:01:57

Pitusky12
Scratcher
Registered: 2011-09-21
Posts: 500+

Re: How to make a project work only when you download it...

I prefer the first method,but Thank You!


Scratch 2.0 Beta Tester  wink

Offline

 

Board footer