I had applied a pick up script that Al had provided to the class to create enemies that could take away lives form the player. This was done by creating a Data manager in the world so that it would record what was happening in the world. Then by creating a game object and applying the pick up script to that game object, linking it with a Gui text that would show on screen, I was able to create standstill enemies to represent what we would actually want in the real game.
I had inserted point lights in the beginning of the tunnel to shed some light on the actual game environment the player would be in. I had created a skybox with directional light just incase the tunnel wasn't going to be completely covered for the white box.
I created different cube sizes each with a box collider, to represent commuters that would be coming towards the player during the game. In the white box, the commuters are standstill as I could not apply a script to get them to move.
Initially when I had imported the bench asset, it had to collider on it which is not what we wanted. The bench was to act as a place of safety, if there are too many commuters to rush past, the player can stand behind the bench until it was safe to continue to progress. Unfortunately, whenever I applied a Mesh collider, it wouldn't work within the game, so I was forced to apply a box collider to each bench and have the collider resized to fit the size of the bench.
I created a box on the tracks to represent the battery pack we want the player to be able to pick up when their life or battery level is low. I applied a pick up script and linked it to the data manager and ticked the box "is health" so the data manager would be able to update the values on screen accordingly.
I also applied a box collider to the train Hamza had modelled, and resized it to fit the size of the train. Again, over here the mesh collider wouldn't work after many efforts in attempt to.




No comments:
Post a Comment