Pictures for page 42 onwards.
42-2 and 42-4 can't be done because apparently I can't make a script pic of a ring (Jens...). The <[] is a []> block has a text (rather than dropdown) input because that block doesn't exist and I can't make custom dropdowns.
Offline
Hardmath123 wrote:
Maybe all blocks created for the stage are global?
Noooo, don't encourage him! That was the kludge they used in Scratch, but the stage is an object just as a sprite is, and sprites don't inherit from the stage. When we get an object system going, there will be a prototype Sprite that toplevel sprites inherit from, and that's where global blocks will go.
Offline
Hardmath123 wrote:
Pictures for page 42 onwards.
42-2 and 42-4 can't be done because apparently I can't make a script pic of a ring (Jens...). The <[] is a []> block has a text (rather than dropdown) input because that block doesn't exist and I can't make custom dropdowns.
Thanks! You're awesome.
Offline
bharvey wrote:
Hardmath123 wrote:
Pictures for page 42 onwards.
42-2 and 42-4 can't be done because apparently I can't make a script pic of a ring (Jens...). The <[] is a []> block has a text (rather than dropdown) input because that block doesn't exist and I can't make custom dropdowns.Thanks! You're awesome.
You're welcome. What do I do about "ring" images?
Offline
joefarebrother wrote:
Save failed: TypeError: Object a ArgMorph 0 [580@419|12@13] has no method 'toXML'
(You should really let users copy and paste these error messages - I had to copy that out by hand)
That has happened in ALL my projects. Why?
GRR, I can't post the images because their URLs exceed the scratch forum character limit! You should REALLY write a PHP script to generate the images!
Offline
joefarebrother wrote:
Save failed: TypeError: Object a ArgMorph 0 [580@419|12@13] has no method 'toXML'
Sorry, I was leaving this one for Jens.
I can save projects. Is there something in your projects that we're likely not to have serialized yet? I thought it might be rings but I can save those.
Offline
bharvey wrote:
joefarebrother wrote:
Save failed: TypeError: Object a ArgMorph 0 [580@419|12@13] has no method 'toXML'
Sorry, I was leaving this one for Jens.
I can save projects. Is there something in your projects that we're likely not to have serialized yet? I thought it might be rings but I can save those.
It might be the upvars? That's the only thing I can think of that all my projects had in common...
Offline
Being a Mac user, I just drag it onto my folder.
Jens, maybe you could set the document.title to something a bit nicer than the DataURI, so that if you open up 3 or 4, you can tell them apart. Even something as simple as Script1, Script2, etc. would help out a lot. Thanks!
Offline
one thing that's really annoying in C-slots inside custom blocks: you can drop reporters in there - if it miss the right place the script pops out. it really annoys once you have large scripts. could you maybe disable it?
Offline
script pictures of ringified blocks now work, thanks for the report! Please reload the Snap! page while holding down the shift key to make the changes take effect.
Last edited by Jens (2012-05-06 07:42:52)
Offline
Hardmath123 wrote:
Being a Mac user, I just drag it onto my folder.
Jens, maybe you could set the document.title to something a bit nicer than the DataURI, so that if you open up 3 or 4, you can tell them apart. Even something as simple as Script1, Script2, etc. would help out a lot. Thanks!
It's an image fie though, not an HTML. The browser automatically uses the URL as the title.
Hey, you can use document.title to change the title? Cool!
Offline
he jens, can you enable script pic for PrototypeHatBlockMorph?
another little thing: did you mean to have the lamda sign on c-slots? because on page 15 it says it should be '['
Last edited by roijac (2012-05-06 14:37:24)
Offline
scimonster wrote:
Hardmath123 wrote:
Being a Mac user, I just drag it onto my folder.
Jens, maybe you could set the document.title to something a bit nicer than the DataURI, so that if you open up 3 or 4, you can tell them apart. Even something as simple as Script1, Script2, etc. would help out a lot. Thanks!It's an image fie though, not an HTML. The browser automatically uses the URL as the title.
Hey, you can use document.title to change the title? Cool!
Unfortunately, the window is not a html page, it's a data url. It does not behave in the same way and I don't think you can set the title.
Offline
rookwood101 wrote:
scimonster wrote:
Hardmath123 wrote:
Being a Mac user, I just drag it onto my folder.
Jens, maybe you could set the document.title to something a bit nicer than the DataURI, so that if you open up 3 or 4, you can tell them apart. Even something as simple as Script1, Script2, etc. would help out a lot. Thanks!It's an image fie though, not an HTML. The browser automatically uses the URL as the title.
Hey, you can use document.title to change the title? Cool!Unfortunately, the window is not a html page, it's a data url. It does not behave in the same way and I don't think you can set the title.
That's what i said...
For the second line, i was referring to a regular HTML/JS page.
Offline
roijac wrote:
did you mean to have the lamda sign on c-slots? because on page 15 it says it should be '['
That was Jens's idea. He thinks it'll teach the idea better if every input type that's really a procedure, even the unevaluated-type slots, shows a lambda hint in the prototype. I haven't updated the manual to reflect this yet.
Offline
The script image urls are REALLY long. They actually exceed the scratch forum 64kb size limit! Could you maybe write a PHP page to generate the images? Then the url will be shorter, and I could post the images on the forums.
Offline
scimonster wrote:
rookwood101 wrote:
scimonster wrote:
It's an image fie though, not an HTML. The browser automatically uses the URL as the title.
Hey, you can use document.title to change the title? Cool!Unfortunately, the window is not a html page, it's a data url. It does not behave in the same way and I don't think you can set the title.
That's what i said...
For the second line, i was referring to a regular HTML/JS page.
Oops! didn't read your post correctly
Offline
zebra coloring bug:
drop a reporter so it gets colored, now drop it elsewhere...
http://tinyurl.com/zebracoloringbug
Offline
scimonster wrote:
Hardmath123 wrote:
Being a Mac user, I just drag it onto my folder.
Jens, maybe you could set the document.title to something a bit nicer than the DataURI, so that if you open up 3 or 4, you can tell them apart. Even something as simple as Script1, Script2, etc. would help out a lot. Thanks!It's an image fie though, not an HTML. The browser automatically uses the URL as the title.
Hey, you can use document.title to change the title? Cool!
Well, as far as I'm concerned, just the window title is good enough, because I rename the images anyway.
You shouldn't use window.title "just like that", you should only use it for specially generated windows. Content windows like a normal blog shouldn't change their title during runtime as it can confuse search engines. Imagine a page titled "blogp1" in Google! Anyway, it is in some cases even a form of SEO because someone can title a window "Our Solar System" in the HTML, then rename it to "Cheap Deals on Airline Tickets" in the JS.
Offline