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

#176 2011-12-17 07:49:57

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

Re: JsScratch viewer development thread

MathWizz wrote:

Forms with depth of 16 are... Umm... Interesting. http://jsscratch.co.cc/player/player.ht … g+test3.sb  hmm

Hmm. What method are you using to do this? Maybe there's a better way.

Offline

 

#177 2011-12-17 08:11:41

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: JsScratch viewer development thread

What functions does this have right now?


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#178 2011-12-17 08:31:56

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

Re: JsScratch viewer development thread

scratcher7_13 wrote:

What functions does this have right now?

All it can do is open a Scratch file and display the sprites on the screen. Now to move on to rotating sprites!  big_smile


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

Offline

 

#179 2011-12-17 18:02:39

W00tage
New Scratcher
Registered: 2011-06-23
Posts: 14

Re: JsScratch viewer development thread

I really want to help this project get going. Can I join? I've got some javascript and html experience.

Offline

 

#180 2011-12-17 18:52:02

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

Re: JsScratch viewer development thread

W00tage wrote:

I really want to help this project get going. Can I join? I've got some javascript and html experience.

no


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

Offline

 

#181 2011-12-18 11:40:49

W00tage
New Scratcher
Registered: 2011-06-23
Posts: 14

Re: JsScratch viewer development thread

midnightleopard wrote:

W00tage wrote:

I really want to help this project get going. Can I join? I've got some javascript and html experience.

no

I can kinda see why that troll face is on your signature.

Offline

 

#182 2011-12-18 13:29:21

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

Re: JsScratch viewer development thread

W00tage wrote:

I can kinda see why that troll face is on your signature.

I'm pretty sure midnightleopard was being serious.  These guys want to keep this project and the team manageable and compact.


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

Offline

 

#183 2011-12-18 14:36:45

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

Re: JsScratch viewer development thread

MoreGamesNow wrote:

W00tage wrote:

I can kinda see why that troll face is on your signature.

I'm pretty sure midnightleopard was being serious.  These guys want to keep this project and the team manageable and compact.

exactly. I am glad someone gets it.


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

Offline

 

#184 2011-12-30 09:21:43

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: JsScratch viewer development thread

Hey guys, I'm just bumping this up with a question of mine.

As very few of you may know, Mod Share 2 had been taken down by 000webhost for some stupid reason, so I am now developing Mod Share 3 with the aid of a friend from the U.S.

Of course, we plan on implementing the Flash player just like we did in MS2 for project previews. However, I wanted to know how JsScratch is going and if there's any hope you can finish it soon enough, so I can add functionality for (some) bingo/panther blocks to it and use it as a second option on Mod Share 3!

Thanks  wink

Last edited by LS97 (2011-12-30 09:22:08)

Offline

 

#185 2011-12-30 10:21:02

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

Re: JsScratch viewer development thread

We could start making blocks at this point. Getting threads and things to work in JavaScript could be a minor pain but if we work at it, it could be done soon (I don't really know what soon means  tongue  ).


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

Offline

 

#186 2011-12-30 10:31:51

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: JsScratch viewer development thread

I guess that's a reasonable response...  tongue
Mod Share 3 won't really take any more than a month (or even two weeks maybe) but of course the viewer can come later.

I saw you got costumes working, and everything looks ready for blocks to edge their way in. Also, is there any current source to view except for the one that my browser reads? Which is messy and hard to organize  tongue

Last edited by LS97 (2011-12-30 10:32:20)

Offline

 

#187 2011-12-30 11:03:19

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

Re: JsScratch viewer development thread

LS97 wrote:

I saw you got costumes working, and everything looks ready for blocks to edge their way in. Also, is there any current source to view except for the one that my browser reads? Which is messy and hard to organize  tongue

Nope.  tongue


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

Offline

 

#188 2011-12-30 11:20:29

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: JsScratch viewer development thread

MathWizz wrote:

LS97 wrote:

I saw you got costumes working, and everything looks ready for blocks to edge their way in. Also, is there any current source to view except for the one that my browser reads? Which is messy and hard to organize  tongue

Nope.  tongue

Aww OK, I'll wait for the finished product. You'll release a source then wont ya  wink

Offline

 

#189 2011-12-30 12:05:07

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

Re: JsScratch viewer development thread

Remember, scratch started out without an online viewer as well. You don't have to wait for us. (Anyways, I hardly understand the code. I spend a lot of time reading it, but I am new to binary.)

MathWizz, maybe you could explain it to me in Magnie's chat sometime?

Last edited by midnightleopard (2011-12-30 12:05:29)


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

Offline

 

#190 2011-12-30 13:10:49

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

Re: JsScratch viewer development thread

LS97 wrote:

MathWizz wrote:

LS97 wrote:

I saw you got costumes working, and everything looks ready for blocks to edge their way in. Also, is there any current source to view except for the one that my browser reads? Which is messy and hard to organize  tongue

Nope.  tongue

Aww OK, I'll wait for the finished product. You'll release a source then wont ya  wink

The source is jsscratch.js.


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

Offline

 

#191 2011-12-30 16:11:50

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: JsScratch viewer development thread

midnightleopard wrote:

Remember, scratch started out without an online viewer as well. You don't have to wait for us. (Anyways, I hardly understand the code. I spend a lot of time reading it, but I am new to binary.)

MathWizz, maybe you could explain it to me in Magnie's chat sometime?

I don't understand the code very well. I'm trying to read through it a lot.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#192 2011-12-30 16:41:58

ZeroLuck
Scratcher
Registered: 2010-02-23
Posts: 500+

Re: JsScratch viewer development thread

GP1 wrote:

I don't understand the code very well. I'm trying to read through it a lot.

I wrote a SBReader in Java... (Using Decompiler)
If you want I can give it to you.


http://3.bp.blogspot.com/-oL2Atzp0Byw/T465vIQ36dI/AAAAAAAAADo/1vqL4PvhkM0/s1600/scratchdachwiki.png

Offline

 

#193 2011-12-30 19:18:18

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: JsScratch viewer development thread

ZeroLuck wrote:

GP1 wrote:

I don't understand the code very well. I'm trying to read through it a lot.

I wrote a SBReader in Java... (Using Decompiler)
If you want I can give it to you.

No thanks. I would, but I don't know Java  sad


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#194 2011-12-31 08:09:29

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

Re: JsScratch viewer development thread

Jeez, I'm confused. Some with the code and others with what I'm supposed to do. :'(

Offline

 

#195 2011-12-31 08:48:48

Dawgles
Scratcher
Registered: 2011-07-29
Posts: 100+

Re: JsScratch viewer development thread

Just some foresight, won't this run a little worse than it could because you're using morphic? That's a considerable overhead that you could do away with by making it 100% native.

Last edited by Dawgles (2011-12-31 08:49:09)

Offline

 

#196 2011-12-31 08:52:29

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

Re: JsScratch viewer development thread

Dawgles wrote:

Just some foresight, won't this run a little worse than it could because you're using morphic? That's a considerable overhead that you could do away with by making it 100% native.

I think you should help. You're extremely smart in Javascript and other things.

Last edited by ProgrammingFreak (2011-12-31 08:52:44)

Offline

 

#197 2011-12-31 10:10:31

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

Re: JsScratch viewer development thread

Dawgles wrote:

Just some foresight, won't this run a little worse than it could because you're using morphic? That's a considerable overhead that you could do away with by making it 100% native.

Potentially. I'm beginning to think about ditching it mainly because of rotating sprites that morphic does not support (it may in the future, idk.) If I weren't so busy, I'd be working on it right now...


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

Offline

 

#198 2011-12-31 10:12:41

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

Re: JsScratch viewer development thread

Ha. I was against using morphic this whole time (I don't get squeak). If we're ever going to switch over, I've got an algorithm already planned out.


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

Offline

 

#199 2011-12-31 10:17:15

Dawgles
Scratcher
Registered: 2011-07-29
Posts: 100+

Re: JsScratch viewer development thread

ProgrammingFreak wrote:

Dawgles wrote:

Just some foresight, won't this run a little worse than it could because you're using morphic? That's a considerable overhead that you could do away with by making it 100% native.

I think you should help. You're extremely smart in Javascript and other things.

I have some idea to do with dynamic code generation, but I don't think I can work with morphic or the scratch file format as I'm not familiar with either.

Offline

 

#200 2011-12-31 10:25:53

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

Re: JsScratch viewer development thread

Here is some JSON for a raw script directly from the Scratch file:

Code:

[{"x":20,"y":747},[["changeVariable","HighScore","setVar:to:",["readVariable","Score"]]]]

Can you do anything with that?

Last edited by MathWizz (2011-12-31 10:59:53)


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

Offline

 

Board footer