Hello everyone!
I've put together this for a game, and I thought that I'd share it with the community, it is a basic top down game with correct line of sight(cant see through walls or behind you) somewhat of a day/night cycle, correct lighting and camera rotation, and interaction with objects.
It's also easy to build more buildings!
Just add a wall with shadowcaster behaviour to the 'Shadows' layer. This creates opaque walls, also hit 'solid' to make sure you dont phase through them :P
How line of sight works
<img src="http://i.imgur.com/6SeWR6i.png" border="0" />
areas you cant see that is part of the terrain will lose saturation, any dynamic objects will disappear.
Need me to add something? Comment!
WASD to move, Q to snap to day, E to fade to night.
F to enter/exit car
dropbox.com/s/gzfdbeh2lopgs3o/Top%20down%20template.cap
EDIT: I've realised that the player can just phase through walls :P