Offline
Offline
JH1010 wrote:
.
johnaveryhanson wrote:
i need a clock & calnder script can you help
if <<(day)=(30)>and<(round((year)/(4)))=((year)/(4))>and<(month)=(2)>> set [day v] to (1) change [month v] by (1) end if <<(day)=(28)>and<not<(round((year)/(4)))=((year)/(4))>>and<(month)=(2)>> set [day v] to (1) change [month v] by (1) end
How Does Those Blocks work ?
Offline
Maybe use cloud variables and date blocks in the upcoming Scratch 2.0? I've tested the features- they are a lot easier and more convenient for this script.
Offline
GlennWright wrote:
Maybe use cloud variables and date blocks in the upcoming Scratch 2.0? I've tested the features- they are a lot easier and more convenient for this script.
Thanks i was hoping for this.
Well, In 2.0 is there any command like -
repeat until [I recieve "bradcast"] end [or] if [I recieve "bradcast"] end
Offline
Scratch 2.0 is in alpha status - this means that stuff can get added or taken away. But, at the moment, the broadcast blocks are identical to that in 1.4. I'll suggest this to our Alpha Forums on your behalf
Offline
Auto007 wrote:
GlennWright wrote:
Maybe use cloud variables and date blocks in the upcoming Scratch 2.0? I've tested the features- they are a lot easier and more convenient for this script.
Thanks i was hoping for this.
Well, In 2.0 is there any command like -repeat until [I recieve "bradcast"] end [or] if [I recieve "bradcast"] end
There is a workaround with variables.
Offline
JH1010 wrote:
Auto007 wrote:
GlennWright wrote:
Maybe use cloud variables and date blocks in the upcoming Scratch 2.0? I've tested the features- they are a lot easier and more convenient for this script.
Thanks i was hoping for this.
Well, In 2.0 is there any command like -repeat until [I recieve "bradcast"] end [or] if [I recieve "bradcast"] endThere is a workaround with variables.
Oh yes! Sorry! Using variables, if a broadcast is activated you could set a variable to 1, and then repeat until using this variable
Offline
GlennWright wrote:
JH1010 wrote:
Auto007 wrote:
Thanks i was hoping for this.
Well, In 2.0 is there any command like -repeat until [I recieve "bradcast"] end [or] if [I recieve "bradcast"] endThere is a workaround with variables.
Oh yes! Sorry! Using variables, if a broadcast is activated you could set a variable to 1, and then repeat until using this variable
Yes , u r right. But I know the use of variables . But if that command is in us, scratch can be made simpler and sometimes we can jumble up so the script will not work.
And one more
We can add a date cloud variable .
And
We can intersect various projects if we allow common variables .
And
We can share common function blocks.
And
::::please take that s as as suggestion to scratch 2.0::::::::
Thank you !!!!
Offline
Offline
GlennWright wrote:
Scratch 2.0 is in alpha status - this means that stuff can get added or taken away. But, at the moment, the broadcast blocks are identical to that in 1.4. I'll suggest this to our Alpha Forums on your behalf
yes there should actually be when i recieve blocks in sensing and we can add them in existing scripts
Offline
Right so I'm not familiar with scratch block thing on the forums so I'll just type it. The sprite starts in a costume called bulbasaur and the sprite has other scripts in it that make it move around in random directions. Item 1 of Pokemon is originally called Bulbasaur. The list basically is supposed to say which Pokemon you have.
When gf clicked
if costume number = 1 (bulbasaur)
wait 300 seconds
switch to costume ivysaur
replace item 1 of pokemon with Ivysaur
end of 'if'
if costume number = 2 (ivysaur)
wait 600 seconds
switch to costume venusaur
replace item 1 of pokemon with Venusaur
end of 'if'
Please answer in blocks even though I couldn't post in them.
Last edited by EdgeGamer (2013-01-11 14:04:36)
Offline
EdgeGamer wrote:
Right so I'm not familiar with scratch block thing on the forums so I'll just type it. The sprite starts in a costume called bulbasaur and the sprite has other scripts in it that make it move around in random directions. Item 1 of Pokemon is originally called Bulbasaur. The list basically is supposed to say which Pokemon you have.
When gf clicked
if costume number = 1 (bulbasaur)
wait 300 seconds
switch to costume ivysaur
replace item 1 of pokemon with Ivysaur
end of 'if'
if costume number = 2 (ivysaur)
wait 600 seconds
switch to costume venusaur
replace item 1 of pokemon with Venusaur
end of 'if'
Please answer in blocks even though I couldn't post in them.
And what is the problem you're having?
Offline
EdgeGamer wrote:
Right so I'm not familiar with scratch block thing on the forums so I'll just type it. The sprite starts in a costume called bulbasaur and the sprite has other scripts in it that make it move around in random directions. Item 1 of Pokemon is originally called Bulbasaur. The list basically is supposed to say which Pokemon you have.
When gf clicked if <(costume number) = (1)>//(bulbasaur) wait (300) secs switch to costume [ivysaur v] replace item [1 v] of [pokemon v] with [Ivysaur] end if <(costume number) = (2)>//(ivysaur) wait (600) secs switch to costume [venusaur v] replace item [1 v] of [pokemon v] with [Venusaur] endPlease answer in blocks even though I couldn't post in them.
Fixed, and if you want to learn how to type scratchblocks code, you can go here.
Last edited by ErnieParke (2013-01-11 15:13:41)
Offline
ErnieParke wrote:
EdgeGamer wrote:
Right so I'm not familiar with scratch block thing on the forums so I'll just type it. The sprite starts in a costume called bulbasaur and the sprite has other scripts in it that make it move around in random directions. Item 1 of Pokemon is originally called Bulbasaur. The list basically is supposed to say which Pokemon you have.
when gf clicked if <(costume #) = (1)>//(bulbasaur) wait (300) secs switch to costume [ivysaur v] replace item [1 v] of [pokemon v] with [Ivysaur] end if <(costume #) = (2)>//(ivysaur) wait (600) secs switch to costume [venusaur v] replace item [1 v] of [pokemon v] with [Venusaur] endPlease answer in blocks even though I couldn't post in them.Fixed, and if you want to learn how to type scratchblocks code, you can go here.
Fixed again
Offline
Auto007 wrote:
JH1010 wrote:
.
johnaveryhanson wrote:
i need a clock & calnder script can you help
if <<(day)=(30)>and<(round((year)/(4)))=((year)/(4))>and<(month)=(2)>> set [day v] to (1) change [month v] by (1) end if <<(day)=(28)>and<not<(round((year)/(4)))=((year)/(4))>>and<(month)=(2)>> set [day v] to (1) change [month v] by (1) endHow Does Those Blocks work ?
Never mind it glitches
Last edited by fetchydog567 (2013-01-11 18:37:04)
Offline
fetchydog567 wrote:
Auto007 wrote:
JH1010 wrote:
.
if <<(day)=(30)>and<(round((year)/(4)))=((year)/(4))>and<(month)=(2)>> set [day v] to (1) change [month v] by (1) end if <<(day)=(28)>and<not<(round((year)/(4)))=((year)/(4))>>and<(month)=(2)>> set [day v] to (1) change [month v] by (1) endHow Does Those Blocks work ?
Never mind it glitches
I was thinking like that
Offline
ErnieParke wrote:
strawpile wrote:
Great, thanks for the solutions. BTW, where can I find a list of commands used in the scratchblocks code?
I don't know, but you can always look at other scratcher's block code here. That's what I did to learn how to write the code for scratchblocks in the forums.
Have you checked paddle2see's "scratch block maker"?
Download it, make the scratch block you want, it will add the code to a list then simply save the list to a file, copy it and paste here!
Offline
Blazingwave wrote:
ErnieParke wrote:
strawpile wrote:
Great, thanks for the solutions. BTW, where can I find a list of commands used in the scratchblocks code?
I don't know, but you can always look at other scratcher's block code here. That's what I did to learn how to write the code for scratchblocks in the forums.
Have you checked paddle2see's "scratch block maker"?
Download it, make the scratch block you want, it will add the code to a list then simply save the list to a file, copy it and paste here!
By now, I've already known about that project for a long time, and I've advanced far enough in scratchblocks coding to not need it, though thanks for pointing it out!
Offline
ErnieParke wrote:
Blazingwave wrote:
ErnieParke wrote:
I don't know, but you can always look at other scratcher's block code here. That's what I did to learn how to write the code for scratchblocks in the forums.
Have you checked paddle2see's "scratch block maker"?
Download it, make the scratch block you want, it will add the code to a list then simply save the list to a file, copy it and paste here!By now, I've already known about that project for a long time, and I've advanced far enough in scratchblocks coding to not need it, though thanks for pointing it out!
Im sure you know the project you are a very experienced scratch member but I was wondering if strawpile has seen it yet.
Offline
Blazingwave wrote:
ErnieParke wrote:
Blazingwave wrote:
Have you checked paddle2see's "scratch block maker"?
Download it, make the scratch block you want, it will add the code to a list then simply save the list to a file, copy it and paste here!By now, I've already known about that project for a long time, and I've advanced far enough in scratchblocks coding to not need it, though thanks for pointing it out!
Im sure you know the project you are a very experienced scratch member but I was wondering if strawpile has seen it yet.
Oh... I wasn't sure if you were saying it towards me or strawpile. Thanks for clearing things up!
Offline
JH1010 wrote:
If you need help with scripts, post your problem here. One of our members is sure to get back to you. If you wold like to help people with scripts, sign up here. The aim of this is to reduce the amount of threads in the Help With Scripts forum, and eventually become a complete guide to scripting.
If you have completed your project and would like help finding glitches, then I would recommend The Tester Team.Members
These people help you with your scripting issues.
JH1010 Is Currently
dvd4 Is Currently
zubblewu Is Currently
BirdByte Is Currently
firedrake969 Is Currently
bullelk12 Is Currently
Jodymoses Is Currently
Martiscratch Is Currently
ErnieParke Is Currently
Auto007 Is Currently
yoshidude56 Is Currently
Ideas Is Currently
Seil Is Currently
GlennWright Is Currently
machinespray Is Currently
BurritoSM Is Currently
fetchydog567 Is Currently
technoboy10 Is Currently
lovekid2002 Is Currently
OrcaCat Is CurrentlyResolved Problems
Gravity/Jumping
To JH1010,
Replace first post (which is intro) with this, that would be extra helpful.
Thank You
Offline
Auto007 wrote:
JH1010 wrote:
If you need help with scripts, post your problem here. One of our members is sure to get back to you. If you wold like to help people with scripts, sign up here. The aim of this is to reduce the amount of threads in the Help With Scripts forum, and eventually become a complete guide to scripting.
If you have completed your project and would like help finding glitches, then I would recommend The Tester Team.Members
These people help you with your scripting issues.
JH1010 Is Currently http://blocks.scratchr.org/API.php?user … ype=square
dvd4 Is Currently http://blocks.scratchr.org/API.php?user … ype=square
zubblewu Is Currently http://blocks.scratchr.org/API.php?user … ype=square
BirdByte Is Currently http://blocks.scratchr.org/API.php?user … ype=square
firedrake969 Is Currently http://blocks.scratchr.org/API.php?user … ype=square
bullelk12 Is Currently http://blocks.scratchr.org/API.php?user … ype=square
Jodymoses Is Currently http://blocks.scratchr.org/API.php?user … ype=square
Martiscratch Is Currently http://blocks.scratchr.org/API.php?user … ype=square
ErnieParke Is Currently http://blocks.scratchr.org/API.php?user … ype=square
Auto007 Is Currently http://blocks.scratchr.org/API.php?user … ype=square
yoshidude56 Is Currently http://blocks.scratchr.org/API.php?user … ype=square
Ideas Is Currently http://blocks.scratchr.org/API.php?user … ype=square
Seil Is Currently http://blocks.scratchr.org/API.php?user … ype=square
GlennWright Is Currently http://blocks.scratchr.org/API.php?user … ype=square
machinespray Is Currently http://blocks.scratchr.org/API.php?user … ype=square
BurritoSM Is Currently http://blocks.scratchr.org/API.php?user … ype=square
fetchydog567 Is Currently http://blocks.scratchr.org/API.php?user … ype=square
technoboy10 Is Currently http://blocks.scratchr.org/API.php?user … ype=square
lovekid2002 Is Currently http://blocks.scratchr.org/API.php?user … ype=square
OrcaCat Is Currently http://blocks.scratchr.org/API.php?user … ype=squareResolved Problems
Gravity/JumpingTo JH1010,
Replace first post (which is intro) with this, that would be extra helpful.
Thank You
Thanks. It must have taken ages to do those links.
Offline
yep.
But "No pain No Gain"
thanks
Offline