Discuss Scratch

25josmi311
Scratcher
2 posts

Need help with my project, please help.

My teacher told me to go on to the discussion forums and ask for help with a problem I've been having. We couldn't figure out how to fix it, but in this platforming game I was assigned, the sprite will not stay on the ground. It is constantly hovering just slightly above the ground while standing and won't fall down to the ground where it should be. I checked with my teacher and all the code is correct, this is the only problem. So if anyone could please give me advice or tell me how to fix this problem, then thank you. (The ground is also correctly aligned as well, so that isn't the problem)

Link to the game: https://scratch.mit.edu/projects/333631554/

Last edited by 25josmi311 (Oct. 8, 2019 16:47:08)

vcokltfre
Scratcher
64 posts

Need help with my project, please help.

The problem is that the costume on the sprite is not correctly placed so the sprite isn't actually hovering, it's just that the image is further up the canvas than it should be. I'd also suggest you make the project act as if the top of the canvas is a ceiling, so the sprite bounces down instead of appearing to float for a while.

Edit: here's a fixed version I made https://scratch.mit.edu/projects/334826790/

Last edited by vcokltfre (Oct. 8, 2019 16:55:04)


GENERATION 363: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment. I did not start this.

set [neuron#6352] to [0.164523846]
set [neuron#6353] to [0.938245764]
set [neuron#6354] to [0.983563488]
set [neuron#6355] to [0.527382948]
set [neuron#6356] to [0.163548436]
set [neuron#6357] to [0.983456385]
25josmi311
Scratcher
2 posts

Need help with my project, please help.

Alright thank you, I just looked at the sprite for standing and I do see that it isn't aligned properly. I fixed it and I will tell my teacher since others are having the problem too.

Powered by DjangoBB

Standard | Mobile