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

#1 2010-12-06 23:35:36

MrMonopoly
Scratcher
Registered: 2009-10-01
Posts: 6

How to make projects only play online

I have devised a way to make projects automatically shut down when played offline.  In other words the scratch window shuts when the green flag is clicked.
1. Make a hidden sprite.  This is simple.  Click "Paint new sprite".  Look at the white dot that appears in the middle of the screen.  Click it again.  A new dot should have appeared.  Click cancel in the paint window and the second white dot should still be there.  Double click on it to open it up.  It should not show up in the bottom with other sprites. 
2. Download this project and put the script it has on to the secret sprite.  Make sure you put the variable as "for this sprite only" so that it is completely unseen.

http://scratch.mit.edu/projects/MrMonopoly/1464697

3. Post your project and tell me if it works for you!

Offline

 

#2 2010-12-06 23:38:45

kimmy123
Scratcher
Registered: 2008-05-20
Posts: 1000+

Re: How to make projects only play online

Amazing  smile


http://i.imgur.com/Mg3TPIE.pnghttp://i.imgur.com/rgyzXV5.pnghttp://i.imgur.com/685FKVd.pnghttp://24.media.tumblr.com/8678e33865664f328e1654109679cb92/tumblr_mm1qu3jGD71s8caito3_r1_250.gif

Offline

 

#3 2010-12-06 23:40:22

MrMonopoly
Scratcher
Registered: 2009-10-01
Posts: 6

Re: How to make projects only play online

Did you try it?

Offline

 

#4 2010-12-06 23:40:41

kimmy123
Scratcher
Registered: 2008-05-20
Posts: 1000+

Re: How to make projects only play online

MrMonopoly wrote:

Did you try it?

Yes.


http://i.imgur.com/Mg3TPIE.pnghttp://i.imgur.com/rgyzXV5.pnghttp://i.imgur.com/685FKVd.pnghttp://24.media.tumblr.com/8678e33865664f328e1654109679cb92/tumblr_mm1qu3jGD71s8caito3_r1_250.gif

Offline

 

#5 2010-12-07 06:57:06

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: How to make projects only play online

Simply amazing! I've tried that and it works!

Offline

 

#6 2010-12-08 11:28:53

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: How to make projects only play online

It doesn't close Scratch... all I see is a sprite named "hidden sprite". o.O What am I doing wrong? I downloaded the project, pressed the Green Flag, I wait five seconds, press the Stop Button. Nothing happens, besides my seeing the script glow white in the sprite "hidden sprite"

Offline

 

#7 2010-12-08 19:29:47

MrMonopoly
Scratcher
Registered: 2009-10-01
Posts: 6

Re: How to make projects only play online

Magnie wrote:

It doesn't close Scratch... all I see is a sprite named "hidden sprite". o.O What am I doing wrong? I downloaded the project, pressed the Green Flag, I wait five seconds, press the Stop Button. Nothing happens, besides my seeing the script glow white in the sprite "hidden sprite"

Strange.  It might take more than 5 seconds for your computer or your computer processes information very fast.  What happens is the script makes a variable that multiplies by itself until it is infinity and then tries to multiply again.  This causes Scratch to freeze and shut down.  If your computer is very fast it could handle the freeze without closing.  It might also be slow and need more than 5 seconds.

Offline

 

#8 2010-12-12 06:04:23

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: How to make projects only play online

BigDolphin has found a better method! Check it out here!

Offline

 

#9 2010-12-12 10:12:34

MrMonopoly
Scratcher
Registered: 2009-10-01
Posts: 6

Re: How to make projects only play online

Yes I suppose that is better but mine is more simple and would not be as suspicious to a hacker.

Offline

 

#10 2010-12-12 15:11:09

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: How to make projects only play online

Wow, it worked!


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&online=http://lemonfanatic.webs.com/ONLINE.png&offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#11 2010-12-12 15:13:49

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: How to make projects only play online

In my opinion, there is no use for this!

Why would we rather have a project play in a glitchy player rather than it's actual application?


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#12 2010-12-13 07:57:13

MrMonopoly
Scratcher
Registered: 2009-10-01
Posts: 6

Re: How to make projects only play online

Well, maybe you have a project that you would like to give away only with permission.  In the coding set the mode to demo and post it online.  Also make it play the full game if the mode is set to full but don't make anything set the mode to full.  Then, add my script and people can play the demo all they want but they can't download the game to set the mode to full.  They can only play the full game if you email it to them without this script.

Offline

 

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

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: How to make projects only play online

It's a great idea, but your hidden sprite bit isn't going to work as the sprite will never stay hidden. Saving, uploading or downloading the project causes the sprite to reappear so short of keeping your project open and unsaved you're not going to keep it hidden.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#14 2010-12-13 10:48:12

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: How to make projects only play online

sparks wrote:

It's a great idea, but your hidden sprite bit isn't going to work as the sprite will never stay hidden. Saving, uploading or downloading the project causes the sprite to reappear so short of keeping your project open and unsaved you're not going to keep it hidden.

That's not really true. Check out the project in my signature.

Offline

 

#15 2010-12-14 23:13:24

HarleyK
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: How to make projects only play online

Broadcasting is also a fast way of multiplying infinity.  smile

Offline

 

#16 2011-01-23 14:48:32

ke1235
Scratcher
Registered: 2010-03-07
Posts: 56

Re: How to make projects only play online

Magnie wrote:

It doesn't close Scratch... all I see is a sprite named "hidden sprite". o.O What am I doing wrong? I downloaded the project, pressed the Green Flag, I wait five seconds, press the Stop Button. Nothing happens, besides my seeing the script glow white in the sprite "hidden sprite"

Did you download it?

Offline

 

#17 2011-02-15 20:07:35

doggycat
Scratcher
Registered: 2011-02-15
Posts: 2

Re: How to make projects only play online

smile   lol

Offline

 

#18 2011-06-10 16:43:44

moco22
New Scratcher
Registered: 2011-06-10
Posts: 1

Re: How to make projects only play online

hat up home dogs

Offline

 

#19 2011-06-10 17:42:26

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: How to make projects only play online

moco22 wrote:

hat up home dogs

Please stay on topic and don't necropost. Thank you!


Posts: 20000 - Show all posts

Offline

 

#20 2012-03-16 19:49:51

atkeel
Scratcher
Registered: 2012-02-04
Posts: 52

Re: How to make projects only play online

MrMonopoly wrote:

Look at the white dot that appears in the middle of the screen.

What white dot?  yikes


http://i272.photobucket.com/albums/jj183/Rainbow_Cows/cow_face.jpg Isn't he CUTE?!

Offline

 

Board footer