Discuss Scratch

Burrito997
New to Scratch
14 posts

sprite glitching through platforms on platformer game

Im making a platform game and i looked up how to make my guy move very slick and i pretty much copied the code shown in this video
https://www.youtube.com/watch?v=4YoGkwV7D9c

Here is my project
http://scratch.mit.edu/projects/22749175/

now if you you miss a jump on one of the platform forms you go right throuh them and are stuck unless you spam w

how can i fix this?
LoudOrange2001
Scratcher
48 posts

sprite glitching through platforms on platformer game

Do you mean he comes up through the bottom of it?

LoudOrange
Burrito997
New to Scratch
14 posts

sprite glitching through platforms on platformer game

he goes right through the platform he can jump up through it from the bottom and either side but not when the sprite is on top the platform
Burrito997
New to Scratch
14 posts

sprite glitching through platforms on platformer game

Bump
i really need this answered
drmcw
Scratcher
1000+ posts

sprite glitching through platforms on platformer game

The tutorial you followed only shows you a simple idea for velocity, jumping and bouncing it does nothing for sideways or top detection, so will never work as a platformer unless you start sensing around the character. People usually add either sensors around the character for that or flip costumes to detect platforms to the side or above as well as below..

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
Burrito997
New to Scratch
14 posts

sprite glitching through platforms on platformer game

alright thanks
Burrito997
New to Scratch
14 posts

sprite glitching through platforms on platformer game

ok i followed the scrathc tutorial to sensing but for some reason he isnt bouncing away from the plat forms still. I made it so that the sensor followed the sprite forever and this still hasnt fixed it , please some help me again -_-

Powered by DjangoBB