Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Blocks
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
set pen color to (0.01)
go to x: (0) y: (0)
pen up
set [Speed v] to [0]
forever
change [Speed v] by (0.01)
glide (Speed) secs to [Random Position v]
pen down
change pen color by (Speed)
end
Last edited by gamer_pro_864 (March 28, 2024 07:51:46)
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
forever
if <<(Scratch) = [The Best]>> then
say [:D] for (2) secs
end
end
Last edited by gamer_pro_864 (March 28, 2024 06:42:10)
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
ask [Did You Click On This Discussion Forum] and wait
if <(answer) = [Yes]> then
say [Thx! :D] for (2) secs
else
say [THEN YOU BETTER DO IT NOW] for (2) secs
end
Last edited by gamer_pro_864 (March 28, 2024 07:47:03)
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
go to [Food v]
forever
if <touching [Food v] ?> then
say [Yummy!] for (2) secs
go to [Sofa v]
Watch TV
end
end
Last edited by gamer_pro_864 (March 28, 2024 07:53:06)
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
wait until <following [Gamer_Pro_864 v] ?>
say [Thx! :D] for (2) secs
go to [Home v]
Watch TV
Last edited by gamer_pro_864 (March 28, 2024 08:10:05)
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
wait until <commenting [Best Game Ever! v] ?>
say [Thx! :D] for (2) secs
go to [Home v]
Watch TV
Last edited by gamer_pro_864 (March 28, 2024 08:10:37)
- gamer_pro_864
- Scratcher
79 posts
Blocks
How To Code a Platformer : The Start
*IF YOU DON'T KNOW HOW TO MAKE THESE BLOCKS THEN CLICK THE BLOCK ICON TO CHOOSE A BLOCK*
when green flag clickedQuote This To Make The Next Step
set [Speed Y v] to [0]
set [GRAVITY v] to [-1]
forever
change [Speed Y v] by (GRAVITY)
change y by (Speed Y)
end
*IF YOU DON'T KNOW HOW TO MAKE THESE BLOCKS THEN CLICK THE BLOCK ICON TO CHOOSE A BLOCK*
Last edited by gamer_pro_864 (March 28, 2024 07:28:24)
- lgrov44
- Scratcher
500+ posts
Blocks
So, do you need help with any scripts? If not, how can we help you?
Don't really know what to put here…
How to get any of your questions answered quick for new Scratchers:
1. Check for any available data or duplicate topics, especially in the Scratch Wiki.
2. Create a forum post, describe the issue or question with great detail. Also consider adding links if an issue with a project.
3. Engage helpfully and nicely with others in this forum.
4. Bump a maximum of every 24 hours if there has been no activity for 24 hours and it is not on the first page.
5. Repeat steps 3-4 when appropriate until resolved.
6. Close the topic (Located at the very bottom to the left). If it isn't there, wait until the topic is at least 24 hours old.
- gamer_pro_864
- Scratcher
79 posts
Blocks
Not Really… So, do you need help with any scripts? If not, how can we help you?
- gamer_pro_864
- Scratcher
79 posts
Blocks
The Point Of This Discussion Forum is To Talk Like This : So, do you need help with any scripts? If not, how can we help you?
when green flag clicked
say [This is How We Talk in This Discussion Forum...] for (2) secs
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
say [I'm A Coconut, Coconut, Ah, Ah, A Coconut]
repeat until <The Next Part>
say [*Music*]
end
say [I'm A Coconut]
Last edited by gamer_pro_864 (March 28, 2024 07:44:22)
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
wait until <You're At School>
wait until <You Finish School>
wait until <You're At Home>
Be Happy
Last edited by gamer_pro_864 (March 28, 2024 07:55:44)
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
say [Blocks!] for (2) secs
Last edited by gamer_pro_864 (March 28, 2024 08:11:30)
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
move (0.00) steps
move (0.01) steps
move (0.02) steps
move (0.03) steps
move (0.04) steps
move (0.05) steps
move (0.06) steps
move (0.07) steps
move (0.08) steps
move (0.09) steps
move (1.00) steps
move (1.01) steps
move (1.02) steps
move (1.03) steps
move (1.04) steps
move (1.05) steps
move (1.06) steps
move (1.07) steps
move (1.08) steps
move (1.09) steps
move (2.00) steps
move (2.01) steps
move (2.02) steps
move (2.03) steps
move (2.04) steps
move (2.05) steps
move (2.06) steps
move (2.07) steps
move (2.08) steps
move (2.09) steps
move (3.00) steps
move (3.01) steps
move (3.02) steps
move (3.03) steps
move (3.04) steps
move (3.05) steps
move (3.06) steps
move (3.07) steps
move (3.08) steps
move (3.09) steps
move (4.00) steps
move (4.01) steps
move (4.02) steps
move (4.03) steps
move (4.04) steps
move (4.05) steps
move (4.06) steps
move (4.07) steps
move (4.08) steps
move (4.09) steps
move (5.00) steps
move (5.01) steps
move (5.02) steps
move (5.03) steps
move (5.04) steps
move (5.05) steps
move (5.06) steps
move (5.07) steps
move (5.08) steps
move (5.09) steps
move (6.00) steps
move (6.01) steps
move (6.02) steps
move (6.03) steps
move (6.04) steps
move (6.05) steps
move (6.06) steps
move (6.07) steps
move (6.08) steps
move (6.09) steps
move (7.00) steps
move (7.01) steps
move (7.02) steps
move (7.03) steps
move (7.04) steps
move (7.05) steps
move (7.06) steps
move (7.07) steps
move (7.08) steps
move (7.09) steps
move (8.00) steps
move (8.01) steps
move (8.02) steps
move (8.03) steps
move (8.04) steps
move (8.05) steps
move (8.06) steps
move (8.07) steps
move (8.08) steps
move (8.09) steps
move (9.00) steps
move (9.01) steps
move (9.02) steps
move (9.03) steps
move (9.04) steps
move (9.05) steps
move (9.06) steps
move (9.07) steps
move (9.08) steps
move (9.09) steps
move (1) steps
say [Bruh :D] for (2) secs
stop [All v]
Last edited by gamer_pro_864 (March 28, 2024 08:33:45)
- deck26
- Scratcher
1000+ posts
Blocks
There's a sticky topic for trying out Scratchblocks. Please use that instead of having your own topic.
- gamer_pro_864
- Scratcher
79 posts
Blocks
Where? :0 There's a sticky topic for trying out Scratchblocks. Please use that instead of having your own topic.
- gamer_pro_864
- Scratcher
79 posts
Blocks
when green flag clicked
set [Speed Y v] to [0]
set [GRAVITY v] to [-1]
forever
if <<key [up arrow v] pressed?> or <key [w v] pressed?>> then
set [Speed Y v] to [12]
end
if <<key [left arrow v] pressed?> or <key [a v] pressed?>> then
change [Speed X v] by (-1.5)
end
change [Speed Y v] by (GRAVITY)
change y by (Speed Y)
if <touching [Level v] ?> then
Fix Overlap
end
end
define Fix Overlap
repeat until <not <touching [Level v] ?>>
change y by (1)
end
set [Speed Y v] to [0]
Last edited by gamer_pro_864 (March 28, 2024 09:47:32)
- deck26
- Scratcher
1000+ posts
Blocks
It's the very first topic in the forum - https://scratch.mit.edu/discuss/topic/741323/ - please use that.
- Discussion Forums
- » Help with Scripts
- » Blocks