patanext-project / patanext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finish CoopMission gamemode

guerro323 opened this issue · comments

Game

  • Create a component that indicate the state of the protagonist team
  • Correctly share the current map information to the client (but this is more the role of the scenar)

Client

  • Create UI Sequences for this gamemode
    • Start (3, 2, 1, GO)
    • End Section (Victory! Defeat! Returning to Headquarters!)
    • End Details Screen (loots, units lvl increase, ...)

Notes

Protagonist state component

// Are the protagonists still able to continue playing?
// The scenar will be the ultimate decider, but the gamemode should be able to tell the information by
// adding this component to the protagonist Team entity.
//
// Reasons that it can't continue:
// 	In Solo:
//			- Hatapon is eliminated
//			- All units are eliminated (except Hatapon)
//		In Multi:
//			- All uberheroes are eliminated
public struct ProtagonistTeamIsEliminatedTag : IComponentData 
{
}