Description of the document theme :
How to add multiplayer to single player (on the example of 2D Platformer package (Unity Essentials)) by using a specified pattern of rules. (Four rules)
I remade the weapons system. Now it is separated from the player. When taking a weapons crate, weapons behaviour scripts are dynamically added and deleted on the player, when there is no more ammo. It is very simple to add new weapons.
In the new version of the unity(5.6.0f3) fixed bug – “Incomplete mesh data in Sprite. Please reimport or recreate the Sprite.” Because of it the player’s sprite was not displayed.
Fixed duck,bus,cab animation(Background object)
Scripts CubeLerp and NetworkPlayer combined into one network script
Fixed bug - While pressing Fire1 in FixedUpdate() sometimes returns a Input.GetButtonDown(“Fire1”) == false
Fixed the lag in the movement of weapons when the animation of the recoil of the weapon occurred and the state animations changed from sit to the idle and vice versa
When both players die and simultaneously fall into the river there is a red error of the PUN – “Ev Destroy Failed”
The sound of playing a shot from the weapon was broken if the ammunition was immediately destroyed after the spawn(bazooka)
I think the should leave the position at the remaining (winning) player when you restart a stage, or at least make a warning about restarting the scene
Well, I guess it would be nice to add the boundaries of the game (points) and room for connections
sorry that for a long time did not answer. I was busy with other thoughts in my head and then completely forgot to answer. sorry again)
For questions on my packages, it’s better to ask in the mail. (aleksandronto@gmail.com)
I answer more actively there.
I can not in all packages do mobile management. I want them to be distinguished by unique content from each other. Sales are small ))
If you find it difficult to programmatically make a joystick, look here - here is an example of a joystick - https://www.assetstore.unity3d.com/en/#!/content/32351 (example 2d scene(build settings - switch platform - android))
such important details are needed for the release of the game, but not for the example of developing the simplest game for 5$)
I do not have such great enthusiasm for expanding, improving this development (I’m not paid for it). Sorry . Sales of this package are very small.