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

#1051 2011-04-28 14:31:23

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

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

NOTICE
Lets get this re-started then.
I have decided to split the project into these parts:
Decoding the project
Sorting the data
Displaying Project Notes
Displaying the Stage
Adding Keys and Mouse
Adding Sound

These will be created in that order.
Check back to this post for details.

Okay, so Decoding the Project would entail blocks, right?

Offline

 

#1052 2011-04-28 14:33:15

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

Re: Lets make a new Scratch viewer!

Ok then the decoding a project.
This page may help.
This has been done so it shouldn't take too long.
Post a link to a URL or put your code here, when you are done or require help.

NOTE:
Decoding a project entails turning the .sb file into a use able format. So you split up the sprites, and find the scripts and costumes.

Last edited by johnnydean1 (2011-04-28 14:34:40)


You can now reach me on Twitter @johnnydean1_

Offline

 

#1053 2011-04-28 15:46:49

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

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

MathWizz was in charge of this, but if anyone can get the code I would allocate what needs doing.

I have all of the code.  big_smile


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

Offline

 

#1054 2011-04-28 15:54:09

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

Re: Lets make a new Scratch viewer!

MathWizz wrote:

johnnydean1 wrote:

MathWizz was in charge of this, but if anyone can get the code I would allocate what needs doing.

I have all of the code.  big_smile

yyyyyaaaaaaaaaaaaaaaay.  big_smile

Offline

 

#1055 2011-04-28 15:56:31

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

Re: Lets make a new Scratch viewer!

MathWizz wrote:

johnnydean1 wrote:

MathWizz was in charge of this, but if anyone can get the code I would allocate what needs doing.

I have all of the code.  big_smile

So, your still active?

Can you post the code?


You can now reach me on Twitter @johnnydean1_

Offline

 

#1056 2011-04-28 15:59:21

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

Re: Lets make a new Scratch viewer!

Sure!


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

Offline

 

#1057 2011-04-28 16:12:50

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

Re: Lets make a new Scratch viewer!

...

Offline

 

#1058 2011-04-28 16:26:17

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

Re: Lets make a new Scratch viewer!

ProgrammingFreak wrote:

...

...?

EDIT: Here are the main files.

Last edited by MathWizz (2011-04-28 16:34:41)


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

Offline

 

#1059 2011-04-28 17:37:47

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

Re: Lets make a new Scratch viewer!

I haven't viewed this thread in months... how's your progress?


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

Offline

 

#1060 2011-04-29 10:37:40

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

Re: Lets make a new Scratch viewer!

So far it looks like we will be starting again. (Poll on first post)


You can now reach me on Twitter @johnnydean1_

Offline

 

#1061 2011-04-29 11:19:50

Taneb
Scratcher
Registered: 2009-07-07
Posts: 100+

Re: Lets make a new Scratch viewer!

Quick question: why do we need HTML5? Isn't HTML 4.1+CSS+Javascript+PHP sufficient?

Offline

 

#1062 2011-04-29 14:36:22

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

Re: Lets make a new Scratch viewer!

Taneb wrote:

Quick question: why do we need HTML5? Isn't HTML 4.1+CSS+Javascript+PHP sufficient?

We are only using HTML5 for the 'canvas' command.
And we have already decided on HTML+JavaScript only.


You can now reach me on Twitter @johnnydean1_

Offline

 

#1063 2011-04-29 14:46:19

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

Taneb wrote:

Quick question: why do we need HTML5? Isn't HTML 4.1+CSS+Javascript+PHP sufficient?

We are only using HTML5 for the 'canvas' command.
And we have already decided on HTML+JavaScript only.

no CSS?  yikes


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#1064 2011-04-29 15:33:59

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

Re: Lets make a new Scratch viewer!

comp500 wrote:

johnnydean1 wrote:

Taneb wrote:

Quick question: why do we need HTML5? Isn't HTML 4.1+CSS+Javascript+PHP sufficient?

We are only using HTML5 for the 'canvas' command.
And we have already decided on HTML+JavaScript only.

no CSS?  yikes

I don't think so, unless its essential.


You can now reach me on Twitter @johnnydean1_

Offline

 

#1065 2011-04-29 15:37:54

EzekielE
Scratcher
Registered: 2010-09-26
Posts: 100+

Re: Lets make a new Scratch viewer!

one thing, on iPads and iPhones the keyboard might be a problem


http://mag.racked.eu/cimage/i2260/Achievement++get%21/Find+a+Disk/mca.pnghttp://ezekielelin.com/1x1Gif/image.php

Offline

 

#1066 2011-04-29 16:00:57

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

Re: Lets make a new Scratch viewer!

We decided on popup keyboards.


You can now reach me on Twitter @johnnydean1_

Offline

 

#1067 2011-04-30 04:37:39

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

We decided on popup keyboards.

i can help on that...


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#1068 2011-04-30 07:32:31

xIIV
New Scratcher
Registered: 2010-12-04
Posts: 72

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

comp500 wrote:

johnnydean1 wrote:


We are only using HTML5 for the 'canvas' command.
And we have already decided on HTML+JavaScript only.

no CSS?  yikes

I don't think so, unless its essential.

It would make it look nicer....


Helping helps others to help you.  wink

Offline

 

#1069 2011-04-30 08:20:19

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Lets make a new Scratch viewer!

xIIV wrote:

johnnydean1 wrote:

comp500 wrote:

no CSS?  yikes

I don't think so, unless its essential.

It would make it look nicer....

yes.....
i agree 15.  tongue

Last edited by comp500 (2011-04-30 08:39:19)


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#1070 2011-04-30 08:42:28

Taneb
Scratcher
Registered: 2009-07-07
Posts: 100+

Re: Lets make a new Scratch viewer!

Also, CSS is used for positioning (don't see how it could be done with just HTML and Javascript), and I thought PHP was being used for the file upload.

Offline

 

#1071 2011-04-30 08:53:35

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

I don't know anything about the canvas (I plan to look into it after the AP tests), but can you stretch images with the canvas?  The only way I know of to stretch images is with CSS


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#1072 2011-04-30 09:38:08

Taneb
Scratcher
Registered: 2009-07-07
Posts: 100+

Re: Lets make a new Scratch viewer!

I think using <img> tags for the sprites would be better than using a canvas for them, mainly because we can then use the onclick attribute for [blocks]<when[ sprite ]clicked>[/blocks]

Offline

 

#1073 2011-04-30 09:39:16

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Lets make a new Scratch viewer!

I am great at HTML. I can help.


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#1074 2011-04-30 09:49:36

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Lets make a new Scratch viewer!

MoreGamesNow wrote:

I don't know anything about the canvas (I plan to look into it after the AP tests), but can you stretch images with the canvas?  The only way I know of to stretch images is with CSS

i think you can...


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#1075 2011-04-30 09:51:07

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Lets make a new Scratch viewer!

Taneb wrote:

I think using <img> tags for the sprites would be better than using a canvas for them, mainly because we can then use the onclick attribute for [blocks]<when[ sprite ]clicked>[/blocks]

erm i think no becouse people can drag img tags so it would be best to use <div> tags with background-image on them...


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

Board footer