Added visibility check to wolf attack. Need to tweak.
Added health bars, Enemy attack line of sight, Game Over menu. I forgot to mention in my last commit I started reworking walls. You can place them anywhere currently, but they will snap to a grid eventually. This commit also has a windows release executable in it
Got simple walls working but for some reason OnTriggerEnter and Exit are not being called so I can't check for collision with terrain
Tweaked some values so that fences fit together. Still need to do other 3 rotations
Removed Release folder
Added the other 3 rotated walls. Horizontal and vertical walls now line up so that you can make a rectangular enclosure (yes) but 45 degre e walls need to be modified so that they line up with the straight ones. Wall o verlap checks with the terrain arent working for some reason, so you can build floating walls. Once that is fixed we will also prevent walls from overlapping each other.
Cleaned up directory and deleted many unused files.
I think I found the overlap bug
Giving up on wall bug for now. Need to adjust angled walls so that useful patterns can be made. Moving on to a new scene and random resource spawning
Made a new scene called Game. Added the cottage as a buildable structure for 5 wood and 5 ore.
Tweaked the building shaders
Added random spawning resources to the scene. Added a loading screen. Wolves need to be scripted to spawn at night.