BURNING MEMORIES (TEAM PROJECT) | DEVELOPMENT LOG 1
For our team project, we decided to design a story based 2D platformer based on PTSD of an event that the player must figure out the story behind. The main selling point for our game idea is that the colour scheme will be black and white with the interactable objects being red to signify that this object needs to be used in some way or the other. I have been tasked with the coding of the project so I got a simple movement code working on a white cube before i got any assets from the rest of the team. I used Cinemachine to implement a camera that followed the player loosely. However, I didn’t want the player to be able to see the other floors below or above, therefore I had to decrease the field of view on the camera.
The movement code is a simple axis detection as to when the user pressed a or d to move left and right. I made this for another project but have recycled it for burning memories apart from changes some aspects like the walk speed and jump height.
For the jump, I also recycled a previous project where i used Raycasting to detect when the player had contact with another object that had the ground layermask. This made it easier when creating platforms and other assets when placed into the scene.
After implementing the movement code, I got the 2D assets and level design for our game and put the movement code into the level that had been created shown below, subject to changes.