Discuss Scratch
- Discussion Forums
- » Things I'm Making and Creating
- » How To make a Platformer Game?
- JaidenKaleTVY
-
1 post
How To make a Platformer Game?
How do I Make a platformer game? I watched videos of other ideas and it didn't work for me sometimes.

- nowayoryesway
-
19 posts
How To make a Platformer Game?
How do I Make a platformer game? I watched videos of other ideas and it didn't work for me sometimes.I Will Help You For Sure!
1. Make you player sprite
2. make your level sprite
3. make your flag sprite (put it where the end of the platformer)
4. put these blocks in your player sprite
when green flag clicked5. for level no blocks but here are blocks for your winning sprite
forever
if <key <<a> or <left arrow>> pressed?> then
move (-7)
switch costume to [ your player costume fasing left]
end
if <key <<d> or <right arrow>> pressed?> then
move (7)
switch costume to [ your player costume fasing right]
end
if <key [ space] pressed?> then
repeat (3)
change y (3)
end
repeat (3)
change y (-3)
end
end
end
define move (steps)
move (steps) steps
if <touching [ your level sprite] ?> then
move (0) steps
end
define change y (input)
change y by (input)
if <touching [ your level sprite] ?> then
change y by (0)
end
when green flag clickedif it dosen't work then just watch this grifpatch tutorial: https://www.youtube.com/watch?v=D16hTnDGweo&ab_channel=griffpatch
forever
if <touching [ your player sprite] ?> then
stop [ all]
end
end
Last edited by nowayoryesway (Dec. 24, 2023 10:47:58)
- nowayoryesway
-
19 posts
How To make a Platformer Game?
if grifpatch tutor deosen't work then , uhh you will never make a platformer (i hope this tutor works) sorryHow do I Make a platformer game? I watched videos of other ideas and it didn't work for me sometimes.I Will Help You For Sure!
1. Make you player sprite
2. make your level sprite
3. make your flag sprite (put it where the end of the platformer)
4. put these blocks in your player spritewhen green flag clicked5. for level no blocks but here are blocks for your winning sprite
forever
if <key <<a> or <left arrow>> pressed?> then
move (-7)
switch costume to [ your player costume fasing left]
end
if <key <<d> or <right arrow>> pressed?> then
move (7)
switch costume to [ your player costume fasing right]
end
if <key [ space] pressed?> then
repeat (3)
change y (3)
end
repeat (3)
change y (-3)
end
end
end
define move (steps)
move (steps) steps
if <touching [ your level sprite] ?> then
move (0) steps
end
define change y (input)
change y by (input)
if <touching [ your level sprite] ?> then
change y by (0)
endwhen green flag clickedif it dosen't work then just watch this grifpatch tutorial: https://www.youtube.com/watch?v=D16hTnDGweo&ab_channel=griffpatch
forever
if <touching [ your player sprite] ?> then
stop [ all]
end
end

- coleman3w07
-
1 post
How To make a Platformer Game?











if grifpatch tutor deosen't work then , uhh you will never make a platformer (i hope this tutor works) sorryHow do I Make a platformer game? I watched videos of other ideas and it didn't work for me sometimes.I Will Help You For Sure!
1. Make you player sprite
2. make your level sprite
3. make your flag sprite (put it where the end of the platformer)
4. put these blocks in your player spritewhen green flag clicked5. for level no blocks but here are blocks for your winning sprite
forever
if <key <<a> or <left arrow>> pressed?> then
move (-7)
switch costume to [ your player costume fasing left]
end
if <key <<d> or <right arrow>> pressed?> then
move (7)
switch costume to [ your player costume fasing right]
end
if <key [ space] pressed?> then
repeat (3)
change y (3)
end
repeat (3)
change y (-3)
end
end
end
define move (steps)
move (steps) steps
if <touching [ your level sprite] ?> then
move (0) steps
end
define change y (input)
change y by (input)
if <touching [ your level sprite] ?> then
change y by (0)
endwhen green flag clickedif it dosen't work then just watch this grifpatch tutorial: https://www.youtube.com/watch?v=D16hTnDGweo&ab_channel=griffpatch
forever
if <touching [ your player sprite] ?> then
stop [ all]
end
end
- coca-cola456
-
7 posts
How To make a Platformer Game?
How do I Make a platformer game? I watched videos of other ideas and it didn't work for me sometimes.I Will Help You For Sure!
1. Make you player sprite
2. make your level sprite
3. make your flag sprite (put it where the end of the platformer)
4. put these blocks in your player spritewhen green flag clicked5. for level no blocks but here are blocks for your winning sprite
forever
if <key <<a> or <left arrow>> pressed?> then
move (-7)
switch costume to [ your player costume fasing left]
end
if <key <<d> or <right arrow>> pressed?> then
move (7)
switch costume to [ your player costume fasing right]
end
if <key [ space] pressed?> then
repeat (3)
change y (3)
end
repeat (3)
change y (-3)
end
end
end
define move (steps)
move (steps) steps
if <touching [ your level sprite] ?> then
move (0) steps
end
define change y (input)
change y by (input)
if <touching [ your level sprite] ?> then
change y by (0)
endwhen green flag clickedif it dosen't work then just watch this grifpatch tutorial: https://www.youtube.com/watch?v=D16hTnDGweo&ab_channel=griffpatch
forever
if <touching [ your player sprite] ?> then
stop [ all]
end
end
But then how do u do the gravity part? I tried diff tutorials on scratch i just got more confused

Last edited by coca-cola456 (Dec. 24, 2023 14:10:31)
- nowayoryesway
-
19 posts
How To make a Platformer Game?
oops , there is a new one:How do I Make a platformer game? I watched videos of other ideas and it didn't work for me sometimes.I Will Help You For Sure!
1. Make you player sprite
2. make your level sprite
3. make your flag sprite (put it where the end of the platformer)
4. put these blocks in your player spritewhen green flag clicked5. for level no blocks but here are blocks for your winning sprite
forever
if <key <<a> or <left arrow>> pressed?> then
move (-7)
switch costume to [ your player costume fasing left]
end
if <key <<d> or <right arrow>> pressed?> then
move (7)
switch costume to [ your player costume fasing right]
end
if <key [ space] pressed?> then
repeat (3)
change y (3)
end
repeat (3)
change y (-3)
end
end
end
define move (steps)
move (steps) steps
if <touching [ your level sprite] ?> then
move (0) steps
end
define change y (input)
change y by (input)
if <touching [ your level sprite] ?> then
change y by (0)
endwhen green flag clickedif it dosen't work then just watch this grifpatch tutorial: https://www.youtube.com/watch?v=D16hTnDGweo&ab_channel=griffpatch
forever
if <touching [ your player sprite] ?> then
stop [ all]
end
end
But then how do u do the gravity part? I tried diff tutorials on scratch i just got more confused![]()
change y (4)there , a fixed one.
define change y (input)
if <touching [your level sprite] ?> then
change y by (0)
else
change y by (input)
end
same thing with movement:
move (4)
define move (input)
if <touching [your level sprite] ?> then
move (0) steps
else
move (input) steps
end
Last edited by nowayoryesway (Dec. 24, 2023 15:04:25)
- nowayoryesway
-
19 posts
How To make a Platformer Game?
<<<<<<<<<<i always help in any discusion>>>>>>>>>>
(((((((((((((((((((i am sure that you will follow me ))))))))))))))))))
Last edited by nowayoryesway (Dec. 24, 2023 15:10:18)
- The_Purple_Frog
-
1 post
How To make a Platformer Game?
The only thing is, I tried that, and it didn't work. LIke the guy just wouldn't move or jump
- cosmosaura
-
1000+ posts
How To make a Platformer Game?
Topic closed due to necroposting.
- Discussion Forums
- » Things I'm Making and Creating
-
» How To make a Platformer Game?