Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help with a glitch!
- Minecraft_RT_Edition
-
Scratcher
23 posts
Help with a glitch!
hello there
So about 2 weeks ago I made a post about my basketball game, yet no one had a solution. In simple terms, There is a glitch that when the player hits the bottom of the screen or touches a color, the player glitches out and is stuck. The player can't leave that position unless you restart the project. This is a bad glitch and because of it I can't update the game at all. If someone can remix the project or tell me what code to edit, it will be greatly appericated!
Thanks!
Project:https://scratch.mit.edu/projects/621280335/
So about 2 weeks ago I made a post about my basketball game, yet no one had a solution. In simple terms, There is a glitch that when the player hits the bottom of the screen or touches a color, the player glitches out and is stuck. The player can't leave that position unless you restart the project. This is a bad glitch and because of it I can't update the game at all. If someone can remix the project or tell me what code to edit, it will be greatly appericated!
Thanks!
Project:https://scratch.mit.edu/projects/621280335/
- Minecraft_RT_Edition
-
Scratcher
23 posts
Help with a glitch!
Also if someone can figure out the glitch with the rims. It occurred when I was trying to fix the border and now I can't fix it
- soltesz2120
-
Scratcher
100+ posts
Help with a glitch!
Also if someone can figure out the glitch with the rims. It occurred when I was trying to fix the border and now I can't fix itim trying to fix it right now
- soltesz2120
-
Scratcher
100+ posts
Help with a glitch!
Also if someone can figure out the glitch with the rims. It occurred when I was trying to fix the border and now I can't fix it
I Fixed It!
Just give credit https://scratch.mit.edu/projects/621280335
i like the game btw- Thingied
-
Scratcher
1000+ posts
Help with a glitch!
1. Remove the “if on edge, bounce” block at the beginning of the movement script. This messes with the y position and just makes things more confusing.
Change scipt:

2. Because the player moves up when it collides with the bottom, the player can't move afterwards. The fix is to just remove that motion block.
Next, change the “set P1Y” block to be -165. It can't be anything lower than that because then it just stays under the bottom.
Changed script:

Change scipt:

2. Because the player moves up when it collides with the bottom, the player can't move afterwards. The fix is to just remove that motion block.
Next, change the “set P1Y” block to be -165. It can't be anything lower than that because then it just stays under the bottom.
Changed script:

- Discussion Forums
- » Help with Scripts
-
» Help with a glitch!