Discuss Scratch

kaiakoi
Scratcher
5 posts

Pen detection glitch

My browser / operating system: Windows NT 10.0, Firefox 97.0, No Flash version detected
Testing using TurboWarp Desktop

hello, internet people.
i made what is pretty much a ray, that draws a line from the player until it touches the level sprite or the background.
the bug is this: when the line's direction is perfectly 0, 90, 180, or -90, the entire script LAGS.

here is the code:
(runs without screen ref)

sidenote why does this website not allow imgur

please help.My browser / operating system: Windows NT 10.0, Firefox 97.0, No Flash version detectedMy browser / operating system: Windows NT 10.0, Firefox 97.0, No Flash version detected

Last edited by kaiakoi (Feb. 19, 2022 01:33:14)

Crazyrichcharlie
Scratcher
2 posts

Pen detection glitch

It's because the pen is mad that you forgot their birthday, and if you don't buy them a present soon things will get ugly

Last edited by Crazyrichcharlie (Feb. 19, 2022 01:35:34)

kaiakoi
Scratcher
5 posts

Pen detection glitch

bump.
ideapad-320
Scratcher
1000+ posts

Pen detection glitch

can you post a link to the project and share it? Also, make a new project to make sure it is not something else in your project.

Powered by DjangoBB