Day 4 of implemenation 13.7.2021
Lo and behold! In the end I managed to make the multiplayer work on one keyboard. The problem is with Unitys Input Manager, that assigns to each device at most one player, which is kind of a problem for one keyboard multiplayer games. But after a couple of hours of googling and studying Unitys Input Manager's code, I just coded my Multiplayer Manager, that manually assigns several players to one keyboard. And thus the problem was solved. I really like the smoothness with which the players move even though it's for 4 players on one keyboard. In the past I created another 2 player multiplayer game, but in Winforms (don't judge), and it was much more laggier. So Unity FTW.
Then I started scripting of the shooting. I don't have sprites of the guns yet, so the bullets are spawning in the air for now. I implemented simple one press, one bullet shoot, that will be used for glock. And since I could shoot, it was also the time to implement dying and respawning, so I did just that. Players can now respawn 5 times, before they are out of game. Will add later on some counter, how many respawns are left. Also when respawning, there is a delay, when the player should be invisible, but for some reason he still can shoot, so I will have to fix that. But otherwise, enjoy the first playable version!
Files
Get COUNTRY STRIKE: (GLO)BALL OFFENSIVE
COUNTRY STRIKE: (GLO)BALL OFFENSIVE
Status | Released |
Author | SharpFoxDev |
Genre | Shooter, Platformer |
Tags | 2D, countryball, Multiplayer |
More posts
- Day 11 of implemenation 20.7.2021Jul 20, 2021
- Day 9 and 10 of implemenation 18.-19.7.2021Jul 20, 2021
- Day 7 and 8 of implemenation 16. and 17.7.2021Jul 17, 2021
- Day 6 of implemenation 15.7.2021Jul 15, 2021
- Day 5 of implemenation 14.7.2021Jul 15, 2021
- Day 3 of implemenation 12.7.2021Jul 13, 2021
- Day 2 of implemenation 11.7.2021Jul 12, 2021
- Day 1 of implemenation 10.7.2021Jul 10, 2021
- OnePage designJul 09, 2021
Leave a comment
Log in with itch.io to leave a comment.