Discuss Scratch

tealtone
New Scratcher
24 posts

Letter

I want to make a flappy bird game! what tutorial should I follow?
JasonStudentSchool
New Scratcher
10 posts

Letter

I have some simple code for you to make the perfect flappy bird game

when green flag clicked
set [ Y vel] to [0]
go to x: (-100) y: (0)
forever
change [ Y vel] by ((Y vel) * (-0.1))
change y by (Y vel)
change [ Y vel] by (-0.5)
end

when green flag clicked
forever
if <<key [ space] pressed?>> then
change [ Y vel] by (20)
wait (0.5) secs
end
end

I don't know if this works but it is based off code I use

You can change the gravity by changing the -0.5 in the change Y vel code at the bottom
You can change the jump strength by changing the 20 in the space pressed one

——————————————-

Try my winter game https://scratch.mit.edu/projects/1239718418/editor

Last edited by JasonStudentSchool (Nov. 8, 2025 02:53:48)

tealtone
New Scratcher
24 posts

Letter

thank you so much! Is there any way you could send me the sb3 file?
JasonStudentSchool
New Scratcher
10 posts

Letter

I shared it you can either export it or remix it this is it
https://scratch.mit.edu/projects/1239751735/
idk how to send the file us new scratchers has to help each other
tealtone
New Scratcher
24 posts

Letter

thanks btw
JasonStudentSchool
New Scratcher
10 posts

Letter

Here is simple Wall code

when green flag clicked
hide

when I start as a clone
show
go to x: (200) y: (pick random (-200) to (200))
repeat (40)
move (-12) steps
end
delete this clone

when green flag clicked
forever
wait (2.5) secs
create clone of [ myself]
end

put this in the player

when green flag clicked
forever
if <touching [ wall] ?> then
stop [ all]
end
end

make the wall 2 squares
tealtone
New Scratcher
24 posts

Letter

are you able to add it to the game? I don't know how to make some of the blocks that you have.
JasonStudentSchool
New Scratcher
10 posts

Letter

there is no feature to have another person to edit your project

but the codes you probably don't know is

stop [ v]
create clone of [ v]

<touching [ v] ?>

It's not possible

Last edited by JasonStudentSchool (Nov. 8, 2025 20:40:20)

JasonStudentSchool
New Scratcher
10 posts

Letter

or you can just go to https://scratch.mit.edu/projects/1239917511/ it's more complicated but I put comments showing what each script does

Powered by DjangoBB