joletole wrote:
Greenatic wrote:
joletole wrote:
Also, one more thing. I want to add a block. I am still confused on how to make the block, so could you change it so it looks like a sound block. Here is the block:
stop sound [meow v] for (1) secWhat this block does:
It stops the sound for 1 seconds. Then, after the 1 second, starts playing the song again.Do you have code for it? Or are you requesting it? (Also, making it pink like a sound block requires images.)
If you want us to code it: when it starts playing again, should it restart or pick up where it left off?Could you code it, I am very bad at coding. And it would pick up where it left off.
I can't seem to find a way to pause a method without pausing all of Scratch...
Offline
Squawkers13 wrote:
Shared by SSSS
Blockspec:
('Import theme %s') #- #themepacks:)
Code:
themepacks: t1
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: t1)
What this block does:
You download the ScratchSkin, edit it, then you can use this block to import the skin during a project.
THIS DOES NOT WORK!!!
It seems you've made a typo.
('Import theme %s')#- #themepacks:)
should be:
('Import theme %s' #- #themepacks:)
Because wether you noticed it or not, there are 3 parentheses in the block spec instead of 2!
Offline
dreamod wrote:
Squawkers13 wrote:
Shared by SSSS
Blockspec:
('Import theme %s') #- #themepacks:)
Code:
themepacks: t1
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: t1)
What this block does:
You download the ScratchSkin, edit it, then you can use this block to import the skin during a project.
THIS DOES NOT WORK!!!It seems you've made a typo.
Code:
('Import theme %s')#- #themepacks:)should be:
Code:
('Import theme %s' #- #themepacks:)Because wether you noticed it or not, there are 3 parentheses in the block spec instead of 2!
Now someone should make a
download theme from [url]block lol. It would also be useful sometimes if there were a Theme Library.
Offline
If you make a block like this:
Download Scratch Themepack [ v](the v is a dropdown bar)
Last edited by Squawkers13 (2012-04-04 10:54:40)
Offline
Greenatic wrote:
joletole wrote:
Greenatic wrote:
Do you have code for it? Or are you requesting it? (Also, making it pink like a sound block requires images.)
If you want us to code it: when it starts playing again, should it restart or pick up where it left off?Could you code it, I am very bad at coding. And it would pick up where it left off.
I can't seem to find a way to pause a method without pausing all of Scratch...
Try making it into a ('mute sound for (1) sec' #- mutesound)
Offline
Squawkers13 wrote:
Greenatic wrote:
joletole wrote:
Could you code it, I am very bad at coding. And it would pick up where it left off.I can't seem to find a way to pause a method without pausing all of Scratch...
Try making it into a ('mute sound for (1) sec' #- mutesound)
That would still require making it wait, which is what I can't figure out.
Offline
Greenatic wrote:
Squawkers13 wrote:
Greenatic wrote:
I can't seem to find a way to pause a method without pausing all of Scratch...Try making it into a ('mute sound for (1) sec' #- mutesound)
That would still require making it wait, which is what I can't figure out.
Is it possible to just set the volume of that sound to zero for whatever seconds?
Offline
technoboy10 wrote:
Greenatic wrote:
Squawkers13 wrote:
Try making it into a ('mute sound for (1) sec' #- mutesound)That would still require making it wait, which is what I can't figure out.
Is it possible to just set the volume of that sound to zero for whatever seconds?
The key part is doing it for ___ seconds. I even tried telling it to wait based on the system clock, but that paused other things as well.
Offline
nathanprocks wrote:
Squawkers13 wrote:
This Currently Is On A Planning Stage.
Is this going to be a patch file to add a
download theme [id v]block? Because I figured out that you can apply a skin without saving the image first. (That means if the theme doesn't work as expected, you don't have to use a backup or start again!)
hey block library...
Last edited by Squawkers13 (2012-03-28 10:01:10)
Offline
I've just started my easter holidays so I'm assuming most of you are too. There's a big job for the librarians who are free, I'll be taking part too, but here's the thing:
Images are being brought back to the fora, but they're only allowed to be from certain hosts to make sure they're safe.
Our block images are currently hosted all over the place, and most of them are not safe, so I want to move them all to blocks.scratcher.org
I need to wait for
a)lightnin to whitelist the site and
b) for me to make an image uploader on the blocks site for librarians
let me know if you're up for it!
Offline
*makes weird noise something between a gasp and a cough*
What? Images? Yay!
Offline
Finally! Now (well... soon) I can use the block library again!
Last edited by LiquidMetal (2012-04-04 09:43:11)
Offline
Squawkers13 wrote:
nathanprocks wrote:
Squawkers13 wrote:
This Currently Is On A Planning Stage.
Is this going to be a patch file to add a
download theme [id v]block? Because I figured out that you can apply a skin without saving the image first. (That means if the theme doesn't work as expected, you don't have to use a backup or start again!)hey block library...
THIS IS A BLOCK REQUEST!
Offline
Squawkers13 wrote:
Squawkers13 wrote:
nathanprocks wrote:
Is this going to be a patch file to add adownload theme [id v]block? Because I figured out that you can apply a skin without saving the image first. (That means if the theme doesn't work as expected, you don't have to use a backup or start again!)hey block library...
THIS IS A BLOCK REQUEST!
Sorry Squawkers, you didn't submit the request reminder in the correct format (i.e. shouted) so our servers were unable to understand you. Please try again meeting the format requirements.
~~automated message.
Offline
sparks wrote:
Squawkers13 wrote:
Squawkers13 wrote:
hey block library...THIS IS A BLOCK REQUEST!
Sorry Squawkers, you didn't submit the request reminder in the correct format (i.e. shouted) so our servers were unable to understand you. Please try again meeting the format requirements.
~~automated message.
Automated message?? How did you do that??
Offline
MrMonk999 wrote:
sparks wrote:
Squawkers13 wrote:
THIS IS A BLOCK REQUEST!Sorry Squawkers, you didn't submit the request reminder in the correct format (i.e. shouted) so our servers were unable to understand you. Please try again meeting the format requirements.
~~automated message.Automated message?? How did you do that??
lol, he's joking.
Offline
rookwood101 wrote:
MrMonk999 wrote:
sparks wrote:
Sorry Squawkers, you didn't submit the request reminder in the correct format (i.e. shouted) so our servers were unable to understand you. Please try again meeting the format requirements.
~~automated message.Automated message?? How did you do that??
lol, he's joking.
oh. I was like "what the what????"
Offline
sparks wrote:
Squawkers13 wrote:
Squawkers13 wrote:
hey block library...
THIS IS A BLOCK REQUEST!
Sorry Squawkers, you didn't submit the request reminder in the correct format (i.e. shouted) so our servers were unable to understand you. Please try again meeting the format requirements.
~~automated message.
block request
Last edited by Squawkers13 (2012-04-04 18:45:24)
Offline
sparks wrote:
I've just started my easter holidays so I'm assuming most of you are too. There's a big job for the librarians who are free, I'll be taking part too, but here's the thing:
Images are being brought back to the fora, but they're only allowed to be from certain hosts to make sure they're safe.
Our block images are currently hosted all over the place, and most of them are not safe, so I want to move them all to blocks.scratcher.org
I need to wait for
a)lightnin to whitelist the site and
b) for me to make an image uploader on the blocks site for librarians
let me know if you're up for it!
There's a problem, Sparks.
In Lightnin's post, it's checked at post time, meaning that new posts or editing posts triggers the filter. ...You know what that means.
It might be best to hold off on an update until we have a working blockspec parser.
Last edited by Greenatic (2012-04-05 17:18:17)
Offline
Greenatic wrote:
sparks wrote:
I've just started my easter holidays so I'm assuming most of you are too. There's a big job for the librarians who are free, I'll be taking part too, but here's the thing:
Images are being brought back to the fora, but they're only allowed to be from certain hosts to make sure they're safe.
Our block images are currently hosted all over the place, and most of them are not safe, so I want to move them all to blocks.scratcher.org
I need to wait for
a)lightnin to whitelist the site and
b) for me to make an image uploader on the blocks site for librarians
let me know if you're up for it!There's a problem, Sparks.
In Lightnin's post, it's checked at post time, meaning that new posts or editing posts triggers the filter. ...You know what that means.
It might be best to hold off on an update until we have a working blockspec parser.
Yup, which is why we need to wait for blocks.scratchr.org to be whitelisted. Then we can take the time and move all the images to their safe new home
Offline
I made a block:
(ask for file with title [Choose a file] accepting extensions [txt doc])Block Spec Code:
('ask for file with title %s with extension(s) %s' #r #fileDlg:withExts: 'What file?' 'txt')
Actual code:
fileDlg: t1 withExts: t2 | t3 | t3 _ ScratchFileChooserDialog chooseExistingFileType: #any "extensions: (Array with: t2)" extensions: (t2 findTokens: ' ') title: t1. t3 = 'cancelled' ifTrue:[^ false] ifFalse:[^ t3].
Offline
jvvg wrote:
I made a block:
(ask for file with title [Choose a file] accepting extensions [txt doc])Block Spec Code:Code:
('ask for file with title %s with extension(s) %s' #r #fileDlg:withExts: 'What file?' 'txt')Actual code:
Code:
fileDlg: t1 withExts: t2 | t3 | t3 _ ScratchFileChooserDialog chooseExistingFileType: #any "extensions: (Array with: t2)" extensions: (t2 findTokens: ' ') title: t1. t3 = 'cancelled' ifTrue:[^ false] ifFalse:[^ t3].
Cool. That is useful for reading/writing files.
Offline
nathanprocks wrote:
jvvg wrote:
I made a block:
(ask for file with title [Choose a file] accepting extensions [txt doc])Block Spec Code:Code:
('ask for file with title %s with extension(s) %s' #r #fileDlg:withExts: 'What file?' 'txt')Actual code:
Code:
fileDlg: t1 withExts: t2 | t3 | t3 _ ScratchFileChooserDialog chooseExistingFileType: #any "extensions: (Array with: t2)" extensions: (t2 findTokens: ' ') title: t1. t3 = 'cancelled' ifTrue:[^ false] ifFalse:[^ t3].Cool. That is useful for reading/writing files.
It's one of the few blocks in my mod that was completely original. Most were ripped from other mods or made by someone else.
Offline