< Scratch Wiki talk:Community Portal

Archive This page is archive 37 of Scratch Wiki talk:Community Portal. If you wish to start a new discussion or revive an old one, please do so on the current talk page.

Archives (oldest first):
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
31 32 33 34 35 36 37 38 39 40
41 42 43 44 45 46 47 48 49 50
51 52 53 54 55 56 57 58 59 60
61 62 63 64 65 66 67 68 69 70
71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90
91 92 93 94 95 96 97 98 99 100
101 102 103 104 105 106 107 108 109 110
111 112 113 114 115
Unfinished discussions

New Scratch Blocks Plugin

Hello Wikians,

Happy new year!

I've just made some modifications to the wiki. I made & installed a plugin that converts an easy written notation of Scratch scripts into visual blocks as they look in the Scratch application. That means we will not have to take screenshots to include scripts in pages any longer.

We'll soon be deploying this plugin to the Scratch Forums too, and possibly make it available for public use afterwards.

You can use the plugin by typing the Block Plugin Syntax in between <scratchblocks></scratchblocks> tags. The syntax page is still under construction, but for now just check out my sandbox, I dropped a bigger script there with the code right below. The syntax should be straight forward enough for you to figure it out :P There's also a short syntax description in This forum post.

So that means we have a whole lot of work to do now. All scripts in articles and tutorials have to be transcribed: the screenshots have to be replaced with their written representation (just comment out the images for now - you never know).

This should make it a lot easier for everyone to add scripts to articles and edit them afterwards. We should probably still use screenshots for single blocks in their default form, for example the ones in articles about the blocks themselves. (one-block workarounds for example, should be written with this plugin)

Please help by transcribing the scripts and reporting problems you find - I'd really love to push this to the forums (bug free) in a few days. Please share your thoughts :)

when green flag clicked
say [what's this?] for (2) secs
repeat (10)
  turn ccw (90) degrees
if <([awesomeness v] of [plugin v]) < (100)>
  ask [y u no like?] and wait
  broadcast [you're awesome... v]

JSO (talk | contribs) 21:46, 1 January 2012 (UTC)

Looks cool, but blocks do not look how they look are Scratch. Are you planning to make it look more like Scratch? I would like to thank you for all the work put into this. I hope it will improve the wiki. Should we start using this in the wiki and replacing scripts now?
Bsteward (talk | contribs) 21:54, 1 January 2012 (UTC)
During the past year or so, I did my best to make these pure HTML blocks look almost exactly like the blocks in Scratch. I'm always open to improvements, so please share your CSS if you find something that looks better! And yes, you can start transcribing scripts now! :)
JSO (talk | contribs) 22:06, 1 January 2012 (UTC)
I refreshed the page and now the block look at lot more like the real ones. :)
Bsteward (talk | contribs) 22:29, 1 January 2012 (UTC)
Wow! This is so exciting! The development has been long, but to see it in place finally is quite rewarding. That's not to say there won't be changes or improvements to be made in the future, as we are the first people to be publicly testing out the plugin, before it's added to the forums (hopefully not a long wait). So again, don't be afraid to start making scripts, but if you want to test things out for bugs or anything, use your sandbox ;). We will also soon have to develop an article on the syntax of the plugin, so that we wikians, as well as the forum users, will be able to learn how to use it.
Lucario621 (talk | contribs) 22:16, 1 January 2012 (UTC)

<key [up arrow v] pressed?> does not work.

<key [up arrow v] pressed?>

Is this a bug or am I doing some thing wrong?
Bsteward (talk | contribs) 23:13, 1 January 2012 (UTC)

JSO (talk | contribs) 10:13, 2 January 2012 (UTC)

I am transferring this image:

Here what I have: As you can see the <key [__ v] pressed?>'s aren't working as I decribed above. Also the last if statement: <<(scrollz) < [20]> or <(scrollz) > [217]>> does not work. If there is a bug please fix it, or if I am doing something wrong please show me the proper syntax. Thanks.
Bsteward (talk | contribs) 23:35, 1 January 2012 (UTC)

Thanks for the bug reports Bsteward :). I suggest that we create an article for bug reports. Probably Block Plugin/Bugs. Also, perhaps I could ask for your advice -- should these pages be "Blocks" or "Block"?
Lucario621 (talk | contribs) 00:29, 2 January 2012 (UTC)
Thanks for reporting. Apparently the sensing category was quite incomplete. I just did a fix. And for those equations... It was quite tricky to make them work, because it's quite hard to know for a PC wether the "<" belongs to a boolean block, or a "lower than" sign. If you use round brackets for the numerical values it should be fixed for now :)
JSO (talk | contribs) 00:50, 2 January 2012 (UTC)
Ooh I remember this, AWESOME :D
Chrischb (talk | contribs) 01:40, 2 January 2012 (UTC)
You deserve all the cookies, cake, sweets, and chocolate in the world!!! :O This is so epic :O And woo, being able to edit script images without using a paint program is so cool :P
Jonathanpb (talk | contribs) 01:47, 2 January 2012 (UTC)

Is there a way to make it show the answer (block) instead of a variable called "answer" btw? :P
Chrischb (talk | contribs) 01:54, 2 January 2012 (UTC)
Nvm this now, Lucario made the bug report page :D
Chrischb (talk | contribs) 03:04, 2 January 2012 (UTC)
fixed :)
JSO (talk | contribs) 10:13, 2 January 2012 (UTC)
The boolean blocks seem to be round like reporter blocks :S IMO it doesn't really matter, but it might confuse people who are being taught about what the block shapes mean actually ^^
Jonathanpb (talk | contribs) 02:04, 2 January 2012 (UTC)
yeah :S there's no real html way to do the triangular shapes.
JSO (talk | contribs) 10:13, 2 January 2012 (UTC)
BTW can I make a category to put the transcribed images in? That way we can see which ones are done easier
Chrischb (talk | contribs) 02:07, 2 January 2012 (UTC)
Sure, I had been thinking about that too.
JSO (talk | contribs) 10:13, 2 January 2012 (UTC)
The When () Clicked block needs brackets around the sprite name for it to work — it looks like a text menu or drop-down menu that way, depending on whether you put a v in or not. The block doesn't have a menu in Scratch 1.4 though ^^ I don't think this really matters, but I thought I'd bring it up just in case. (I didn't think this was a bug, so I didn't mention it in the report page.)
Jonathanpb (talk | contribs) 03:17, 2 January 2012 (UTC)
Hmm, good find Jonathanpb! I would add it to the bug list :).
Lucario621 (talk | contribs) 04:14, 2 January 2012 (UTC)
The 'when sprite clicked' hat is a weird one, because it has a parameter but it doesn't look like it has one. I could possibly do a fix where you'd still have to use brackets but the parser just renders it as part of the block label.
JSO (talk | contribs) 10:13, 2 January 2012 (UTC)
I was trying to recreate this script:
File:Continuously waving piece script.png
But I came up with this:
 repeat (12)
  turn left (3) degrees
 repeat (12)
  turn right (3) degrees
Is this a bug or do I simply not know how to do it properly? (Sorry if I'm becoming a "bad-news bringer" ;'( )
Jonathanpb (talk | contribs) 06:12, 2 January 2012 (UTC)
You just forgot to close the C shaped blocks with "end" ;) Indentation of the syntax is just a guide but it's not important for the parser. If you have unclosed C's at the end of your script, it will close them all automatically.
 repeat (12)
  turn left (3) degrees
 repeat (12)
  turn right (3) degrees
About indenting the script itself... good point. The produced script behaves in a similar way to <pre> tags on the wiki, so if you know how to indent those, we could propably do the same with scripts. For now I just wrapped mine in a <div> with a margin :P We might only need indentation in talk pages.
JSO (talk | contribs) 09:39, 2 January 2012 (UTC)
Is it possible to indent these scripts btw? ^^'
Jonathanpb (talk | contribs) 06:12, 2 January 2012 (UTC)

JSO. You. Are. Pure. Awesomeness.

I remember when you were working on this. :D
Scimonster (talk | contribs) 08:54, 2 January 2012 (UTC)

Thanks :)
JSO (talk | contribs) 10:13, 2 January 2012 (UTC)

Just did a major update! Blocks look much more like regular Scratch now, they have puzzle shapes, single blocks look nice etc! Please report any bugs/problems you find on Block Plugin/Bugs. Enjoy!
JSO (talk | contribs) 00:54, 4 January 2012 (UTC)

YOU PWNNNNNNNNNNNNN :O :O :O They were already really good and now they're sooo close to the real thing :O
Jonathanpb (talk | contribs) 00:58, 4 January 2012 (UTC)
Lololol showed Chris the new look, he wasn't sure if it was an image or the plugin at first XD
Jonathanpb (talk | contribs) 01:01, 4 January 2012 (UTC)
Identify by looking at the C blocks :P
JSO (talk | contribs) 01:02, 4 January 2012 (UTC)
Good job, most blocks look like the real thing now, but Cap Blocks are not supposed to have a puzzle piece thingy. I reported it on the bugs page.
Bsteward (talk | contribs) 01:04, 4 January 2012 (UTC)

Gaaaah, so late!! Sorry haven't been around lately. This is amazing! :D :D
WeirdF (talk | contribs) 01:16, 4 January 2012 (UTC)

Oh yeah, much better. :D Did you borrow any of my code? :P
Scimonster (talk | contribs) 05:27, 4 January 2012 (UTC)
Not really :S Yours used a fixed position relative to the top of the block - the hard thing was that you never know how high blocks will be. but it works now, that's the most important thing :P
JSO (talk | contribs) 11:34, 4 January 2012 (UTC)
element.offsetHeight. :P
But yeah, that's the most important thing.
Scimonster (talk | contribs) 11:40, 4 January 2012 (UTC)
Only works after the browser has rendered the html ;) Currently, the plugin just generates all HTML+CSS styling at once. The browser then renders it. That's why it's quite fast =)
JSO (talk | contribs) 12:51, 4 January 2012 (UTC)
True. :P
Why don't you use some classes for it? That will shrink some of the style attribute. Classes would be like: "block-operators" "block-stack" "block-num-arg".
Also, why do you have user-select off? :( I changed this with Stylish, because sometimes I want to copy the blocks.
Scimonster (talk | contribs) 13:21, 4 January 2012 (UTC)
It inserts all style elements inline, so that only one (.js) file has to be included in order to make it work. Hopefully, it will be possible in the future to include the .js on your own website, and type out some Scratch scripts - it's a plugin :) I disabled user-select to make it feel more like images. And copy pasting doesn't copy paste the syntax anyway. although I could possibly make it so it does. would that be useful?
JSO (talk | contribs) 13:29, 4 January 2012 (UTC)
Yes, it will. Also, what's so hard about .js and .css? And there are some images it uses...
Scimonster (talk | contribs) 13:32, 4 January 2012 (UTC)

I just hit Random Page to try and find more images to transcribe. I found a page that looked like it had them, but then I looked more closely, and saw it was the plugin. :P
Scimonster (talk | contribs) 10:32, 4 January 2012 (UTC)

Is it possible to have a tag with a shorter name? :P Typing out <scratchblocks> [blocks] </scratchblocks> is kinda annoying. :P
Scimonster (talk | contribs) 10:41, 4 January 2012 (UTC)

Wow, we've transcribed over 0 images already! Great job everyone. :D
Scimonster (talk | contribs) 06:12, 5 January 2012 (UTC)

This is wonderful news.
Veggieman001 (talk | contribs) 04:08, 6 January 2012 (UTC)

Hey all! I just pushed a new update. It contains some bug fixes and most importantly, comments! They're gray, not yellow (it didn't contrast with the white background) and they're single-line for now.

when green flag clicked
if <key [r v] pressed?>
  broadcast [message v] //change this to your liking!
when green flag clicked
if <key [r v] pressed?>
  broadcast [message v] //change this to your liking!

JSO (talk | contribs) 00:24, 8 January 2012 (UTC)

Looks cool, a lot of the bugs were fixed, I suggest getting the forum add-on ready.
Bsteward (talk | contribs) 00:57, 8 January 2012 (UTC)
!!!!!!!!! Someone is too good o_O
Jonathanpb (talk | contribs) 21:33, 8 January 2012 (UTC)
You're awesome :D
Chrischb (talk | contribs) 03:36, 9 January 2012 (UTC)

Wow, this is all really cool! I just popped in now to see this :P

So, any news on how it will be ported to the forums? Also, for the multiline comments, I suggest /* XX */
LS97 (talk | contribs) 16:22, 8 January 2012 (UTC)

I found on the forums that ZeroLuck is developing a program in which you will be able to create Scratch sprites in text format and import them in your Scratch project, and vice versa. If this could be merged with the Scratch blocks plug-in, We could have a little thing under all of the Scratch blocks that say "Download this Script", also a program could be created to convert Scripts to Scratch blocks. If JSO could work to put this together with ZeroLuck, the wiki would be greatly improved.
Bsteward (talk | contribs) 02:00, 9 January 2012 (UTC)

That sounds awesome. Maybe it could be when both projects are near-complete, or finished, they could work together.
Scimonster (talk | contribs) 05:19, 9 January 2012 (UTC)

CSS class for templates such as {{Template:Disambig}}?

We have a bunch with the same style, so I think we should just move it to a class - "round-template".

Here's a list:

(Yes, I know not all of them correspond perfectly, but the colors can be changed internally. ;))

What do you think?
Scimonster (talk | contribs) 18:08, 2 January 2012 (UTC)

Lucario621 (talk | contribs) 19:26, 2 January 2012 (UTC)
I chose "message-template" for the class instead.
Scimonster (talk | contribs) 10:01, 3 January 2012 (UTC)

Scimonster (talk | contribs) 15:30, 3 January 2012 (UTC)

looks good :)
JSO (talk | contribs) 15:45, 3 January 2012 (UTC)

New Curator (again)

SJRCS_011 (talk | contribs) 00:37, 3 January 2012 (UTC)

That's nice.
Scimonster (talk | contribs) 08:52, 3 January 2012 (UTC)
SJRCS_011 (talk | contribs) 12:35, 4 January 2012 (UTC)
Just felt like commenting. :P
Scimonster (talk | contribs) 13:17, 4 January 2012 (UTC)

Scrolling Background

Having a tutorial on how to make a scrolling background is useful, however I think this tutorial could be improved. Perhaps some people are willing to improve the article? This includes adding different methods. One that might be interesting is the one shown in this project. Also this and this. :)
Lucario621 (talk | contribs) 23:00, 4 January 2012 (UTC)

Wouldn't the x and y scrolling one count as "scrolling terrain"? ^^ Just a thought :P
Jonathanpb (talk | contribs) 05:14, 5 January 2012 (UTC)
Hmm. Good point. There should certainly be two different tutorials; one for two-directional scrolling, and one for four-directional scrolling.
Lucario621 (talk | contribs) 20:31, 5 January 2012 (UTC)

Why is this here, not on the article's talk page? :P
Scimonster (talk | contribs) 12:54, 15 January 2012 (UTC)

Help Pages

We have quite a large set of "Help" pages that are the basic version that MediaWiki recommends. What I am suggesting is that perhaps we scrap it and make our own, more user-friendly help pages, that will help guide new users through the basics of editing, as well as providing a knowledge base for experienced users. Perhaps there could be a basic tutorial like version which only goes into the basics and links to the next page in the set, but also an "extended" version with all that is needed. We could still use bits and pieces of the original help pages of course ;). Right now, we're all converting articles using the new block plugin, but this is an idea I have had on my mind for a while. Perhaps for now we could just make prototypes in our sandboxes. What do you think?
Lucario621 (talk | contribs) 23:10, 4 January 2012 (UTC)

Seems good to me ^^ The current help pages don't really fit Scratch Wiki style, if you know what I mean :P
Jonathanpb (talk | contribs) 05:10, 5 January 2012 (UTC)
Sounds like fun :D
Chrischb (talk | contribs) 05:36, 5 January 2012 (UTC)
So here's my idea how we count do this: We have the basic stuff on the page, with a template at the top and bottom, showing previous and next tutorials (these will need to be filled in). Perhaps in the middle of that template is an "advanced usage" link, which links to a /Advanced page. How does that sound?
Scimonster (talk | contribs) 05:57, 5 January 2012 (UTC)
It seems easier just to edit the "Help" pages that come with MediaWiki, a lot of the the information in the default help pages applies to the Scratch Wiki.
Bsteward (talk | contribs) 21:54, 5 January 2012 (UTC)
Can we work on these? :P
Jonathanpb (talk | contribs) 02:23, 10 January 2012 (UTC)

To get more readers!!!!

I am making a survay that uses info from the wiki, I wanted to know if I could put this as an Official Survay, as it will get readers because the questions will no dought make people want to learn some more, please consider, and I will put a link if you want to see it!
GameCentral (talk | contribs) 18:27, 5 January 2012 (UTC)

Before we consider making it official, could you first post a link to the survey (or a prototype, whichever you have)? This way we can get an idea of what questions are asked :).
Lucario621 (talk | contribs) 20:49, 5 January 2012 (UTC)
This was the first one which was put to asses th general Public, I posted it as a personal one already, but I still want to know if it could be official. This is the first of many. The link is https://docs.google.com/spreadsheet/viewform?formkey=dFdRekJXUmpDLXpqQ05nUnRyMGdEaUE6MQ
GameCentral (talk | contribs) 21:00, 5 January 2012 (UTC)
It looks like coolster555 did some sarcastic responses. "Name 4 of the basic Project types. - terrable,bad,good and exelent "
Also, you can see who answered what by seeing the order of the names at the top. So, for example, ImagineIt is the 3rd Scratcher on the list, so the 3rd answers of all the questions would be by them.
BWOG (talk | contribs) 23:16, 5 January 2012 (UTC)
https://docs.google.com/spreadsheet/viewanalytics?formkey=dFdRekJXUmpDLXpqQ05nUnRyMGdEaUE6MQ is where you view responses.
Bsteward (talk | contribs) 23:32, 5 January 2012 (UTC)
I still think , that if this was posted as official, that the wiki would get some more readers. Plus i can see those answers in a spreadsheat(AKA a better format), as it is my Google account
GameCentral (talk | contribs) 22:27, 6 January 2012 (UTC)

SVG Support

Does the Scratch wiki support Scalable Vector Graphics. I know Wikipedia does.
Bsteward (talk | contribs) 22:34, 6 January 2012 (UTC)

Right now, the Scratch Wiki does not support SVG as a file format. And yes, Wikipedia does. It is possible that SVG could be added, however at this moment it doesn't seem necessary.
Lucario621 (talk | contribs) 23:08, 6 January 2012 (UTC)
With 2.0, vector graphics might be added to Scratch, so we'll probably want on the wiki too. Also, the new Block Plugin is almost like vector blocks, so why not get vector for other images too?
Scimonster (talk | contribs) 18:03, 7 January 2012 (UTC)
I would not compare the Block Plugin to vector blocks. The Block Plugin is simply HTML and CSS, while SVG is a whole separate file format. What images on the wiki do you think would be much better in SVG than PNG?
Lucario621 (talk | contribs) 18:15, 7 January 2012 (UTC)
The image used on {{disambig}} I can think of offhand. When scaled like that...
Scimonster (talk | contribs) 18:32, 7 January 2012 (UTC)
That's a good example, however why SVG? Why would we ever need the disambig or other iamges to be much larger? Also, another point I would like to bring up; not all browsers support SVG.
Lucario621 (talk | contribs) 18:38, 7 January 2012 (UTC)
Not larger, smaller.
Also, almost every browser has some level of SVG support, and if needed, we could do something like what Wikipedia does, showing the raster version to non-supporting browsers. They probably have open-source code.
Scimonster (talk | contribs) 18:43, 7 January 2012 (UTC)
This image could be turned into an svg. File:Toc_website.png
Bsteward (talk | contribs) 19:10, 7 January 2012 (UTC)
I think I created it in svg :S But I might have lost the file. But ok - I think png is just fine folks. svg support is just too low to rely on it.
JSO (talk | contribs) 23:18, 8 January 2012 (UTC)

New user

CatPerson want's a wiki account according to this forum topic, but can't get one since the account request page is down. Could an admin help with this?
Bsteward (talk | contribs) 00:52, 10 January 2012 (UTC)

The whole account approval thing is down at the moment, and the system might get 'out of sync' if we created an account without a request first :S We'll just have to wait for now :/
Jonathanpb (talk | contribs) 02:21, 10 January 2012 (UTC)

Can you create tables?

Hey! Forum Smiley - Smile.png I'm just wondering if you can create tables, I couldn't find it on the formatting page. Thanks in advance! Forum Smiley - Grin.png
Purika (talk | contribs) 17:10, 13 January 2012 (UTC)

Help:Tables :D
JSO (talk | contribs) 17:14, 13 January 2012 (UTC)
If you want information more specific than available on our help page, then you can also go here: metawikipedia:Help:Table
Lucario621 (talk | contribs) 18:23, 13 January 2012 (UTC)
Thanks! Forum Smiley - Grin.png
Purika (talk | contribs) 18:45, 13 January 2012 (UTC)

Pages inside pages

You know how you can create pages inside pages like Chrischb's Wikipediholic Test? Could I create a page like that for some of my games inside my user page (to write about some of the scripts, etc) or do I have to just leave it on my userpage? I know you are not meant to create pages for usernames and games, but it would make things much neater and it's also part of my userpage.
Purika (talk | contribs) 18:56, 13 January 2012 (UTC)

Those are called subpages. You seem to understand what they do, which is good. If you want to have a subpage for some of your games, then go for it. As long as it's somewhat informative (I see you mentioned scripts, so this shouldn't be a problem), and that it's only one page (or simply not one page for each game), then it should be fine. You could use something like User:Purika/Projects.
Lucario621 (talk | contribs) 22:58, 13 January 2012 (UTC)
Purika (talk | contribs) 13:22, 14 January 2012 (UTC)

Deleting images

I uploaded some images for my user page, but I do not need them anymore because Lucario621 suggested I shouldn't have too many images. Can I delete them, or is it only admins that can do that? If it's only admins, can I request them to be deleted? Thanks, Purika
Purika (talk | contribs) 17:48, 14 January 2012 (UTC)

Only us admins can. What images?
Scimonster (talk | contribs) 17:56, 14 January 2012 (UTC)
Thanks in advance!
Purika (talk | contribs) 18:21, 14 January 2012 (UTC)
Done. :)
Scimonster (talk | contribs) 18:48, 14 January 2012 (UTC)
Thanks! :)
Purika (talk | contribs) 19:55, 14 January 2012 (UTC)


Should we make a page about all this S.O.P.A madness? Or is it not that important?
Purika (talk | contribs) 20:10, 17 January 2012 (UTC)

For now, I would say no, because the majority is only happening in the Miscellaneous section of the forums, and it's just a brief fad that will go away eventually.
Lucario621 (talk | contribs) 20:44, 17 January 2012 (UTC)
What about the possibility that the website might go down in protest?
Oh, and can we move the positions of the wiki markup thing at the bottom a littel? I have twice clicked <nowiki><scratchblocks> instead of <scratchsig>
SJRCS_011 (talk | contribs)23:00, 17 January 2012 (UTC)
The website won't go down, but anti-SOPA projects will be featured. source
You can just sign your posts with four tildes (~~~~), or click the tildes in the box below :S
Jonathanpb (talk | contribs) 01:48, 18 January 2012 (UTC)
I though the "announcement" thing referred to the site going down.
as for the sig, I can't use ~~~~ because my username has an underscore
SJRCS_011 (talk | contribs)01:52, 18 January 2012 (UTC)
Nope. There's an announcement/banner on the forums, but not on the main site. :/
Why was the sig conversation in comments? I moved it out. And yeah, I can rearrange it a bit.
Scimonster (talk | contribs) 12:25, 18 January 2012 (UTC)
There is an announcement on the website as well now. First it was "The Scratch Team opposes PIPA and SOPA", and now it is "The Scratch Team values a free and open internet, so it opposes PIPA and SOPA"
Purika (talk | contribs) 19:01, 18 January 2012 (UTC)
As there is an announcement on the Scratch Website, on the Scratch Forums, and SOPA/PIPA featured projects, it seems adequate that this can be added to the site news (and the Scratch Timeline perhaps?)
Lucario621 (talk | contribs) 21:23, 18 January 2012 (UTC)

New Curator

SJRCS_011 (talk | contribs) 02:26, 18 January 2012 (UTC)

Chrischb (talk | contribs) 04:20, 18 January 2012 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.