Split Screen and Control for 2 Players
Today the split screen was added, along with the ability to control each player (cars), with WASD, for player 1, and with the arrows for player 2. The latter change, was achieved by creating a new input axis in the project's inputs, similar to the "Horizontal" and "Vertical" axes, with the subtle change of having no alternate keys. With this, the player 1 can only be controled by the WASD keys, and the same is applied for player 2 with the arrow keys.
As for the split camera, it was achieved by creating a new camera object, and changing its public variable "Transform" to the game object corresponding to the car of player 2. After the second camera's creation, the split of the screen was completed by changing the viewpoint of each camera, in order for them o occupy the same rectangular area, splitting the screen horizontally.
Pool Division
Status | In development |
Author | thepooldivision |
Genre | Sports |
Tags | 3D, cars, Ludum Dare 44, pool, snooker |
More posts
- Change the color of the carsJul 10, 2019
- In Balls Left Texts and Count DownJul 06, 2019
- Fullscreen featureJul 06, 2019
- Volume of the GameJul 06, 2019
- Change the Resolution of the GameJul 06, 2019
- Navegation through the MenusJul 06, 2019
- Main Menu and Options MenuJul 06, 2019
- Physics FixJul 05, 2019
- Extra BarriersJul 05, 2019
- Winning with Back BallJun 28, 2019
Leave a comment
Log in with itch.io to leave a comment.