Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

Adding Client HUD and Score System #70

Closed devibri closed 6 years ago

devibri commented 6 years ago

Creates score HUD for client games. Working on making the score for clients update when the score on the server updates.

devibri commented 6 years ago

As of the latest push, the client in multiplayer should now show the score HUD and update the score HUD appropriately when a team scores.

devibri commented 6 years ago

As of latest push, player should now emit particles in flag pickup and no longer do so when they score and flag is removed from inventory.

Test with https://github.com/Terasology/LightAndShadowResources/pull/29

devibri commented 6 years ago

Just revamped the way particles are handled to add/remove particle prefab. It is now ready for review.

Test with Terasology/LightAndShadowResources#29

devibri commented 6 years ago

As of the latest push, players should now have character models (either blackPawn or redPawn) added ti them when they are teleported to their base.

A few outstanding issues:

Test with Terasology/LightAndShadowResources#29

nihal111 commented 6 years ago

Tested it out locally, with client/server + client. Can confirm some of the previous observations.

  1. Particle Effects appear on both clients so that's good.
  2. Particle Effects are removed only on client/server. 2nd clientis unable to remove the effects even after round reset.
  3. Pawn models load up good (180 deg off). But, I'm able to see both models on both clients. (IMO it would be better if the models were completely red and black, as of now even the red model has black parts and vice versa). 4.The cube on the player needs to be removed.
devibri commented 6 years ago

As of the latest push, particle effects should now correctly be added removed for server and client in multiplayer.

devibri commented 6 years ago

Player skins now should be facing the right way for players. Test with Terasology/LightAndShadowResources#30

devibri commented 6 years ago

Character skinning now works! By default player starts off with white pawn avatar, and then on teleport is given either blackPawn or redPawn avatar depending on team joined.

Test with https://github.com/Terasology/LightAndShadowResources/pull/30

nihal111 commented 6 years ago

Merging for playtest with a few caveats-

  1. Loading the game with multiplayer gave me the same white pawn character model for both clients (different teams)
  2. One should not be able to see their own character model but this was not the case.