Help me please I need it

I have a bug where the background doesn’t load in, I’m making a backrooms thing and the wall is kind of colliding with the texture? I don’t really know.

1 Like

huh, that’s a fun bug! seems like it’s being caused by the fact that you’re setting a background image that is smaller than the screen size. change the size of your transparent background image to be 160x120

@AqeeAqee looks like you get some cool rendering bugs if you use a small background image with raycasting!

5 Likes

I changed it to 160x120 pixels, but the bug seemed to persist, what should I do?

1 Like

nevermind, Ii fixed it.

1 Like

Try filling the rest of the image with a solid color. The bug is caused by the fact that the renderer skips clearing the screen if there is a background image, so it just “clears” the screen by filling it with the background. If the background doesn’t effectively clear all the pixels, this bug will happen.

4 Likes

I figured it out, instead of using a variable, I used the score integer, which caused it to constantly set to that background, the effect was intended for when the variable is low.

1 Like