oEtG Forum

General Category => General Game Discussion => Topic started by: Chapuz on April 07, 2015, 01:12:15 pm

Title: Spectate mode preferences
Post by: Chapuz on April 07, 2015, 01:12:15 pm
How do you prefere Spectate mode to be?

My proposal:

- Every player has an "Enable spectate" box in the settings.
- A PvP duel can only be spectated if both players have the setting on.
- There is a new button in the menu: "Spectate PvP". Pressing the buttons will show you a list of the current PvP games and a "Spectate" button. You click on one of the duels to select it and the Spectate button to enter the duel as spectator.
- The spectator can see the board, both players' hands, HP and "damage calculation for next turn" for both players.
- The only thing the spectator can touch is a "Leave" button, in the possition of the Resign buttons of the players.
Title: Re: Spectate mode preferences
Post by: serprex on April 07, 2015, 01:50:41 pm
Joining games midmatch is a real hassle, Game is not a JSON serializable class. I was messing with making transforms to make Games be non-recursive structures when considering using WebWorkers for AI, but that didn't pan out since there were issues making it feel like there wouldn't be a performance gain
Title: Re: Spectate mode preferences
Post by: Fippe94 on April 07, 2015, 02:55:24 pm
What if server saved all commands from a pvpmatch and when a spectator joins midmatch they start with getting all saved commands?
Title: Re: Spectate mode preferences
Post by: serprex on April 07, 2015, 02:57:45 pm
That'd probably be more space efficient in general. It'd work

Would also be a step towards replays
Title: Re: Spectate mode preferences
Post by: OdinVanguard on April 08, 2015, 01:29:00 am
Replays would be very nice. Could be fun to save replays of final matches for tourneys guildmaster battles, etc.