Discuss Scratch

Murl7287
Scratcher
4 posts

Scratch help

Im trying to make a scratch game for my bio unit test, and im trying to make it a bit subway surfer themed so i want my sprite to jump over obstacles, but the problem is that my scratch won't jump, i tried to fix it but it it doesn't work, if you know how you could help pls do so asap i need to finish this by next friday
Wolf_Link21
Scratcher
100+ posts

Scratch help

can you show me the project?
Murl7287
Scratcher
4 posts

Scratch help

https://scratch.mit.edu/projects/1106286249/editor

im not sure how else i could show you the project, just begin it and click on the start button and click a instead of any key, it was any key before but i changed it to a, anyway then you will notice that my sprite doesn't jump
ametrine_
Scratcher
1000+ posts

Scratch help

it doesn't look like you have any code for the cat to jump.
Murl7287
Scratcher
4 posts

Scratch help

i tried adding the if key space pressed then set y to 10 but my sprite still wont jump, am i just doing it wrong? if so can you tell me how to do it right?

and now my scratch just ends up fallling right down instead of jumping

what do i do please help

Last edited by Murl7287 (Dec. 15, 2024 05:01:23)

theashbreather
Scratcher
88 posts

Scratch help

Murl7287 wrote:

i tried adding the if key space pressed then set y to 10 but my sprite still wont jump, am i just doing it wrong? if so can you tell me how to do it right?

and now my scratch just ends up fallling right down instead of jumping

what do i do please help
The issue is there is no ground. Like, you never had a costume for the sprite to jump off of. Consider designing your ground first for the ground sprite. Sprites cannot collide with the background, unless touching color is used and the ground is one specific color.

Last edited by theashbreather (Dec. 15, 2024 06:00:36)

Murl7287
Scratcher
4 posts

Scratch help

Thanks that really helped, it now jumps but it still keeps falling down the screen on the first backdrop, i tried adding a new ground to try making it stay still in the first backdrop but it kept falling right down…

Powered by DjangoBB