Thursday, 10 December 2015

Gameplay and Interactivity - Bug Fixes and Improvements

Wednesday 9th December 2015

Bug Fixes and Improvements

Along the journey of making this game I've come across various bugs or things I could Improve on; both from having people test my game and relay their feedback and by playing the game myself and coming up with ideas to make it clearer for the player or more interesting for them or just to fix problems that arose.

Some of the major issues I experienced during the process were:


- Finding out how to put the correct mesh colliders on each of the objects I imported. I found out that everything needed to be named in the Maya outliner before it was imported into Unity so that it could find the colliders itself.

- Resizing models in Unity because the scale was off compared to the character. I did this either in Unity with individual models or reimporting resized models from Maya again, it took a long time and in the future I will pay more attention to the sizing of my models before finalizing on them.

- Getting my doors to rotate open the right way. To get past this problem I needed to change the pivot point back in Maya so that it was where I wanted my door to rotate from and then re-export it out. I also needed to change a line of code from
'finalRot = (new Vector3 (0f, -targetRot, 0f));' to 'finalRot = (new Vector3 (0f, targetRot, 0f));'
or vice versa where necessary.

- Later in the process Something happened to my files that made the game bug out when I tried to add text to a door and the above solution would not work, I tried various other ideas but nothing, to this point, would work so I had to leave it as it was as at least it worked in some manner and was usable.

- As mentioned above, something in my game is possibly corrupted or something in Unity on the computers at the university is messed up as my game files are not opening correctly and I'm unaware of how to fix this. I believe it has something to do with the text GUI in the game and when re adding a text script it fixes itself briefly but when closed and opened back up the file continues to stay broken/ break itself again. The files open perfectly fine on my PC at home though, which is peculiar to say the least.

- There were some bugs with sound that I was also unable to fix, for instance when I tried to make a sound occur when the player moused over an object, it worked before the 'text bug' mentioned above happened but I could not get it to work after that. I settled with no sound as I was running out of time and options of how to fix it.

- I wanted to add more of a creepy/ spooky atmosphere at the end of my game so I managed to create animated flashing lights, that changed colour to red from their original colour and I also found a 'camera shake' script online (http://unitytipsandtricks.blogspot.co.uk/2013/05/camera-shake.html) that worked in my game with very few adjustments, I tweaked it until it was suitable for my players.

- When people tried my game out I found them getting slightly confused about where they had to go and what rooms they had to visit in which order, so to solve this I added text and coloured materials to signify various important parts of the game, I also thought about the placement of certain objects in relevance to items that progress the player through the story.

- To solve the problem of the player possibly not realising they were dead and it was their body in the basement of the Asylum, I decided to add in various hints along the way and made it clear at the end it was them laying on the operating chair with their head missing.



No comments:

Post a Comment