There's a dark room in my game where there's a small amount of light that illuminates from the player, and follows them throughout the dark room. The way I have it set up is this:
For some reason, when the player enters the map, the dark "picture" I am using is off to the upper-left corner. It's kind of strange because I made sure to "center" the image as shown in the screenshot. Am I coding this correctly?
For reference, the picture I created is 816 x 816, and the glow is sort of in the middle as shown here:
Perhaps it is the dimensions that need to be adjusted? I'm just not sure what to do here. Any tips/suggestions would be a big help.
For some reason, when the player enters the map, the dark "picture" I am using is off to the upper-left corner. It's kind of strange because I made sure to "center" the image as shown in the screenshot. Am I coding this correctly?
For reference, the picture I created is 816 x 816, and the glow is sort of in the middle as shown here:
Perhaps it is the dimensions that need to be adjusted? I'm just not sure what to do here. Any tips/suggestions would be a big help.