Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » List of Helpful Topics for Scripting
- theknightsquire
-
Scratcher
4 posts
List of Helpful Topics for Scripting
Who wants script for realistic momentum? Here: http://scratch.mit.edu/projects/25537306/
when (AWESOMENESS LEVEL) > (9000)
if <(Scratchness) > [Nyan Cat]> then
set [AWESOMENESS LEVEL v] to [0]
end
set pen color to [Troll Song]
stamp
think about what you've done...
Stop [All references and Reset v]
- theknightsquire
-
Scratcher
4 posts
List of Helpful Topics for Scripting
Hope you use the script above!
Last edited by theknightsquire (Aug. 20, 2014 17:38:15)
- UltraCode
-
Scratcher
1 post
List of Helpful Topics for Scripting
Hello, I was wondering how to use the pen tab and some few other blocks on how to create squares and lines just like in the Scratch Editor program.
- roadrunner65
-
Scratcher
1 post
List of Helpful Topics for Scripting
I need help on my project “the Scratch Computer”. I just started, and yet I've already found a problem. On the social media (chat room), whenever a user connects, a message saying “0” pops up before the message “(username) is now online” sign. I DIDN'T EVEN PROGRAM THIS PROJECT TO DO THAT!!!!! Can someone help me with this?
I used these blocks:
other than that, it works.
I used these blocks:
when this sprite clicked
forever
repeat until <key [ v] pressed?>
if <key [ v] pressed?> then
ask [] and wait
add (join (join (join [] [world]) [world]) [world]) to [ v]
change [(join (join (join [] [world]) [world]) [world]) v] by (0)
end
end
end
other than that, it works.
Last edited by roadrunner65 (Sept. 13, 2014 21:48:09)
- EpicMonkey24
-
Scratcher
20 posts
List of Helpful Topics for Scripting
How in my game to i set it that when my player dies he spawns at a random place.
- SuperRed38
-
Scratcher
100+ posts
List of Helpful Topics for Scripting
SFX switch made w/
when this sprite clicked
ask [Would you like SFX off or on? Type "1" to turn on, type "0" to stay quiet.] and wait
set [music v] to (answer)
when green flag clicked
forever
if <(music) = [1]> then
switch costume to [on v]
else
switch costume to [off v]
end
end
Last edited by SuperRed38 (Oct. 12, 2014 18:23:32)
- directorji
-
New Scratcher
1 post
List of Helpful Topics for Scripting
if you want to know more about script writing or how to make a script, you must go for directorji. It provides a detailed info about script and other film making topics also
- ninjadude698
-
Scratcher
5 posts
List of Helpful Topics for Scripting
Any tips on an engine for an enemy AI
- agdolls04
-
Scratcher
43 posts
List of Helpful Topics for Scripting
Listen I am making a platform game and i cant get the lives to work. Could someone help me?

- SuperRed38
-
Scratcher
100+ posts
List of Helpful Topics for Scripting
Any tips on an engine for an enemy AIScript:
forever
point towards [player v]
move (12) steps
if <touching [player v] ?> then
say [Game Over] for (2.2) secs
stop [all v]
end
Last edited by SuperRed38 (Oct. 12, 2014 18:25:29)
- pau_castell
-
Scratcher
34 posts
List of Helpful Topics for Scripting
One question: You know how to make a username and this? I mean like:
Username:example
Password:example
Thanks!!!!!
Username:example
Password:example
Thanks!!!!!

- colorfulrainbow12
-
Scratcher
34 posts
List of Helpful Topics for Scripting
when green flag clickedMy firt script ever ^^^^^^
move (10) steps
play drum (1 v) for (0.2) beats
move (-10) steps
play drum (1 v) for (0.2) beats
- hibikis
-
Scratcher
22 posts
List of Helpful Topics for Scripting
Someone please help me with scrolling platform games.

- qindiandefence
-
Scratcher
16 posts
List of Helpful Topics for Scripting
Uh oh!
None of these links work! NOOOO!!
Please Fix
None of these links work! NOOOO!!
Please Fix
- StudioGilliam
-
New Scratcher
4 posts
List of Helpful Topics for Scripting
Three days ago, the last post on this topic pointed out that those helpful links are broken.
I've been wanting to read these articles, too.
I'm sure all your staff are very busy, but please take some time to sort this out asap.
I've been wanting to read these articles, too.
I'm sure all your staff are very busy, but please take some time to sort this out asap.
- BEMFRIEND
-
New Scratcher
3 posts
List of Helpful Topics for Scripting
i don't no how to make a game pls help me
- Extreming
-
New Scratcher
3 posts
List of Helpful Topics for Scripting
I have a project. Trying to make a game but don't know how to make a new level when all the ghosts are killed:
http://scratch.mit.edu/projects/26441940/#editor
http://scratch.mit.edu/projects/26441940/#editor
- SuperRed38
-
Scratcher
100+ posts
List of Helpful Topics for Scripting
Listen I am making a platform game and i cant get the lives to work. Could someone help me?
when green flag clickedHere! This is how.
set [lives v] to [3]
set rotation style [left-right v]
forever
if <touching [enemy sprite v] ?> then
change [lives v] by (-1)
say [Aah!!] for (1.2) secs
point towards [enemy sprite v]
move (-5) steps
end
if <(lives) = [0 ]> then
think [Game Over.. Aww.] for (0.8) secs
stop [all v]
end
end
Place how the character moves here
Last edited by SuperRed38 (Nov. 10, 2014 12:34:15)















