Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Character keeps falling through ground in Platformer game I'm making
- Barney_at_Bonels83
-
Scratcher
500+ posts
Character keeps falling through ground in Platformer game I'm making
Hello, I'm making a simpsons platformer game and I watched Zinnea's tutorial on ground collisions. I wanted the character to spawn at the left like in Sonic the Hedgehog. So I tried using the
go to x: (something) y: (something)but when the game starts, the character is at the very bottom of the map despite following the code she did for the tutorial. Whats going on?
- DragonPlusMaster
-
Scratcher
100+ posts
Character keeps falling through ground in Platformer game I'm making
If it's a scrolling game, you should be spawning the map in that position. If it's not, can you please try sharing the project so I could get a better look? 

- Barney_at_Bonels83
-
Scratcher
500+ posts
Character keeps falling through ground in Platformer game I'm making
If it's a scrolling game, you should be spawning the map in that position. If it's not, can you please try sharing the project so I could get a better look?It's kind of a horror-elemented game, so no, I don't think I can share it. However, once I get cubeupload or something else scratch supports, I will show you the code. (It is not a scrolling platformer)
- DragonPlusMaster
-
Scratcher
100+ posts
Character keeps falling through ground in Platformer game I'm making
Can you backpack the sprite (and map) that's not working and share that instead? If not, could you share the script using scratchblocks? Thanks!If it's a scrolling game, you should be spawning the map in that position. If it's not, can you please try sharing the project so I could get a better look?It's kind of a horror-elemented game, so no, I don't think I can share it. However, once I get cubeupload or something else scratch supports, I will show you the code. (It is not a scrolling platformer)
- Barney_at_Bonels83
-
Scratcher
500+ posts
Character keeps falling through ground in Platformer game I'm making
Cubeupload won't send me my verification email, so heres the script for the character:
when I receive [Level 1: springfeild v]
show
go to [back v] layer //There is a title card at the beginning of the level, Thats why there is a back layer block.
go to x: (-180) y: (-71)
forever
Left and Right controls
jump
Jump speed? I don't know bro I watched a tutorial ( It's called apply gravity, my bad )//I'm not kidding, that's literally what I named the block.
gravity check
let the player jump bro//I also named this.
end
- Discussion Forums
- » Help with Scripts
-
» Character keeps falling through ground in Platformer game I'm making