to add a floor, some different shapes and a player, we had to add a camera control to make the camera follow the player by using Script as well as Scripts for the movement too.
This task was to create a vending machine using visual studio
This task was to create a vending machine using visual studio
I used Console.WriteLine to show what options the person has to choose from. I also used a If command to if the person chose to pick e.g A1 it would give them the drink from A1 or another option.
Difficulties was the String choice as I didn't know I had to used a different set of numbers for the different choices of drinks.
I used many Floats for my PlayerMovement2 for the Gravity, JumpForce and MoveSpeed which them I set the values for as well,
and my IF statements to ensure that the gravity matches with the jumpforce so we don't jump too high or not at all.
Goals: Making the player move and having gravity and a jump force
Difficulties: Making the player jump once and not repeatedly jump spamming to end up flying.
goals: to add some type of camera movement to allow the camera to follow the player is some type of way.
difficulties: making the camera acutely follow the player correctly
and not stay still throughout the play testing.
of the camera.
No comments:
Post a Comment