Discuss Scratch

WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

Hi! I just updated the artwork in my game, Pause to play, and everything has been working well. However, I encountered one bug. while holding w and d, or up and right arrow, after releasing the up arrow, you are stuck in the side jump animation. (Screenshot here) It doesn't happen when going to the left and doing the same thing. I think it could be something to do with the mobile controls? (the mobile controls make you constantly face right unless your moving). When you respond, please respond with codeblocks, because they make so much more sense than saying something like “oh you need to adjust this variable” like that doesn't help. Anyways hope you can help!

Pause to Play - https://scratch.mit.edu/projects/896204757/

Thanks!
Waffles

Last edited by WafflesYouTubeMC (Oct. 24, 2024 19:18:16)

Jareddddddd
Scratcher
1000+ posts

HELP PLEASE

hi, i have seen this post many times and I cannot replicate the bug. Could you send a screen shot of what is happening?
WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

How would i send a screen shot?
Jareddddddd
Scratcher
1000+ posts

HELP PLEASE

WafflesYouTubeMC wrote:

How would i send a screen shot?
create a screenshot and host it using someting like ‘cubeupload’
WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

https://ibb.co/sq5WTYN (Updated link)

This is after holding up and right, and then releasing up. only happens sometimes, but id like my game to be as polished as possible

Last edited by WafflesYouTubeMC (Oct. 8, 2024 19:49:26)

GachaEnjoyer
Scratcher
97 posts

HELP PLEASE

WafflesYouTubeMC wrote:

https://ibb.co/m4q0qnV

This is after holding up and right, and then releasing up. only happens sometimes, but id like my game to be as polished as possible
I found the problem. its n player sprite and n the animation code.
https://ibb.co/ys4Cr92
the
<not <key [any v] pressed?>>
block is false when the other direction keys r pressed making it not switch to the stand costume.
Currently gonna try to bug fix this with a solution as its my first time dealing with animation code.

I just noticed I was wrong lol it should be switching to the walking animation

Ur gonna have to redo ur entire animation code.

Last edited by GachaEnjoyer (Sept. 13, 2024 03:42:47)

WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

GachaEnjoyer wrote:

WafflesYouTubeMC wrote:

https://ibb.co/m4q0qnV

This is after holding up and right, and then releasing up. only happens sometimes, but id like my game to be as polished as possible
I found the problem. its n player sprite and n the animation code.
https://ibb.co/ys4Cr92
the
<not <key [any v] pressed?>>
block is false when the other direction keys r pressed making it not switch to the stand costume.
Currently gonna try to bug fix this with a solution as its my first time dealing with animation code.

I just noticed I was wrong lol it should be switching to the walking animation

Ur gonna have to redo ur entire animation code.

Okay thats frustrating. Is there any way that you could remix my project to bugfix it or should I find someone else?
GachaEnjoyer
Scratcher
97 posts

HELP PLEASE

WafflesYouTubeMC wrote:

GachaEnjoyer wrote:

WafflesYouTubeMC wrote:

Snip
I tried to bug fix it but the only way is to redo the entire animation code
WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

GachaEnjoyer wrote:

WafflesYouTubeMC wrote:

GachaEnjoyer wrote:

WafflesYouTubeMC wrote:

Snip
I tried to bug fix it but the only way is to redo the entire animation code

Can you maybe help me do that?
WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

Hello? Can anyone help me fix my animation glitches?
conducter_kid
Scratcher
61 posts

HELP PLEASE

I'm having the same problem
No one is helping me either
WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

Yea its frustrating
SpyCoderX
Scratcher
1000+ posts

HELP PLEASE

WafflesYouTubeMC wrote:

Hi! I just updated the artwork in my game, Pause to play, and everything has been working well. However, I encountered one bug. while holding w and d, or up and right arrow, after releasing the up arrow, you are stuck in the side jump animation. (Screenshot here) It doesn't happen when going to the left and doing the same thing. I think it could be something to do with the mobile controls? (the mobile controls make you constantly face right unless your moving). When you respond, please respond with codeblocks, because they make so much more sense than saying something like “oh you need to adjust this variable” like that doesn't help. Anyways hope you can help!

Pause to Play - https://scratch.mit.edu/projects/896204757/

Thanks!
Waffles




Yes its a repost because noone was helping me
I’ll see what I can do to help. (tmr, not rn; it’s late)

Also, if your topic isn’t getting attention you should just reply to it with “bump” instead of making a repost. Helps to keep the forums less cluttered.
WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

ah okk sick thanks for the help
SpyCoderX
Scratcher
1000+ posts

HELP PLEASE

WafflesYouTubeMC wrote:

ah okk sick thanks for the help
I took a Quick Look and I recommend that you do remake the animation code. It is much more complex than it needs to be. Just a few if statements should do it.
ProfessorUelf
Scratcher
100+ posts

HELP PLEASE

WafflesYouTubeMC wrote:

Hi! I just updated the artwork in my game, Pause to play, and everything has been working well. However, I encountered one bug. while holding w and d, or up and right arrow, after releasing the up arrow, you are stuck in the side jump animation. (Screenshot here) It doesn't happen when going to the left and doing the same thing. I think it could be something to do with the mobile controls? (the mobile controls make you constantly face right unless your moving). When you respond, please respond with codeblocks, because they make so much more sense than saying something like “oh you need to adjust this variable” like that doesn't help. Anyways hope you can help!

Pause to Play - https://scratch.mit.edu/projects/896204757/

Thanks!
Waffles




Yes its a repost because noone was helping me

I looked inside your project and in the walking-animation you had the keybindings wrong. After fixing it, I couldn't replicate the bug anymore.

You had this…
if <<<key [w v] pressed?> or <key [left arrow v] pressed?>> and < not <<key [w v] pressed?> or <key [up arrow v] pressed?>>>> then
repeat until <not <<key [w v] pressed?> or <key [left arrow v] pressed?>>>
walking animation
end
end

when it should be “a” and “left arrow” in the first part.

Also in the walking right animation, it has to be “d” and “right arrow”.
WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

so I just need to change the first “key w pressed” to a “key a pressed” and what was the second part?
ProfessorUelf
Scratcher
100+ posts

HELP PLEASE

WafflesYouTubeMC wrote:

so I just need to change the first “key w pressed” to a “key a pressed” and what was the second part?
Just below it, it has to be d and right arrow
WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

Thank you ProfessorUelf, did I do it correctly?
WafflesYouTubeMC
Scratcher
500+ posts

HELP PLEASE

It doesn't seem to be fixed, that made it more likely to happen

Powered by DjangoBB