Discuss Scratch

-ExoByte-
Scratcher
100+ posts

RNDR | Weird dot appearing?

I am currently making Scratch's first ever Pen Game Engine, RNDR (Pronounced “Render”). RNDR aims to help people who are making 1-sprite projects, 100% Pen Projects, or projects that are originally too big for Scratch to handle. Everything was going well as most of my errors happen by not ticking “Run without screen refresh”, but this one thing I don't know what caused. It's not the end of the world for my project, but it will certainly be annoying for those who use it. It's this little dot, it's super small and stays in the middle and I don't know what caused it! How do I get it to disappear?

Project: https://scratch.mit.edu/projects/887621594/editor/
qwertycodechamp90411
Scratcher
100+ posts

RNDR | Weird dot appearing?

I haven't pinpointed the exact problem, but removing the first stamp from the set sprite ()'s position block fixes it, as well as hiding the square.

I believe the problem is that the square is stamping itself at a small size at 0, 0.
griefercube
Scratcher
500+ posts

RNDR | Weird dot appearing?

Found the problem.

Here are 3 workarounds (I’m not going to touch the other parts of the program that doesn’t look optimised):
Top is most efficient
Middle is one closest to your program
Bottom is the first workaround I’ve devised

edit: sorry for the low quality

Last edited by griefercube (Sept. 1, 2023 11:38:56)

-ExoByte-
Scratcher
100+ posts

RNDR | Weird dot appearing?

griefercube wrote:

Found the problem.

Here are 3 workarounds (I’m not going to touch the other parts of the program that doesn’t look optimised):
Top is most efficient
Middle is one closest to your program
Bottom is the first workaround I’ve devised

edit: sorry for the low quality
Whoa, thanks! It worked! I dunno how, but I'm grateful

Powered by DjangoBB