The sprint during and after the second group of lesson for this week allowed for extreme progress on the game to a near working state. During this period I began implementing the solutions to the game and one by one working on different aspects of the project. The Technical design documentation was extremely helpful with implementing each section of the project. When I went to sit down and implement a feature of the game I was able to open up the technical design document and see exactly what the feature needed and how to implement it.

I was able to create a distorting patterned effect using a black and white patterned material for the background and increasing the tiling values. I then was able to apply a similar material to the missile and match the pattern by adjusting and reducing the tiling values. This created a distorted effect that was difficult to look at and is near the intended experience of the project, I am considering adding a trail for the missiles which would also be patterned.

I had some difficulty with the next feature of the game which was to allow the pyramids to spawn the counter missiles which moved towards the location in which the player clicked. The plan was to create a raycast from the mouse position to point in the screen, this will create a coordinate on the screen that will give a location for the counter missile to move towards. The bug was that wherever I clicked the counter missiles would only move towards the center of the screen, this bug was caused because instead of using RayCastHit.point I simply used the RayCastHit.transform, this is incorrect because it returns the GameObject that the raycast hit instead of the point which it was hit. After spending more than 30 minutes attempting to fix the problem by trying different implementations of the raycast solution, I am definitely remembering the fix to this problem.

Because I’ll be at the coast this weekend I needed to complete the work earlier and move my schedule up so that I had enough time to complete the tasks set and reach the 18hrs of work. With the help of my technical documentation, I was able to efficiently implement the features of the game, faster than any other game I’ve worked on, I will definitely be trying to write up a technical and feature design document for all of my projects to ensure efficient implementation of my projects.
Leave a comment