Discuss Scratch

mixmaster007
Scratcher
4 posts

List of Helpful Topics for Scripting

This was really helpful!
Foula
New Scratcher
1 post

List of Helpful Topics for Scripting

BENCEDE :d
GoldenDiamond
Scratcher
60 posts

List of Helpful Topics for Scripting

Can I ask something,
I want to make a project that in the answer box, you have to show the calculation of how to work out a number from 4 different numbers, do you understand?
Like…
ask [] and wait
if <(answer) = (a type of calculation..)> then
if <(answer of calculation) = [a number like 12]> then
if <(answer) = <correct> then
say [correct!] for (2) secs
else
say [Unfortunetaley, wrong.] for (2) secs
end
end

end

urrm.. understand??
and 1 more question,
how do you make this thing like, once you finish writing what you want to, at the end you see-
_______________________________
GoldenDiamond is… a scratcher!!
.
Or something like that, I just did a random thing..
.
If you dont understand, heres a example of a random one..>>>
urrrm it doesnt work but look at ‘ ErnieParke ’ s one…
GoldenDiamond
Scratcher
60 posts

List of Helpful Topics for Scripting

slsmd63 wrote:

thekidking wrote:

is this live?
I don't know but I don't think it is


YES. because this is online, so when you send a msg to someone, by 1 minute it will receive it to him….
GoldenDiamond
Scratcher
60 posts

List of Helpful Topics for Scripting

minecraftcreeper01 wrote:

Why is how to get music from other sites included

Go to someone project, go inside, go to sounds, right click, save to local file, go to one of your projects, go to sounds, click on that picture that like file and its next to the record, (upload (sound track?) from file,) get the music, click on it, wait for finish download, there we go.
sk28
New Scratcher
4 posts

List of Helpful Topics for Scripting

Hi,
How do you have the mouse drag a sprite around the game? Also, I need some game ideas!

Thanks,
Sk28
gigapouch_test
Scratcher
54 posts

List of Helpful Topics for Scripting

When I click on “How to make a screensaver”, it takes “forever” to load and then it says “An error was encountered
Error: Unable to connect to MySQL server. MySQL reported: Can't connect to MySQL server on ‘scratchdb.media.mit.edu’ (4).”


My browser / operating system: Windows XP, Chrome 34.0.1847.116, Flash 13.0 (release 0)

Last edited by gigapouch_test (April 11, 2014 20:11:10)

GoldenDiamond
Scratcher
60 posts

List of Helpful Topics for Scripting

sk28 wrote:

Hi,
How do you have the mouse drag a sprite around the game? Also, I need some game ideas!

Thanks,
Sk28

Basically, on the sprite section, where all the sprites are there, click on that little blue thing with a white ‘i’ on the top-left of a sprite and tick the ‘drag player..’ then there we go!
GoldenDiamond
Scratcher
60 posts

List of Helpful Topics for Scripting

please answer my question above!
CoolGrl197
Scratcher
21 posts

List of Helpful Topics for Scripting

pls try and look inside my game: Virtual cat 1.1/2!
CoolGrl197
Scratcher
21 posts

List of Helpful Topics for Scripting

How to do a jump:

when green flag clicked
forever

if <key [up arrow v] pressed?> then
repeat (20)
change y by (7)

end

end
end

How to do a webcam game(pit on each sprite thats catchable)

when green flag clicked
if<[10] < (video [motion v] on [this sprite v])> then
change [Score v] by (1)

end


You can view a wecam game by me here

NOTE:
I do not remember if that script includes forever or not. Just look inside the wecam game
and see for yourself!

when I receive [scratch.mit.edu v]
if <(loading) = [complete]> then
repeat (until you close the webpage)
set [imagine, program, share v] effect to (INFINITY)

end

end

forever
imagine
program
share

end
rosecpo
Scratcher
16 posts

List of Helpful Topics for Scripting

mcpgirl wrote:

I have a question… I'm working on a game right now, and the main thing I'm using in the game is a list. But for some weird reason there is no block that says: replace this with that. It's: replace 1 with that. What if I don't want 1, what if I want something else. Is there anything I can do?





yes, u tye in the white gap, wat u want to say!
rosecpo
Scratcher
16 posts

List of Helpful Topics for Scripting

hmm, i'm try when it gets a quesion, i know how to make itsat the anser, wat then, how u get it to say it with something eles???? like when i say, ‘hello! Wat’s ur name?' and u say ur name and all that goldy gook how do get him to
'so-so, HELLO!' (so-so was were he would say ur name)


i'm crazy

Last edited by rosecpo (April 17, 2014 17:18:06)

rosecpo
Scratcher
16 posts

List of Helpful Topics for Scripting

forever

say [inmagon (bad spelling) [big]grr![/big]] for (2) secs
say [porgram (again, bad spelling [small]sorry![/small])] for (2) secs
say [[big]SHARE!!![big](the only one i [i]can[/i]spell one] for (2) secs
end

oh my, it's red

Last edited by rosecpo (April 17, 2014 17:24:58)

TheMatrixKid
Scratcher
100+ posts

List of Helpful Topics for Scripting

ScratchDude82 wrote:

IF ANYONE WAS WONDERING HOW TO JUMP:
first, take 2 repeats (both 10 repeat) and stick em together. Then, take 2 “change y” boxes and set 1 in the first repeat, with change y by _ (1 - 9 is good) and then the second change y one in the second repeat box and make it a -_. To make it more realistic, add a wait box inbetween the repeat boxes.

DA PERFECT JUMP!

Velocity makes it look way more realistic. Do you push off the ground, hover in the air then fall again? Methinks not. Good shot at it though! Here is an example of velocity:
when gf clicked
forever
if <touching [floor]?>
set (velocity) to (0)
else
change (velocity) by (-0.2)
end
change (y) by (velocity)
end

Last edited by TheMatrixKid (April 19, 2014 22:00:07)

Petabyte3000
Scratcher
6 posts

List of Helpful Topics for Scripting

None of the links work!! [Removed - Please don't spam emoticons]

Last edited by Harakou (April 22, 2014 20:23:01)

gigapouch_test
Scratcher
54 posts

List of Helpful Topics for Scripting

I wrote:

When I click on “How to make a screensaver”, it takes “forever” to load and then it says “An error was encountered
Error: Unable to connect to MySQL server. MySQL reported: Can't connect to MySQL server on ‘scratchdb.media.mit.edu’ (4).”


My browser / operating system: Windows XP, Chrome 34.0.1847.116, Flash 13.0 (release 0)

Can somebody please answer my question?
bookworm7214
Scratcher
100+ posts

List of Helpful Topics for Scripting

rosecpo wrote:

hmm, i'm try when it gets a quesion, i know how to make itsat the anser, wat then, how u get it to say it with something eles???? like when i say, ‘hello! Wat’s ur name?' and u say ur name and all that goldy gook how do get him to
'so-so, HELLO!' (so-so was were he would say ur name)


i'm crazy

when green flag clicked
ask [What's your name?] and wait
say (join (answer) [, hello!])
ProgrammedPie
Scratcher
4 posts

List of Helpful Topics for Scripting

Some one help me i need help
cabbage31
Scratcher
32 posts

List of Helpful Topics for Scripting

help!!!!!!!!!

Last edited by cabbage31 (April 24, 2014 06:42:59)

Powered by DjangoBB