How does any of this make sense:
The light is here

Look at how it casts

Why is there an area where light is under the shadow? It's casting as if there is a cube in the sky, and the Omni Light is above the floor as well, so why does this happen?

Also when I try to use a spotlight, which gives the light behavior I want, this happens!

Here the shadows are casting where I want them to cast, but what is happening to the walls!
All I want is the effect where you cannot see anything behind a wall, so I thought I could use light to shine on everything that you can see, and then have everything you can't see in the dark, so I made the world environment dark
This is a top-down game, so I need this effect so that you can still only see what the player can see