Skip to content

Commit

Permalink
Updated player.md to have current info
Browse files Browse the repository at this point in the history
Also fixed puck.md 'Jump To' links
  • Loading branch information
NoahRobichaux committed Sep 18, 2023
1 parent aa456fa commit f17dd9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/player.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
>
> The [_Player Controller_](https://github.com/NoahRobichaux/Robichaux_Breakout/blob/master/Assets/Scripts/PlayerController.cs) is a script that controls the player's movement along the x axis.
>
> When level one is loaded, the script is active and in use. The player can be moved left and right with the keys A and D, respectively. The player's movement speed (float) is initially set to 1f in the script. This can be changed in the editor under the Speed input in the Player Controller Script component of the Player Bar object.
> When the [_Level One Scene_](https://github.com/NoahRobichaux/Robichaux_Breakout/blob/master/Assets/Scenes/LevelOne.unity) is loaded, the script is active and in use. The player can be moved left and right with the keys A and D. The player's movement speed (float) is initially set to 1f in the script. This can be changed in the editor under the Speed input in the Player Controller Script component of the Player Bar object.
>
> As of Commit [_#143_](https://github.com/NoahRobichaux/Robichaux_Breakout/commit/5e500a66bb73125792734063a05d0334e6a4b3df), the player controls a bit different. When either of the A or D keys are released, the bar is frozen in place. This was changed to improve the gameplay experience. Previously, when the either of the control keys were released, the bar would remain in motion until it hit one of the invisible side walls.
***

Expand Down
7 changes: 3 additions & 4 deletions docs/puck.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Puck

> ## Contents
> - **Jump To** [**Info**](https://noahrobichaux.github.io/Robichaux_Breakout/mainmenu#info)
> - **Jump To** [**Other Documentation Pages**](https://noahrobichaux.github.io/Robichaux_Breakout/mainmenu#other-documentation-pages)
> - **Jump To** [**Info**](https://noahrobichaux.github.io/Robichaux_Breakout/puck#info)
> - **Jump To** [**Other Documentation Pages**](https://noahrobichaux.github.io/Robichaux_Breakout/puck#other-documentation-pages)
***

> ## Info
>
> The puck is a Unity game object that is controlled by the [_Puck Script_](https://github.com/NoahRobichaux/Robichaux_Breakout/blob/master/Assets/Scripts/Puck.cs).
>
> At the start of Level One being loaded, the puck is frozen and the gravity scale of the puck is set to zero.
> Then, if the player presses the spacebar, the game starts and the puck goes up in a random _x_ direction (between -10f and 10f, where f declares that it is a float).
>
Expand Down

0 comments on commit f17dd9a

Please sign in to comment.