Thanks. I didn't know.
Also, which morphs do you want me to research?
Offline
bobbybee wrote:
Thanks. I didn't know.
Also, which morphs do you want me to research?
Probably the most useful ones first — I imagine the ones relating to scripts, as we could use them for writing out scripts to a file for this. After that, I guess probably the starred ones as they're likely to be more used (:
Basically, whichever ones you like
Last edited by blob8108 (2011-12-16 07:41:11)
Offline
Alright.
Offline
Actually, all scripts are converted to tuples before they are saved; each stack is converted to: (where () indicates an array)
(position (block1 block2 block3 ...))
each block is converted to:
(selector arg1 arg2 arg3 ...)
if the argument is a number, string, boolean, or color it is just included as the (n+1)th member of the array. If it is a block, the block is converted to a tuple and included in the correct place.
EDIT: )) trouble....
Last edited by nXIII (2011-12-16 08:58:28)
Offline
MathWizz wrote:
I joined the wiki.
Cool! Duly accepted
Offline
MathWizz wrote:
BTW, what text editor do you use?
For what? For general text editing I use TextWrangler on a Mac. The wiki has its own web-based editor thingy.
Last edited by blob8108 (2011-12-16 17:00:48)
Offline
blob8108 wrote:
MathWizz wrote:
Whoops, I ment HEX editor.
That makes more sense! I'm using Hex Fiend. It seems rather nice.
Why are the shiny programs for Macs?
Last edited by MathWizz (2011-12-16 17:17:12)
Offline
MathWizz wrote:
blob8108 wrote:
MathWizz wrote:
Whoops, I ment HEX editor.
That makes more sense! I'm using Hex Fiend. It seems rather nice.
Why are the shinny programs for Macs?
I know, it's sad, isn't it? Maybe it's because Macs are shiny.
Offline
blob8108 wrote:
MathWizz wrote:
Stuff.
I know, it's sad, isn't it? Maybe it's because Macs are shiny.
Not as shiny as as grdients:
Grrrraaaaaadddddiiiieeeennnnnttttttt. Yes, I am obsessed with them.
Last edited by MathWizz (2011-12-16 17:17:34)
Offline
MathWizz wrote:
blob8108 wrote:
MathWizz wrote:
Stuff.
I know, it's sad, isn't it? Maybe it's because Macs are shiny.
Not as shiny as as grdients:
http://www.online-photoshoptutorials.co … ent-bg.png
Grrrraaaaaadddddiiiieeeennnnnttttttt. Yes, I am obsessed with them.
Oh, dear.
Offline
You may want to look at my current project, a Scratch player in JavaScript that can read Scratch files: http://jsscratch.co.cc/player/
Offline
It looks really interesting MathWizz. Was that where Go Everywhere got it's code from?
Offline
bobbybee wrote:
It looks really interesting MathWizz. Was that where Go Everywhere got it's code from?
No. I think that they found a Squeak VM port to other platforms.
Offline
MathWizz wrote:
You may want to look at my current project, a Scratch player in JavaScript that can read Scratch files: http://jsscratch.co.cc/player/
I have been following that thread, in fact, after nXIII linked it. Some of the stuff there was quite useful.
Offline
Alright, I'll take a much closer look at it if necessary.
Offline
MathWizz wrote:
blob8108 wrote:
MathWizz wrote:
Whoops, I ment HEX editor.
That makes more sense! I'm using Hex Fiend. It seems rather nice.
Why are the shiny programs for Macs?
XVI32 is a quality hex editor that I use whenever the need arises.
Offline
Oooo. Shiny.
Offline
what is a byte? I don't get it
Offline
midnightleopard, a byte is a 8 bits. For instance, "Bytes" is 5 bytes long.
Offline
nXIII wrote:
Actually, all scripts are converted to tuples before they are saved; each stack is converted to: (where () indicates an array)
(position (block1 block2 block3 ...))
each block is converted to:
(selector arg1 arg2 arg3 ...)
if the argument is a number, string, boolean, or color it is just included as the (n+1)th member of the array. If it is a block, the block is converted to a tuple and included in the correct place.
Having parsed a few scripts, I understand this now!
The Python library is going pretty well — I can now parse whole sprite files into Python, make some changes, and write them back again.
Offline
I'll try it out, then.
Offline