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

#1 2012-08-01 22:10:07

theamazingblob
Scratcher
Registered: 2011-11-19
Posts: 45

Can I Embed A Project Made With A Scratch Mod?

I am thinking of making a Scratch Mod to make games for my website, but before I spend too much time working on it, I want to ask if there is a way to embed a project made with my mod on my website.  I know I won't be able to upload it to the Scratch website though.  Thanks in advance for the help!

Offline

 

#2 2012-08-01 22:18:23

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Can I Embed A Project Made With A Scratch Mod?

You would have to make a custom Java or Flash player either by yourself or have someone make it for you.  That would be the only way, but making flash/java players are hard.
EDIT: well, you could use the scratch java or flash players, but they wouldn't support your blocks.

If you make the mod, however, I may decide to include it in the all-in-one player i'm making.

Last edited by SJRCS_011 (2012-08-01 22:19:44)


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#3 2012-08-01 22:36:15

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Can I Embed A Project Made With A Scratch Mod?

SJRCS_011 wrote:

You would have to make a custom Java or Flash player either by yourself or have someone make it for you.  That would be the only way, but making flash/java players are hard.
EDIT: well, you could use the scratch java or flash players, but they wouldn't support your blocks.

If you make the mod, however, I may decide to include it in the all-in-one player i'm making.

It shouldn't be that hard, since most mods share a lot of new blocks. Most mods only have about 10 unique blocks.

Offline

 

#4 2012-08-01 22:57:48

theamazingblob
Scratcher
Registered: 2011-11-19
Posts: 45

Re: Can I Embed A Project Made With A Scratch Mod?

SJRCS_011 wrote:

You would have to make a custom Java or Flash player either by yourself or have someone make it for you.  That would be the only way, but making flash/java players are hard.
EDIT: well, you could use the scratch java or flash players, but they wouldn't support your blocks.

If you make the mod, however, I may decide to include it in the all-in-one player i'm making.

How would I make a java/flash player?  Would I need to pay for software?

Offline

 

#5 2012-08-01 23:16:15

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Can I Embed A Project Made With A Scratch Mod?

theamazingblob wrote:

SJRCS_011 wrote:

You would have to make a custom Java or Flash player either by yourself or have someone make it for you.  That would be the only way, but making flash/java players are hard.
EDIT: well, you could use the scratch java or flash players, but they wouldn't support your blocks.

If you make the mod, however, I may decide to include it in the all-in-one player i'm making.

How would I make a java/flash player?  Would I need to pay for software?

Not under certain circumstances. You can download a 30-day free trial of Adobe Flash Professional CS6 at http://www.adobe.com/products/flash.html. And you can also download a free trial of sothinks swf decompiler (you'll have to google that, sorry) and decompile the PlayerOnly.swf on the scratch website.

Offline

 

#6 2012-08-01 23:18:42

theamazingblob
Scratcher
Registered: 2011-11-19
Posts: 45

Re: Can I Embed A Project Made With A Scratch Mod?

I just thought of something else.  Would it work if I convert my scratch mod game to exe using scratch2exe, and then embed the exe file?

Offline

 

#7 2012-08-01 23:22:24

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

Re: Can I Embed A Project Made With A Scratch Mod?

theamazingblob wrote:

I just thought of something else.  Would it work if I convert my scratch mod game to exe using scratch2exe, and then embed the exe file?

You can't embed EXEs.


Posts: 20000 - Show all posts

Offline

 

#8 2012-08-01 23:27:57

theamazingblob
Scratcher
Registered: 2011-11-19
Posts: 45

Re: Can I Embed A Project Made With A Scratch Mod?

veggieman001 wrote:

theamazingblob wrote:

I just thought of something else.  Would it work if I convert my scratch mod game to exe using scratch2exe, and then embed the exe file?

You can't embed EXEs.

Darn.  I thought maybe the object tag would work, but I guess not.

Offline

 

#9 2012-08-01 23:38:50

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Can I Embed A Project Made With A Scratch Mod?

theamazingblob wrote:

veggieman001 wrote:

theamazingblob wrote:

I just thought of something else.  Would it work if I convert my scratch mod game to exe using scratch2exe, and then embed the exe file?

You can't embed EXEs.

Darn.  I thought maybe the object tag would work, but I guess not.

You can ask ZeroLuck for the source code of his Scratch to Desktop application (.sb>.jar(embed-able)) and add your mod's blocks to it.

Offline

 

#10 2012-08-01 23:48:09

theamazingblob
Scratcher
Registered: 2011-11-19
Posts: 45

Re: Can I Embed A Project Made With A Scratch Mod?

chanmanpartyman wrote:

theamazingblob wrote:

SJRCS_011 wrote:

You would have to make a custom Java or Flash player either by yourself or have someone make it for you.  That would be the only way, but making flash/java players are hard.
EDIT: well, you could use the scratch java or flash players, but they wouldn't support your blocks.

If you make the mod, however, I may decide to include it in the all-in-one player i'm making.

How would I make a java/flash player?  Would I need to pay for software?

Not under certain circumstances. You can download a 30-day free trial of Adobe Flash Professional CS6 at http://www.adobe.com/products/flash.html. And you can also download a free trial of sothinks swf decompiler (you'll have to google that, sorry) and decompile the PlayerOnly.swf on the scratch website.

What about Java, would I need to pay for a non-trial version of that?

Offline

 

#11 2012-08-01 23:54:59

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

Re: Can I Embed A Project Made With A Scratch Mod?

theamazingblob wrote:

chanmanpartyman wrote:

theamazingblob wrote:


How would I make a java/flash player?  Would I need to pay for software?

Not under certain circumstances. You can download a 30-day free trial of Adobe Flash Professional CS6 at http://www.adobe.com/products/flash.html. And you can also download a free trial of sothinks swf decompiler (you'll have to google that, sorry) and decompile the PlayerOnly.swf on the scratch website.

What about Java, would I need to pay for a non-trial version of that?

Nope, Java's free.


Posts: 20000 - Show all posts

Offline

 

#12 2012-08-02 00:16:37

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Can I Embed A Project Made With A Scratch Mod?

How would you embed a scratch project compiled into a jar file?


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#13 2012-08-02 07:51:24

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Can I Embed A Project Made With A Scratch Mod?

chanmanpartyman wrote:

SJRCS_011 wrote:

You would have to make a custom Java or Flash player either by yourself or have someone make it for you.  That would be the only way, but making flash/java players are hard.
EDIT: well, you could use the scratch java or flash players, but they wouldn't support your blocks.

If you make the mod, however, I may decide to include it in the all-in-one player i'm making.

It shouldn't be that hard, since most mods share a lot of new blocks. Most mods only have about 10 unique blocks.

you try making one then.  tongue
If you say it's so easy to, then why not try?


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#14 2012-08-02 23:38:01

theamazingblob
Scratcher
Registered: 2011-11-19
Posts: 45

Re: Can I Embed A Project Made With A Scratch Mod?

I have a new idea.  I am converting my website to HTML5, would it be possible to make an HTML5 player, like the flash and java players?

Offline

 

#15 2012-08-03 00:49:30

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Can I Embed A Project Made With A Scratch Mod?

theamazingblob wrote:

I have a new idea.  I am converting my website to HTML5, would it be possible to make an HTML5 player, like the flash and java players?

MathWizz is coding one. jsscratch.co.cc

Offline

 

#16 2012-08-05 09:52:46

suneel
Scratcher
Registered: 2012-01-27
Posts: 96

Re: Can I Embed A Project Made With A Scratch Mod?

veggieman001 wrote:

theamazingblob wrote:

I just thought of something else.  Would it work if I convert my scratch mod game to exe using scratch2exe, and then embed the exe file?

You can't embed EXEs.

Yes u can. As long as it is a game. Just use eRun by friday13games


Get Gangnam Style for free!
getgangnamforfree.weebly.co­­m

Offline

 

#17 2012-08-05 11:29:12

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Can I Embed A Project Made With A Scratch Mod?

suneel wrote:

veggieman001 wrote:

theamazingblob wrote:

I just thought of something else.  Would it work if I convert my scratch mod game to exe using scratch2exe, and then embed the exe file?

You can't embed EXEs.

Yes u can. As long as it is a game. Just use eRun by friday13games

there is no logical way to tell if an application is a game without human interpretation. I bet that it doesn't really embed, it just opens or starts the file.  After all, not all .exe's have GUIs, so it would be impossible to do so.
Furtheremore, how do you embed a .bat?  It's a command-line program, so it's GUI is the command line.  I just don't see how that works.


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#18 2012-08-05 13:42:25

sccar3
Scratcher
Registered: 2008-09-04
Posts: 100+

Re: Can I Embed A Project Made With A Scratch Mod?

You don't need to make a player, you just need to download and edit the scratchapplet.jar


http://1.bp.blogspot.com/-WInb2DZ2LBM/UQaLETx3VII/AAAAAAAAAmQ/ZOpSwEPggiE/s1600/The%2BElder%2BScrolls%2BOnline%2BSignup%2BBeta.jpg

Offline

 

Board footer