Nathanv2 / Mult154_Trainvasion

MIT License
0 stars 0 forks source link

[Task]: Camera rotation with player on clicking left or right, Restrictions for the player, add a way for the player to go back #12

Open Nathanv2 opened 7 months ago

Nathanv2 commented 7 months ago

Rubric Criteria

Briefly, what are you going to work on?

I am going to be working on improving the gameplay of the player by adding player restrictions that allows the player to only click the path that is closest to them, allowing the player to go back a path, and camera rotation when the player chooses the left or right path. Allows the Player to go back maybe add camera rotation If I have time, I will make the path light up when the mouse is hovering over it and implement a power source system with a bar that represents it.

Provide at least one example of a similiar element in another game.

Overcooked 2

Game Name: Overcooked 2 Link: https://store.steampowered.com/app/728880/Overcooked_2/

What is needed to implement the task?

Playercontroller Script: Coded a way so that the player needs to press A or D to rotate 90 degrees. Stops Script: Added some code so that every time the stop is clicked, it will calculate the distance from the player to see if it can go to that stop.

Main Camera: Attached the camera to the player, so that the camera rotates with the player.

What is the biggest risk it will not get done?

The biggest risk will be not knowing how to make all these scripts work, but I will try my best. Also, my team and I need to communicate through Discord more.

How do I know it is ready? (Test case)

  1. Start Game
  2. Click the farthest stop and the stop that is diagonal from the player to test the restrictions
  3. Click the closest stop to see if it is still functioning properly
  4. Press A and D to see if the camera will rotate with the player
  5. Rotating using A and D will rotate 90 degree every time it is pressed
  6. Rotate 180 degrees using A or D to see if the player can go back