Tuesday, January 3, 2012

Scratch Wiki talk:Community Portal

From the Scratch Wiki ? made by Scratchers, for Scratchers.

We recommend that before you ask a question, you search the archives first to make sure it hasn't been answered before:*

Archives
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


How to edit on the Scratch Wiki

We recommend that before you create your question, you read these tips to editing on the Scratch Wiki.

  • Sign your posts with four tildes (~~~~)
  • To do various text formatting, follow the following rules, rather than using any other text-editing methods:
  • Put new text under old text
  • Always remember to be polite and respectful, assume good faith, and be welcoming, while following the Scratch Terms of Use

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 Blocks 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 end if <([awesomeness v] of [plugin v]) < (100)>   ask [y u no like?] and wait else   broadcast [you're awesome... v] end 


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?
487962_sm.png 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.?:)
487962_sm.png 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)
does not work.
<key [up arrow v] pressed?>

Is this a bug or am I doing some thing wrong?
487962_sm.png 23:13, 1 January 2012 (UTC)

I am transferring this image:

File:3d room.png

Here what I have:

 when green flag clicked set [scrollz v] to [60] set [scrolly v] to [0] set [scrollx v] to [-30] forever   set size to ((scrollz) + ((40) * (0)))%   set x to ((scrollx) + ((480) * (0)))   set y to ((scrolly) + ((360) * (0)))   if <key [up arrow v] pressed?>     change [scrollz v] by ((size) / (45))     change [scrollx v] by ((x position) / (55))   end   if <key [down arrow v] pressed?>     change [scrollz v] by ((size) / (-45))     change [scrollx v] by ((x position) / (-55))   end   if <key [left arrow v] pressed?>     change [scrollx v] by ((size) / (55))   end   if <key [right arrow v] pressed?>     change [scrollx v] by ((size) / (-55))   end   if < <(scrollz) < [20]> or <(scrollz) > [217]> >     hide   else     show   end end 

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.
487962_sm.png 23:35, 1 January 2012 (UTC)

Thanks for the bug reports Bsteward?:). I suggest that we create an article for bug reports. Probably Blocks Plugin Syntax/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)

Source: http://wiki.scratch.mit.edu/index.php?title=Scratch_Wiki_talk:Community_Portal&diff=33830&oldid=prev

grimm tashard choice tashard choice puss in boots the rum diary trailer the rum diary trailer nor easter

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.