This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Advanced Topics
  •  » Scratch2html5 online converter, Html5 projects for a subset of blocks

#1 2011-11-22 06:34:56

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Scratch2html5 online converter, Html5 projects for a subset of blocks

I would like to see a Html5 conversion of Scratch projects
using a very limited, reduced set of blocks.


MUST RUN on Ipod touch,
changes of the Scratch project have to change the Html5 project,
in other words: no hand coded samples.


Best thing i have seen so far (Jan 2012),
unfortunately he/she does not want to publish the source code:
http://scratch.mit.edu/forums/viewtopic.php?pid=1049174#p1049174

Either publish the source code of your conversion software
so other users can build upon/finish
OR offer conversion of my/other user´s projects.


This looks quite promising, search for Html5 inside the document:
http://wiki.scratch.mit.edu/wiki/Build_Your_Own_Blocks_%28BYOB%29_%28Scratch_Modification%29

###############################################################

Online conversion with a perl script or any other language,
as long as the project uses a reduced set of blocks.

This is possible, quite easy to do with very few blocks.
(More blocks lead to more effort, debugging and confusion)

Example for coding with a reduced amount of blocks: Scratch Jr...
http://scratch.mit.edu/projects/JSO/661549

So users can show some of their projects
on smart phones, tablets and ipod touch devices
without learning something new,
without installing new software,
without plugins!


For every appropiate project page a sub page in HTML5 appears !
( if the project uses only the blocks allowed by the Html5 generator,
otherwise no Html5 page appears)

If there is already something done similar,
please give a working Html5 adress link to.
TEST YOUR LINK before posting with http://validator.w3.org/


###############################################################
Morphic.js - off topic, but related: http://www.chirp.scratchr.org/blog/?p=34

Last edited by eventexception (2012-01-30 05:27:08)

Offline

 

#2 2011-11-22 07:48:05

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

Did you see http://jsscratch.co.cc/player/ ? That is the converter itself.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#3 2011-11-22 07:53:39

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

MathWizz this no working Html5 page.
Please delete your post. Thank you.

http://validator.w3.org/
´Errors found while checking this document as HTML5!
http://jsscratch.co.cc/player/project.php?project=./projects/Hello+World.sb
Result:     15 Errors, 5 warning(s) ´

You are welcome if you provide a deep Html5 page link to without redirection
and an underlying Scratch project beginning with http://scratch.mit.edu/projects/...

http://www.netmeister.org/news/learn2quote2.html#ss2.1

Last edited by eventexception (2011-11-22 08:06:35)

Offline

 

#4 2011-11-22 08:55:36

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

Explain to me how the <canvas> tag is not HTML5.

Last edited by MathWizz (2011-11-22 09:36:59)


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#5 2011-11-22 15:05:26

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

validator.w3.org wrote:

Using experimental feature: HTML5 Conformance Checker.
The validator checked your document with an experimental feature: HTML5 Conformance Checker. This feature has been made available for your convenience, but be aware that it may be unreliable, or not perfectly up to date with the latest development of some cutting-edge technologies.

The w3c itself admits the validator is not necessarily accurate or up to date, so I wouldn't rely on it to test whether I document "is HTMl5" or not.


nXIII

Offline

 

#6 2011-11-23 04:31:34

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

MathWizz wrote:

Did you see http://jsscratch.co.cc/player/ ? That is the converter itself.

I see nothing working in my browser without Flash or Java running... Please show your
corresponding Scratch project url beginning with http://scratch.mit.edu/projects/...
and your Html5 source code of your converted Scratch project
via pastebin or on your homepage, but do not paste code into the forums...

Offline

 

#7 2011-11-26 09:12:39

djdolphin
Scratcher
Registered: 2010-03-23
Posts: 100+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

You should look at Scratch Canvas Porting.

Offline

 

#8 2011-11-26 16:30:09

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

djdolphin wrote:

You should look at Scratch Canvas Porting.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#9 2011-12-01 06:14:13

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

Bump. No scripted redirection shows  big_smile

One Scratch project please beginning with http://scratch.mit.edu/projects/
One corresponding conversion to Html5 (link to WITHOUT redirections)
One direct link to the Html5 source code, maybe using pastebin

Offline

 

#10 2011-12-01 06:43:28

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

djdolphin wrote:

You should look at Scratch Canvas Porting.

Looks promising but handcoded! Right click to show the source code...
How about writing an online converter for?

Using http://en.wikipedia.org/wiki/Google_Web_Toolkit
or any other http://en.wikipedia.org/wiki/List_of_web_application_frameworks
Many offer sandbox servers to try on your PC as localhost without going online.

Offline

 

#11 2011-12-15 04:06:35

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

bump

do YOU Perl or Ruby? Link to some of your sourcecode...

Offline

 

#12 2012-01-04 06:21:17

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

My project (just on old account)
Here


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#13 2012-01-04 15:59:31

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

Servine wrote:

My project (just on old account)
Here

You were TornFusion? :o [/offtopic]

The OP wants a converter that converts Scratch projects to HMTL5, not a Scratch HTML5 builder.  tongue


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#14 2012-01-04 22:31:30

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

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

Hey eventexception... you've found lots of people's attempts and they've been showing off what they've tried to do, and you've kind of just shot down everybody's things. Maybe you should be a little bit more polite. Also, if what everybody's done doesn't please you, why don't you just make one yourself?


Posts: 20000 - Show all posts

Offline

 

#15 2012-01-05 05:51:53

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

MathWizz wrote:

Servine wrote:

My project (just on old account)
Here

You were TornFusion? :o [/offtopic]

The OP wants a converter that converts Scratch projects to HMTL5, not a Scratch HTML5 builder.  tongue

Why was it so hard to believe?  tongue

Oh, I could easily make a project WITHIN scratch that converts it by adapting the builder.


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#16 2012-01-05 08:53:08

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

Servine wrote:

MathWizz wrote:

Servine wrote:

My project (just on old account)
Here

You were TornFusion? :o [/offtopic]

The OP wants a converter that converts Scratch projects to HMTL5, not a Scratch HTML5 builder.  tongue

Why was it so hard to believe?  tongue

Not really, but REALLLY?

Wow.

Offline

 

#17 2012-01-05 15:40:59

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

veggieman001 wrote:

Hey eventexception...
...why don't you just make one yourself?

Did you read the first post of this thread?

I don´t want to reinvent the wheel
and i don´t want to do it all by myself.

I offered some ideas, for ex. use of WAMP or LAMP servers to convert.

http://www.netmeister.org/news/learn2quote2.html#ss2.1

Offline

 

#18 2012-01-05 17:24:37

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

eventexception wrote:

veggieman001 wrote:

Hey eventexception...
...why don't you just make one yourself?

[...]
I don´t want to reinvent the wheel
and i don´t want to do it all by myself.

I think many people would be happy to help you accomplish this as a collaboration, or you could ask to join an existing project. As there is no extant js-based player for scratch projects, you would not be reinventing the wheel, and could contribute a lot to the community.


nXIII

Offline

 

#19 2012-01-05 19:47:10

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

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

nXIII wrote:

eventexception wrote:

veggieman001 wrote:

Hey eventexception...
...why don't you just make one yourself?

[...]
I don´t want to reinvent the wheel
and i don´t want to do it all by myself.

I think many people would be happy to help you accomplish this as a collaboration, or you could ask to join an existing project. As there is no extant js-based player for scratch projects, you would not be reinventing the wheel, and could contribute a lot to the community.

Exactly what I was about to say. Lots of people are trying to work on it, and if you have ideas maybe you should work with them. There is no wheel to reinvent here sir. Only what you've been presented with.  smile

EDIT: Uh... aren't WAMPP/LAMPP servers just packages for Windows/Linux that include Apache, MySQL, PHP, and Perl...? Or did you mean something entirely different?

Last edited by veggieman001 (2012-01-05 19:48:51)


Posts: 20000 - Show all posts

Offline

 

#20 2012-01-05 19:51:32

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

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

eventexception wrote:

MathWizz wrote:

Did you see http://jsscratch.co.cc/player/ ? That is the converter itself.

I see nothing working in my browser without Flash or Java running... Please show your
corresponding Scratch project url beginning with http://scratch.mit.edu/projects/...
and your Html5 source code of your converted Scratch project
via pastebin or on your homepage, but do not paste code into the forums...

Oh and another thing;; those appear to work for me, at least partially

Last edited by veggieman001 (2012-01-05 19:51:44)


Posts: 20000 - Show all posts

Offline

 

#21 2012-01-06 03:09:35

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

Either show the source code of any converters on github
or offer online conversion of Scratch projects...
Conversion of sample Scratch projects by hand is not the solution.

Offline

 

#22 2012-01-08 14:25:31

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

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

eventexception wrote:

Either show the source code of any converters on github
or offer online conversion of Scratch projects...
Conversion of sample Scratch projects by hand is not the solution.

-_________________-
Did you read anything nXIII and I wrote?


Posts: 20000 - Show all posts

Offline

 

#23 2012-01-12 04:30:48

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

Veggieman001 and all other readers,
please vote on the official Scratch suggestion site for:

http://suggest.scratch.mit.edu/forums/60449-suggestions/suggestions/993819-html5

Just click login once, no registration required.
Please give three points. Thanks.

All talk, no voting?  Only 12 votes so far!!!
This takes you just a few klicks, no keystrokes.
Less to do than answering this.

This is neither my thread or suggestion there, it is for everyone who wishes to see some Scratch projects converted to Html5 by machine.

Last edited by eventexception (2012-01-19 11:32:13)

Offline

 

#24 2012-01-19 11:33:20

eventexception
Scratcher
Registered: 2011-04-08
Posts: 500+

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

´iProcessing is an open programming framework to help people develop native iPhone applications using the Processing language´

http://luckybite.com/iprocessing

Does not convert Scratch projects, but does a similar job  big_smile

Offline

 

#25 2012-01-27 09:58:06

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

Re: Scratch2html5 online converter, Html5 projects for a subset of blocks

eventexception wrote:

´iProcessing is an open programming framework to help people develop native iPhone applications using the Processing language´

http://luckybite.com/iprocessing

Does not convert Scratch projects, but does a similar job  big_smile

I used something similar, Processing.js, to port [link removed by moderator - .tk site appears to have been re-purposed for mature content to Javascript/HTML5. After doing this, I think it's almost even more fun to do it yourself, especially because you learn more.

Last edited by Paddle2See (2012-12-14 12:49:34)


Posts: 20000 - Show all posts

Offline

 
  • Index
  •  » Advanced Topics
  •  » Scratch2html5 online converter, Html5 projects for a subset of blocks

Board footer