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

#801 2010-11-15 02:49:42

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

Re: Lets make a new Scratch viewer!

ScratchReallyROCKS wrote:

meowmeow55 wrote:

Just a thought here...

It seems that the posts in this thread are getting a little, er, close together in terms of posting time. Perhaps you should set up a chatroom or Hamachi network so that you can get more work done when you are all online?

We could set one up on the website....hmm....who has access to the files on the website anyway?

I do, I'll set up a live chat thing tonight  tongue


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

Offline

 

#802 2010-11-15 07:25:45

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

Re: Lets make a new Scratch viewer!

Wait, am I coding in Jscript or JavaScript?
Btw, What is Mathwizz loading?

Offline

 

#803 2010-11-15 07:54:27

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

Re: Lets make a new Scratch viewer!

ProgrammingFreak wrote:

Wait, am I coding in Jscript or JavaScript?

Both, they are th same thing.

ProgrammingFreak wrote:

Btw, What is Mathwizz loading?

Huh?


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

Offline

 

#804 2010-11-15 08:03:03

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

Re: Lets make a new Scratch viewer!

You were showing SRR something

Offline

 

#805 2010-11-15 11:38:37

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

Re: Lets make a new Scratch viewer!

TriTeam wrote:

johnnydean1 wrote:

How about we use a combination of:
HTML
PHP
J-Script
And others

To make a new Scratch viewer.

It would not use Flash, Squeak, Java or any others.

If we design it to scale to the screen then anything we view it on would be able to view Scratch projects.

If we made it using these we could view any project on a:
COMPUTER
And anything else with a web browser!


So can we make it?

Uh, dude? HTML5? Hello?

Umm, no sorry I am staying clear of HTML5 as Internet Explorer, DSi and Wii don't support it.

Last edited by johnnydean1 (2010-11-15 11:39:09)


You can now reach me on Twitter @johnnydean1_

Offline

 

#806 2010-11-15 11:38:44

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

Re: Lets make a new Scratch viewer!

I have decided to do an Execution Engine like the Scratch one, because you don't mind and I find it easier.


/* No comment */

Offline

 

#807 2010-11-15 11:39:39

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

Re: Lets make a new Scratch viewer!

TheSuccessor wrote:

I have decided to do an Execution Engine like the Scratch one, because you don't mind and I find it easier.

Thats ok  big_smile


You can now reach me on Twitter @johnnydean1_

Offline

 

#808 2010-11-15 11:41:04

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

Re: Lets make a new Scratch viewer!

Ok

EDIT: xD! jd1 we said the same thing!

Last edited by ProgrammingFreak (2010-11-15 11:42:08)

Offline

 

#809 2010-11-15 11:43:10

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

Re: Lets make a new Scratch viewer!

ScratchReallyROCKS wrote:

MathWizz wrote:

ScratchReallyROCKS wrote:

Where exactly are the scripts in the output from the reader?

I'll upload the new version then explain. Hang on...

Thanks!

EDIT: I see you added a size warning.

I have seen the new viewer, but is there anyway to open bigger projects, like it does this:

Your project = 6000 letters
It does
var1 set to (letters 0001 - 2000 of project)
var2 set to (letters 2000 - 4000 of project)
var3 set to (letters 4000 - 6000 of project)

Then decodes all 3 individualy, then:
var1 set to (join var1 and (join var2 and var3) )

at the end???


You can now reach me on Twitter @johnnydean1_

Offline

 

#810 2010-11-15 11:50:54

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

Re: Lets make a new Scratch viewer!

Ok so code for broadcast be
alert(broadcast001)
Right? No!! Nevermind

Offline

 

#811 2010-11-15 11:52:19

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

Re: Lets make a new Scratch viewer!

I dunno JScript PHP or HTML so I cant help!


You can now reach me on Twitter @johnnydean1_

Offline

 

#812 2010-11-15 11:53:52

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

Re: Lets make a new Scratch viewer!

Its wrong! That brings up a dialog box. Helpful if we do Bingo MOD

Last edited by ProgrammingFreak (2010-11-15 11:56:09)

Offline

 

#813 2010-11-15 11:56:22

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

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

ScratchReallyROCKS wrote:

MathWizz wrote:

I'll upload the new version then explain. Hang on...

Thanks!

EDIT: I see you added a size warning.

I have seen the new viewer, but is there anyway to open bigger projects, like it does this:

Your project = 6000 letters
It does
var1 set to (letters 0001 - 2000 of project)
var2 set to (letters 2000 - 4000 of project)
var3 set to (letters 4000 - 6000 of project)

Then decodes all 3 individualy, then:
var1 set to (join var1 and (join var2 and var3) )

at the end???

I dunno... I'll play around with it a little...
EDIT:
I found the scripts!  big_smile

Code:

object
Morph
variables: Array[21]
0: Rectangle
1: "null"
2: Array[3]
3: Color
4: 0
5: "null"
6: "Stage"
7: Dictionary
8: Array[0]
9: false
10: Array[1]
11: Morph
12: 1072693248
13: 0
14: 0
15: "null"
16: Array[3]
0: Morph
variables: Array[21]
0: Rectangle
1: Morph
2: Array[0]
3: Color
4: 0
5: "null"
6: "Sprite1"
7: Dictionary
8: Array[1]
0: Array[2]
0: Point
x: 20
y: 1077149696
__proto__: Point
[color=red][b]1: Array[2]
0: Array[2]
0: "EventHatMorph"
1: "Scratch-StartClicked"
length: 2
__proto__: Array[0]
1: Array[3]
0: "say:duration:elapsed:from:"
1: "Hello!"
2: 2[/b][/color]
length: 3
__proto__: Array[0]
length: 2
__proto__: Array[0]
length: 2
__proto__: Array[0]
length: 1
__proto__: Array[0]
9: false
10: Array[2]
11: Morph
12: 100
13: Point
14: 0
15: "normal"
16: 100
17: 60
18: false
19: Dictionary
20: Dictionary
length: 21
__proto__: Array[0]
version: 3
__proto__: Morph
1: Morph
2: Morph
length: 3
__proto__: Array[0]
17: 100
18: 60
19: Dictionary
20: Dictionary
length: 21
__proto__: Array[0]
version: 5
__proto__: Morph

EDIT2: Forgot BBCode doesn't work in code boxes. XD

Code:

1: Array[2]
0: Array[2]
0: "EventHatMorph"
1: "Scratch-StartClicked"
length: 2
__proto__: Array[0]
1: Array[3]
0: "say:duration:elapsed:from:"
1: "Hello!"
2: 2
length: 2
__proto__: Array[0]

Last edited by MathWizz (2010-11-15 12:01:18)


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

Offline

 

#814 2010-11-15 11:56:48

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

Re: Lets make a new Scratch viewer!

What are you doing?

Offline

 

#815 2010-11-15 12:01:33

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

Re: Lets make a new Scratch viewer!

Me, well I'm project leader and can help out with bugs and testing.

@MathWizz
Thanks, my PKMN game that im making ATM I wanted to play on my DS (So I started this whole thing off. So it was sorta a disapointment when it didn't open if you get me.


You can now reach me on Twitter @johnnydean1_

Offline

 

#816 2010-11-15 12:04:12

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

Re: Lets make a new Scratch viewer!

@MathWizz:
What does that do?

Offline

 

#817 2010-11-15 12:05:06

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

Re: Lets make a new Scratch viewer!

Right I'm starting making the arrow key thing  tongue


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

Offline

 

#818 2010-11-15 12:06:09

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

Re: Lets make a new Scratch viewer!

Great!

Offline

 

#819 2010-11-15 12:07:20

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

Re: Lets make a new Scratch viewer!

Daffy22 wrote:

Right I'm starting making the arrow key thing  tongue

MAKE Z CHATZ WIGHT NOAW!!!!!  tongue

EDIT: AlL CapS dOn'T woRk TOO wEll.

Last edited by MathWizz (2010-11-15 12:09:35)


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

Offline

 

#820 2010-11-15 12:08:10

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

Re: Lets make a new Scratch viewer!

DO you want me to create the Hamachi network?

Offline

 

#821 2010-11-15 12:09:53

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

Re: Lets make a new Scratch viewer!

How are the scripts being processed after being read? I need to know this to program the EE. I could create a ScratchBlock object in JS if necessary.


/* No comment */

Offline

 

#822 2010-11-15 12:10:36

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

Re: Lets make a new Scratch viewer!

ProgrammingFreak wrote:

DO you want me to create the Hamachi network?

No, we just need to embed one into the website.


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

Offline

 

#823 2010-11-15 12:11:59

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

Re: Lets make a new Scratch viewer!

TheSuccessor wrote:

How are the scripts being processed after being read? I need to know this to program the EE. I could create a ScratchBlock object in JS if necessary.

I'm making all the classes necessary, but you may help. There are a lot of them!


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

Offline

 

#824 2010-11-15 12:15:46

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

Re: Lets make a new Scratch viewer!

Would I be able to access the BlockMorph and subclasses properties in the same way as in squeak?
E.g. var blockReceiver = aBlock.reciever;


/* No comment */

Offline

 

#825 2010-11-15 12:16:50

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

Re: Lets make a new Scratch viewer!

Ok so everyones alright.

@MathWizz
Will that var1 var2 var3 thing work for big projects?


You can now reach me on Twitter @johnnydean1_

Offline

 

Board footer