Rotating & vanishing Guards

Blogg_Screenshot

 

Okay! This week has been a very interesting one! I have been further working on our level design and have been adding in rotations to our stationary guards. I also had to remake all of the patrolling patterns for our guards since there was some issues with how the guards spawned in comparison to where they wanted to patrol. I solved the patrolling guard issue quite easily, it was just a bit of tedious work on it to get it working properly. The rotation of the stationary guards was, for me, difficult in the beginning and ended up being a bit of a guessing game since I had no idea how to do it and the programmers had a hard time remembering how they did it. The main problem I had with it was this: I had to write the angle of which the guard starts rotating from and the angle where it turns and starts rotating back again. The guard in the picture for an example rotaded 270 degrees to 90 degrees. The thing I found to be most complicating about this was to make him rotate on the right side, to make this happen (if the guard didn’t rotate towards the hallway, but instead straight into the wall) was to simply flip the order of the angles in the document. I think I probably managed to make them rotate the wrong way every time and didn’t do it right from the start even a single time… But anyways, easily solved!
When fixing the patrolling guards we also encountered a minor issue where the guards couldn’t be spawned in the exact location that they where meant to be patrolling. Also a minor inconvenience that was easy to fix but still took some time to fix up properly.
Later in the week we started getting more features in and I had to start using the newer version of our game since this one was dated. We had added in more weapons, animations, the new sprites and so on. This is when the issues began. Patrolling guards began disappearing from the map, and we had no idea why. The vanishing of guards followed no specific patterns at all, it all happened completely at random. Later, started adding in sounds aswell, it all worked fine, until it suddenly just stopped working. Partially atleast. The gun stopped making sound for all of us except for one. All the issues we had, stopped happening on one of our computers. The owner of this computer uploaded his version of the game but it still isn’t working on the rest of our computers.
At the moment we have no way of fixing it, since we don’t know what the issue is. But that is for the programmers to find out!