Discuss Scratch

blob8108
Scratcher
1000+ posts

scratchblocks2

Check out the latest version of the scratchblocks generator I've been hacking on! It has a brand-new absolutely-positioned app-like layout, thanks to some intense procrastinating I've done this afternoon.

Scratchblocks still aren't enabled on the forums or wiki, but you can still use the test page as before, and there are also instructions for enabling them on your site. (example on weebly by zorket).

EDIT: the generator now lives at scratchblocks.github.io/generator/

Last edited by blob8108 (July 20, 2015 10:17:14)

Hardmath123
Scratcher
1000+ posts

scratchblocks2

Which reminds me I need to get to work on hexagonal hexagons.
DigiTechs
Scratcher
500+ posts

scratchblocks2

Hardmath123 wrote:

Which reminds me I need to get to work on hexagonal hexagons.

Hexagonal hexagons are hexagonaly.
blob8108
Scratcher
1000+ posts

scratchblocks2

Hardmath123 wrote:

Which reminds me I need to get to work on hexagonal hexagons.
Yes, get to work!

(You never know, there might be some CSS ninja lurking somewhere who might beat you to it…)
DigiTechs
Scratcher
500+ posts

scratchblocks2

blob8108 wrote:

Hardmath123 wrote:

Which reminds me I need to get to work on hexagonal hexagons.
Yes, get to work!

(You never know, there might be some CSS ninja lurking somewhere who might beat you to it…)

Aww, darnit! Ninja'd! I was going to post that!
Hardmath123
Scratcher
1000+ posts

scratchblocks2

blob8108 wrote:

(You never know, there might be some CSS ninja lurking somewhere who might beat you to it…)
My money's on n… if he sees this.
blob8108
Scratcher
1000+ posts

scratchblocks2

Hardmath123 wrote:

My money's on n…
I'm sure he can do it, if it's possible. But I'm pretty convinced it isn't with pure CSS.

DigiTechs wrote:

I was going to post that!
Which sentence?
DigiTechs
Scratcher
500+ posts

scratchblocks2

blob8108 wrote:

Hardmath123 wrote:

My money's on n…
I'm sure he can do it, if it's possible. But I'm pretty convinced it isn't with pure CSS.

DigiTechs wrote:

I was going to post that!
Which sentence?

The CSS ninja sentence
nXIII
Scratcher
1000+ posts

scratchblocks2

blob8108 wrote:

Hardmath123 wrote:

My money's on n…
I'm sure he can do it, if it's possible. But I'm pretty convinced it isn't with pure CSS.
You can do it with CSS; you just need a bunch of useless extra elements if you want highlights and stuff (because nobody implemented the awesomeness of ::before(n))
blob8108
Scratcher
1000+ posts

scratchblocks2

nXIII wrote:

you just need a bunch of useless extra elements if you want highlights and stuff (because nobody implemented the awesomeness of ::before(n))
Yeah, the lack of multiple :before pseudo-elements is a pain Extra elements are easy; care to explain your method…?
nXIII
Scratcher
1000+ posts

scratchblocks2

blob8108 wrote:

Yeah, the lack of multiple :before pseudo-elements is a pain Extra elements are easy; care to explain your method…?
You can either use borders (but you have to calculate the width with JS) or the to syntax with gradients.
roijac
Scratcher
100+ posts

scratchblocks2

But html and CSS are Turing capable…
nXIII
Scratcher
1000+ posts

scratchblocks2

roijac wrote:

But html and CSS are Turing capable…


wat?
technoboy10
Scratcher
1000+ posts

scratchblocks2

Hardmath123
Scratcher
1000+ posts

scratchblocks2

Can I make this the first news item on the sticky? I want to mention some of the recent projects.
DigiTechs
Scratcher
500+ posts

scratchblocks2

How long until this gets uploaded to Scratch?
blob8108
Scratcher
1000+ posts

scratchblocks2

Hardmath123 wrote:

Can I make this the first news item on the sticky?
Go ahead!

DigiTechs wrote:

How long until this gets uploaded to Scratch?
Umm… I asked Lightnin a month or two ago… but I think they're busy
DigiTechs
Scratcher
500+ posts

scratchblocks2

Aw! It would look so cool for this to be avaliable!

Also, if this IS implemented as a BBCode, don't you you think it would be a good idea to manually set it's category? It would help for making block examples, such as this:

[scratchblocks=motion]glide (100) steps in current direction[/scratchblocks]
blob8108
Scratcher
1000+ posts

scratchblocks2

DigiTechs wrote:

Also, if this IS implemented as a BBCode, don't you you think it would be a good idea to manually set it's category?
Ah, but how would you do multiple blocks?

EDIT: something like a comment on the end of the line might work better. But I'm not sure I like that either.

Last edited by blob8108 (May 12, 2013 10:06:15)

DigiTechs
Scratcher
500+ posts

scratchblocks2

blob8108 wrote:

DigiTechs wrote:

Also, if this IS implemented as a BBCode, don't you you think it would be a good idea to manually set it's category?
Ah, but how would you do multiple blocks?

EDIT: something like a comment on the end of the line might work better. But I'm not sure I like that either.

I was thinking this was a particularly good idea for things like custom blocks - because your renderer currently renders them as red blocks and having a correctly coloured block would help a little when recognizing what category you're in. For the multiple blocks, I was thinking they would all appear the same, like these blocks do:
move (10) steps
glide (1) secs to x:() y:()
Example:

[scratchblocks=motion]
say [Hello!]
play sound [Motion v]
jump (10)
do a 360
[/scratchblocks]

All of those blocks would appear as motion blocks, regardless of their real category.

Last edited by DigiTechs (May 12, 2013 10:18:59)

Powered by DjangoBB