Line 8: |
Line 8: |
| The [] depict keyboard keys. The different actions of these keys are described in the following: | | The [] depict keyboard keys. The different actions of these keys are described in the following: |
| | | |
− | [0] -> Default game camera (static offset relative to the train position on the X axis) | + | [0] -> Default game camera (static offset relative to the train position on the X axis) |
− | [1] -> Camera freely movable (on the X/Y plane with static height and angle) and not relative to any moving object | + | [1] -> Camera freely movable (on the X/Y plane with static height and angle) and not relative to any moving object |
− | [2] -> Camera fixed to the first train | + | [2] -> Camera fixed to the first train |
− | [3] -> Camera fixed to the second train (only matters for PvP) | + | [3] -> Camera fixed to the second train (only matters for PvP) |
− | [4] -> Camera fixed to the first player | + | [4] -> Camera fixed to the first player |
− | [5] -> Camera fixed to the second player | + | [5] -> Camera fixed to the second player |
− | [6] -> Camera fixed to the third player | + | [6] -> Camera fixed to the third player |
− | [7] -> Camera fixed to the fourth player | + | [7] -> Camera fixed to the fourth player |
| | | |
| Camera zoom is in [0.05, 2] and is clamped to be in that range. | | Camera zoom is in [0.05, 2] and is clamped to be in that range. |
Line 22: |
Line 22: |
| A value of 1/2 means everything is scaled up by a factor of tow (zoomed in) | | A value of 1/2 means everything is scaled up by a factor of tow (zoomed in) |
| | | |
− | [PageUp] -> zoom += 0.01; | + | [PageUp] -> zoom += 0.01; |
− | [PageDown] -> zoom -= 0.01; | + | [PageDown] -> zoom -= 0.01; |
− | [F1] -> zoom = 1.0 | + | [F1] -> zoom = 1.0 |
− | [F2] -> zoom = 0.5 | + | [F2] -> zoom = 0.5 |
− | [F3] -> zoom = 0.4 | + | [F3] -> zoom = 0.4 |
− | [F4] -> zoom = 0.3 | + | [F4] -> zoom = 0.3 |
− | [F5] -> zoom = 0.2 | + | [F5] -> zoom = 0.2 |
| | | |
| In case [1] was pressed the camera is in freely movable mode: | | In case [1] was pressed the camera is in freely movable mode: |
Line 34: |
Line 34: |
| Thus the normal camera is moving in positive X direction; | | Thus the normal camera is moving in positive X direction; |
| | | |
− | [I] -> camera.Y++ | + | [I] -> camera.Y++ |
− | [J] -> camera.X-- | + | [J] -> camera.X-- |
− | [K] -> camera.Y-- | + | [K] -> camera.Y-- |
− | [L] -> camera.X++ | + | [L] -> camera.X++ |