To genxjin:
Oh... I just noticied you posts. Right now I'm going to school so I won't be able to help for several hours. I'll be able to help after that, but not now. Sorry.
Last edited by ErnieParke (2012-10-22 07:06:02)
Offline
ErnieParke wrote:
To genxjin:
Oh... I just noticied you posts. Right now I'm going to school so I won't be able to help for several hours. I'll be able to help after that, but not now. Sorry.
--------
It's okay Ernie, just go ahead with your class. I can wait. appreciate your help a lot. thanks
Offline
ErnieParke wrote:
JH1010 wrote:
TheSupremeOverLord wrote:
Can you give me code for all the scratch blocks?
What do you mean?
I think TheSupremeOverLord is talking about the scratchblocks code.
To TheSupremeOverLord:
I could give you every scratch block there is in scratch, but do you know how long that would take to type? Instead, I'll tell you a different way. To make a scratchblock, put it between [scratchblock] [/scratchblock] tags. Then, type what you would see in Scratch. For example, in scratch, the green flag hat block has "when gf (green flag) clicked", so that's what you would type. The one exception to this is loop blocks (forever, repeat, ect..) which you'll have to put "end" where you want the loop to end. Also, there should only be one block per line.
Now into the finer deatails:
If you want to add a drop down menu, use [ v]. If you want to add a place where you can type, again use ( ) or [ ]. And if you want to add arrows, type cw (clockwise) or ccw (counter-clock wise). Finally, if you want to leave a comment, use // after a scratchblock and type your comment after the two dashes.
Thank ou very much!!
Into conditionals/variables (mouse down?, touching [Sprite1 v]?, ect...): Basically, they follow the same rules as above, except variables should have parentheses around them. Also, conditionals (the blocks with green, pointy ends) should have < and > surrounding them.
Here's a sample code:when gf clicked set [pie v] to (98) if <not <(pie) = (5)>> repeat (5) turn cw (5) degrees say [Pie!] for (5) secs//This is a comment. end endAnd this is what I wrote:Code:
[scratchblocks] when gf clicked set [pie v] to (98) if <not <(pie) = (5)>> repeat (5) turn cw (5) degrees say [Pie!] for (5) secs//This is a comment. end end [/scratchblocks]Now that you know the code, you could practice making scratchblocks here.
I hope that this helps!
Offline
Help! I cannot figure out how to get all of my sprites to go back to their starting position after the script is done...
Offline
when I recieve [go back v] go to x:(something) y:(something)
Offline
Thanks for that information; I can now relax and breathe again. {;-)
Offline
genxjin wrote:
genxjin wrote:
genxjin wrote:
--------------------------------------
Hi Ernie, first of all thank you very much for your reply. Appreciate it very much. While waiting for your help, i tried working on several scripts how to solve my problem but i always end having my sprites freeze up like crazy and unable to respond to my script for the you win / game over sprite i know i may lack or oversee something on the script but i can't figure it out until now. here is the original script i wrote for:
YOU WIN Spritewhen gf clicked hide forever <(score) > [50]> show end stop allGAME OVER Spritewhen gf clicked hide forever <(score) < [50]> show end stop allSTAGE Spritewhen gf clicked set [score v] to (0) set [time v] to (10)when gf clicked forever wait (1) secs change [time v] by (-1) play sound [cave v] until doneP.S. my other sprites works well on the stage however when i make the scripts for you win / game over, my other sprites over laps the background for you win/game over and freezes.----sorry for the wrong post seconds ago. i accidentally hit the submit button with my mouse instead of preview.
GAME OVER Spritewhen gf clicked hide forever <(score) > [100]> show end stop all
Two things:
1). There's no such thing as a forever block with inequalities in it, so what did you actually use in the GAME OVER/YOU LOSE sprites? Did you mean forever if? I also noticied that the stop all blocks were at the bottom of the forever loops, which again is impossible, so where did you actually place them? Were they in the forever loops?
2). I'm going to guess that your timer wasn't very accurate, correct? Well, to fix that, I would recommend moving the play sound block to its own script. And instead of having the script wait 1 second, .98 seconds would be more accurate.
Last edited by ErnieParke (2012-10-22 15:22:25)
Offline
Seil wrote:
Well um, I actually designed a new logo for you if you want.
http://oi47.tinypic.com/2qui5ub.jpg
Signature code:Code:
[url]http://oi47.tinypic.com/2qui5ub.jpg[/url]Do you like it?
Yes, it is better than mine.
Offline
Offline
Offline
Offline
Can I have help please. I have a bat on one screen, and when I click on it (to buy it), I've got it so it hides and then what I want it to do, is appear on another background how may you go about doing this? I have already tried the:
When Bat button is clicked forever if <mouse down?> Switch to costume [basket open v] end end
Offline
ErnieParke wrote:
genxjin wrote:
genxjin wrote:
----sorry for the wrong post seconds ago. i accidentally hit the submit button with my mouse instead of preview.
GAME OVER Spritewhen gf clicked hide forever <(score) > [100]> show end stop allTwo things:
1). There's no such thing as a forever block with inequalities in it, so what did you actually use in the GAME OVER/YOU LOSE sprites? Did you mean forever if? I also noticied that the stop all blocks were at the bottom of the forever loops, which again is impossible, so where did you actually place them? Were they in the forever loops?
2). I'm going to guess that your timer wasn't very accurate, correct? Well, to fix that, I would recommend moving the play sound block to its own script. And instead of having the script wait 1 second, .98 seconds would be more accurate.
-----------
Hi Ernie, sorry it took me awhile to get back at you. First of all thank you for pointing out the mistakes when I was writing the scripts for my project. I eventually had to review the tutorials again to see what I was missing. I had made a few adjustments and finally got the results I wanted as well as learning something new. Thank you very much for your time in attending my concern. Best of luck to you and the rest of the Scratch Support team
Offline
genxjin wrote:
ErnieParke wrote:
genxjin wrote:
----sorry for the wrong post seconds ago. i accidentally hit the submit button with my mouse instead of preview.
GAME OVER Spritewhen gf clicked hide forever <(score) > [100]> show end stop allTwo things:
1). There's no such thing as a forever block with inequalities in it, so what did you actually use in the GAME OVER/YOU LOSE sprites? Did you mean forever if? I also noticied that the stop all blocks were at the bottom of the forever loops, which again is impossible, so where did you actually place them? Were they in the forever loops?
2). I'm going to guess that your timer wasn't very accurate, correct? Well, to fix that, I would recommend moving the play sound block to its own script. And instead of having the script wait 1 second, .98 seconds would be more accurate.-----------
Hi Ernie, sorry it took me awhile to get back at you. First of all thank you for pointing out the mistakes when I was writing the scripts for my project. I eventually had to review the tutorials again to see what I was missing. I had made a few adjustments and finally got the results I wanted as well as learning something new. Thank you very much for your time in attending my concern. Best of luck to you and the rest of the Scratch Support team
Thanks, and best of luck to you and your project.
Offline
Offline
Offline
Offline
Offline
This is a great idea. Can I sign up to help?
Offline
What's with these useless script shop threads? This is script HELP,not script shop.
Offline
Epicness123 wrote:
What's with these useless script shop threads? This is script HELP,not script shop.
Script shops ARE script help. Or did the word 'shop' mislead you? Because you don't have to buy it or anything. It's free. If that's not what you were thinking, then what WERE you thinking?
Offline
GlennWright wrote:
This is a great idea. Can I sign up to help?
Yes, you are in!
Epicness123 wrote:
What's with these useless script shop threads? This is script HELP,not script shop.
You're right, it's not a scripts shop, it's a scripts workshop
Last edited by JH1010 (2012-11-05 02:14:35)
Offline