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

#76 2010-09-19 16:41:23

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

Re: Lets make a new Scratch viewer!

Daffy22 wrote:

BTW: who ever corrected NXlll did it wrong - they declared the script type javascript when it's actually PHP so it should be <? code ?> like that  wink

Well, it's a rather strange piece of code because it's a PHP script inside a JavaScript script. I forgot to use addslashes(), etc. to make it JS-string-friendly, though.


nXIII

Offline

 

#77 2010-09-19 16:58:09

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

nXIII wrote:

johnnydean1 wrote:

Thou make thou's work open source

Of course!

johnnydean1 wrote:

thou attempts to make it compatable with IE, eg. no HTML 5 (if possible)

Not Internet Explorer!
*random IE Moaning*
JK.

Well, if we want ie compatibility we might have to get rid of some blocks like rotation unless you want to do an Ajax request every frame (no, only Google can do that  tongue )

Ok make a full version, with as much not written in HTML 5 as posssible.


You can now reach me on Twitter @johnnydean1_

Offline

 

#78 2010-09-19 17:25:23

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

I-Pod
I-Phone
I-Pad
DS (with browser game)
DSi
DSi XL
Wii

Offline

 

#79 2010-09-20 02:50:48

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Lets make a new Scratch viewer!

Well I think the first thing to work on is converting a encoded project into a 'fake' script that we can make PHP understand. Then we can write each html5 command for each block to a new file or even an array.  hmm


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#80 2010-09-20 15:06:54

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

Re: Lets make a new Scratch viewer!

Here, I'm just looking into the squeak objStream methods for writing the file.


nXIII

Offline

 

#81 2010-09-20 15:29:06

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Lets make a new Scratch viewer!

Daffy22 wrote:

Well I think the first thing to work on is converting a encoded project into a 'fake' script that we can make PHP understand. Then we can write each html5 command for each block to a new file or even an array.  hmm

I was going to suggest that!  mad   tongue


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#82 2010-09-20 16:00:12

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Lets make a new Scratch viewer!

nXIII wrote:

Here, I'm just looking into the squeak objStream methods for writing the file.

I'm looking there too. Wouldn't it be great if you convert some jiba jaba into this:
[when clicked]
[turn 34 degrees]

It would be a lot easier if we could get that to happen!  big_smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#83 2010-09-20 16:09:35

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Lets make a new Scratch viewer!

Daffy22 wrote:

nXIII wrote:

Here, I'm just looking into the squeak objStream methods for writing the file.

I'm looking there too. Wouldn't it be great if you convert some jiba jaba into this:
[when clicked]
[turn 34 degrees]

It would be a lot easier if we could get that to happen!  big_smile

That's what project summaries are.......hmm....


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#84 2010-09-20 16:48:12

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

Re: Lets make a new Scratch viewer!

No, guys, you're forgetting that a lot of data (like image data, sprite names, argument types, etc.) is stored, not just the blocks.

Last edited by nXIII (2010-09-20 16:48:22)


nXIII

Offline

 

#85 2010-09-20 17:03:05

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

i know!


You can now reach me on Twitter @johnnydean1_

Offline

 

#86 2010-09-20 19:48:29

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Lets make a new Scratch viewer!

First, You guys need a sever.(for testing and storing data)Then you can code up the viewer.


http://i.imgur.com/YBeXc.png

Offline

 

#87 2010-09-20 20:42:14

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

Re: Lets make a new Scratch viewer!

pwiter wrote:

First, You guys need a sever.(for testing and storing data)Then you can code up the viewer.

roll
No, I just use XAMPP!

I'm already coding the viewer.


nXIII

Offline

 

#88 2010-09-20 21:19:27

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Lets make a new Scratch viewer!

hi everyone, html 5 is awesome, but correct me if I'm wrong, you need JS to make it do stuff.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#89 2010-09-20 21:25:34

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

Re: Lets make a new Scratch viewer!

midnightleopard wrote:

hi everyone, html 5 is awesome, but correct me if I'm wrong, you need JS to make it do stuff.

yea.


nXIII

Offline

 

#90 2010-09-20 21:27:40

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Lets make a new Scratch viewer!

nXIII wrote:

midnightleopard wrote:

hi everyone, html 5 is awesome, but correct me if I'm wrong, you need JS to make it do stuff.

yea.

so is the only HTML 5 element of the new viewer a canvas? How are you decoding the project code? It's like Egyptian hieroglyphs!


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#91 2010-09-21 02:19:50

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Lets make a new Scratch viewer!

nXIII wrote:

pwiter wrote:

First, You guys need a sever.(for testing and storing data)Then you can code up the viewer.

roll
No, I just use XAMPP!

I'm already coding the viewer.

I've got an FTP manager set up to a test server!  big_smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#92 2010-09-21 02:57:28

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Lets make a new Scratch viewer!

I've worked out a few blocks in the project eg:
=   hello   hello
is this:
<hello = hello>  big_smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#93 2010-09-21 11:37:18

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Lets make a new Scratch viewer!

johnnydean1, could you add me to the list?  big_smile  Thanks.


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#94 2010-09-21 14:53:46

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

Re: Lets make a new Scratch viewer!

Daffy22 wrote:

I've got an FTP manager set up to a test server!  big_smile

I'M USING XAMPP RIGHT NOW!

PS: I shouldn't be on this list, my project is not part of yours.

Last edited by nXIII (2010-09-21 14:54:28)


nXIII

Offline

 

#95 2010-09-21 14:55:33

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Lets make a new Scratch viewer!

nXIII wrote:

Daffy22 wrote:

I've got an FTP manager set up to a test server!  big_smile

I'M USING XAMPP RIGHT NOW!

PS: I shouldn't be on this list, my project is not part of yours.

I'm not the founder of this idea, johnny is I think.  big_smile
PS: how are you doing?


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#96 2010-09-21 15:22:04

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Lets make a new Scratch viewer!

I can do HTML, PHP and JS. (Also SVG if that would be helpful.) Can I join?


/* No comment */

Offline

 

#97 2010-09-21 15:22:32

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

Re: Lets make a new Scratch viewer!

Daffy22 wrote:

PS: how are you doing?

How am I doing?

(I was talking to jd1 with the PS, sorry to confuse you  tongue )


nXIII

Offline

 

#98 2010-09-21 15:26:41

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

Ok  big_smile  Ill change it, sorry I did ask and BTW Yes to Successor


You can now reach me on Twitter @johnnydean1_

Offline

 

#99 2010-09-21 15:29:22

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

nXIII wrote:

Daffy22 wrote:

I've got an FTP manager set up to a test server!  big_smile

I'M USING XAMPP RIGHT NOW!

Can you do it without the server and make it self contained?


You can now reach me on Twitter @johnnydean1_

Offline

 

#100 2010-09-21 15:35:18

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

Ok  big_smile  Ill change it, sorry I did ask and BTW Yes to Successor

OK  smile


/* No comment */

Offline

 

Board footer