Discuss Scratch

redfoxfire
Scratcher
40 posts

How do i make better controls?

Im making a game on my other account @ANANAS_2nd and would like some help:

The ground is made of smooth slopes, but i cant seem to make the character move up when touching it (the platforms and the background are on the same sprite, so i'm using (if touching ) blocks) how can i fix this?

The sprite has al of its costumes, including the walk animation, in it. how can i fix this so that when walking, I don't have the extra frames?

_THEBOSS_7
Scratcher
500+ posts

How do i make better controls?

1) link? 2) maybe your slope detection is not working.
redfoxfire
Scratcher
40 posts

How do i make better controls?

_THEBOSS_7 wrote:

1) link? 2) maybe your slope detection is not working.
1) the project is not made yet, but i will share it 20 how do i do that
redfoxfire
Scratcher
40 posts

How do i make better controls?

redfoxfire wrote:

_THEBOSS_7 wrote:

1) link? 2) maybe your slope detection is not working.
1) the project is not made yet, but i will share it 20 how do i do that
Here is the project i am talking about: https://scratch.mit.edu/projects/457640159
DerpyHead0
Scratcher
1000+ posts

How do i make better controls?

the issue is that you just don't have any code the move the player up when they're in the ground, all the code does is move the player left and right.
you need to acutally move the player up.
all the code does currently is move the player down if they aren't in the ground.
Citrus_Ilithid
Scratcher
25 posts

How do i make better controls?

do a forever loop and a
whenclickedforeverifkey right arrowpressed?thenelse

Powered by DjangoBB