First, credit where credit is due. Hardmath123, for coming up with the idea, and doing a bunch of the initial styling. And veggieman001, for making some minor fixes. And JSO, for creating his Blocks Plugin.
---
This is a page that simulates a list in Scratch. You type each item on a new line, and it will parse into list format. You can also give it a title, in the box above.
I'm working on making it even more awesome.
Please report bugs, and give feedback!
http://dl.dropbox.com/u/42774013/Scratc … eator.html
Offline
slinger wrote:
Sweet, it looks exactly like the 1.4 lists!
Maybe add a scroll bar?
I'll get to a scroll bar eventually.
Offline
Right now i'm working on making the lists editable internally, instead of via the other textarea.
Did pretty well, ran into some annoying problems, and had a great idea. Gonna try it out now.
I'm working on this in a local copy btw, so you can't see all the tests and fails.
Offline
This is awesome
Offline
nathanprocks wrote:
Is the final version going to have image output?
Like, export as an image? Probably not.
Update! You can now use the + button at the bottom to add an item! You can also click in an item to edit it!
A known bug is that the size doesn't always update right away in some browsers. This is a technical restriction, and will not be fixed. You can just click outside and then go back in if you need to update the size of the item.
Offline
Who needs flash, how about an HTML5/JS Scratch 2.0?
Really nice work on that!
Offline
16Skittles wrote:
Who needs flash, how about an HTML5/JS Scratch 2.0?
Really nice work on that!
Too bad they've done so much. If they hadn't who knows, they might consider it.
Maybe they'll do it for 3.0, whenever that is. xP They could even base it off Snap!!
Offline
You should make the list wider and resizeable.
And I did the colours and the little plus if anyone's wondering, as well as making it work on all computers (sci's old one didn't work on mine)
Offline
veggieman001 wrote:
You should make the list wider and resizeable.
And I did the colours and the little plus if anyone's wondering, as well as making it work on all computers (sci's old one didn't work on mine)
Resizable is the next step.
After that, scrollbars.
Offline
scimonster wrote:
veggieman001 wrote:
You should make the list wider and resizeable.
And I did the colours and the little plus if anyone's wondering, as well as making it work on all computers (sci's old one didn't work on mine)Resizable is the next step.
After that, scrollbars.
Yaay.
Styled like the one in Scratch? :3
Offline
The "\n" thingy doesn't work. I typed in "a \n a", just to test it, and in the list it comes up with "a <br/> a", and in the text box thing it changes the text into "a <br/> a" when I click Create. Or am I doing something wrong?
Offline
veggieman001 wrote:
scimonster wrote:
veggieman001 wrote:
You should make the list wider and resizeable.
And I did the colours and the little plus if anyone's wondering, as well as making it work on all computers (sci's old one didn't work on mine)Resizable is the next step.
After that, scrollbars.Yaay.
Styled like the one in Scratch? :3
I'd like it to be. :3
RedRocker227 wrote:
The "\n" thingy doesn't work. I typed in "a \n a", just to test it, and in the list it comes up with "a <br/> a", and in the text box thing it changes the text into "a <br/> a" when I click Create. Or am I doing something wrong?
No, you're not. Thanks for the bug report!
Offline
Lists are now resizable! I did a quick Google search and came up with a handy jQuery API to do it, so it was only an extra 3 lines of code, amazingly enough!
Here's what i used.
Offline
muppetds wrote:
http://i49.tinypic.com/2cxajb.png
It give me this
Hrm... browser?
EDIT: Looks like Chrome, and it also looks like Chrome has a problem with calc().
Last edited by scimonster (2012-05-29 15:46:29)
Offline
scimonster wrote:
muppetds wrote:
http://i49.tinypic.com/2cxajb.png
It give me thisHrm... browser?
EDIT: Looks like Chrome, and it also looks like Chrome has a problem with calc().
not chrome - safari
EDIT: Resizing it slightly bigger makes it match but making it smaller again makes it go back
Last edited by muppetds (2012-05-29 16:03:28)
Offline
scimonster wrote:
16Skittles wrote:
Who needs flash, how about an HTML5/JS Scratch 2.0?
Really nice work on that!They could even base it off Snap!!
IN SOVIET RUSSIA...
Offline
muppetds wrote:
scimonster wrote:
muppetds wrote:
http://i49.tinypic.com/2cxajb.png
It give me thisHrm... browser?
EDIT: Looks like Chrome, and it also looks like Chrome has a problem with calc().not chrome - safari
EDIT: Resizing it slightly bigger makes it match but making it smaller again makes it go back
Try it in a WebKit browser now. I used JavaScript for them, but it still doesn't render quite as well as in FireFox.
Offline
voggs still thinks default width should be more
And the offset with 2 digit+ numbers is weird
Last edited by veggieman001 (2012-05-30 09:32:02)
Offline