Alot has happened in the way of progress towards this game as a whole. Not alot has been done this round coding wise, though there have been a few, however aesthetically we have a different story in my opinion. Let's see if i can list all the changes that have happened since the last progress update.
Features Added/Changed:
- Sounds
- Pickup sound for key
- Laser sound
- Yes you read it right! LASERS! I have implemented lasers into the game. currently they do nothing other then sit there and look pretty but the future will be that the lasers will trip an alarm and to get around them you'll need to deactivate them
- On the subject of lasers and also sound, i have modified a code that i got online to make the audio source of the lasers follow a path towards the characters position. The reasoning for this was that the lasers are a straight line and the audio source 3d sound distance detection is a sphere so simply putting this at the center of the lasers isn't going to cut it because the sound will fade at both the furthest ends even though you are still near the laser. Multiple audio sources didn't work well either the change in volume while still at the lasers was still there, however this script allows for the need of only one audio source and the sound stays constant.
- The floor is now shiny and reflective, i wanted to give the game a polished floor look because it was something i felt was needed for the feel and also to make the game less visually dull. And after much mucking around with reflection probes and cubemaps i managed to fake a solution using a script and a shader and it looks quite decent.
- Speaking of visuals we also have some new environmental props to spruce up the joint.
-Props
- Lamp
- Cactus Plant
- Desk
- Mug
- Picture Frames
- Once again the camera has been changed, i managed to get a camera that behaves similar to the one in 3dsMax, i have modified it a bit to work for how i wanted it to, i think also it didn't work straight out of the box (pun intended) anyway.
As always many a picture and video to also visually show the progress.
Reflections and Laser
More Reflections and Lasers. Please note i am
aware that the shadows(not on the floor because that
creates shadows differently) look horrible, i have the
shadow quality crank up and have messed around
but can't make it look right
Here we see a room with all the props before
mentioned
Key Pickup Sound
This video shows the laser sound plus also
how the follow script for the audio source is
working