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.
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!
I changed it to 160x120 pixels, but the bug seemed to persist, what should I do?
nevermind, Ii fixed it.
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.
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.