FreeOrion

Forums for the FreeOrion project
It is currently Tue Oct 24, 2017 11:08 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Dec 26, 2016 10:13 pm 
Offline
Space Squid

Joined: Sat Dec 10, 2011 5:46 am
Posts: 53
I propose changes to multiplayer lobby to support for check if players are ready to start game. Idea is mostly taken from freeciv and can be used for dedicated game server without host player.
[*] Add the field to the game protocol and lobby UI.
[*] Drop it if the important game's or players' changes were happened.
[*] When all human players are ready the game starts without requiring host player to press "start" button.

I don't have experience with UI so I ask for help to arrange the ready checkbox in the players list.
Image

URL: https://github.com/o01eg/freeorion/tree/player-ready

_________________
Gentoo Linux amd64, gcc-5.4.0, boost-1.62.0
Ubuntu Server 16.04.3 x64, gcc-5.4, boost-1.58.0
Welcome to multiplayer public server at 78.47.71.237. Version 2017-10-23.0ac4a07
SMAC participant: play multiplayer with us!


Top
 Profile  
 
PostPosted: Mon Dec 26, 2016 11:13 pm 
Offline
Programmer

Joined: Sun Feb 14, 2016 12:08 am
Posts: 333
A checkbox might be easily missed by a player here. Might I suggest reusing the start button to toggle a ready state for each player instead?

Regardless of that, looks like the column/cell alignment could be set to GG::FORMAT_RIGHT.
The column width is set to 40 without expanding the row width, so the other column width need reduction or the row needs widened.
Could reduce the checkbox column width to height + buffer, so the other columns do not need to shrink as much.


Top
 Profile  
 
PostPosted: Tue Dec 27, 2016 11:18 am 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12007
Location: Munich
A check box probably isn't the right UI widget in this context, as for most players in the list it won't be interactive. A simple indicator icon would suffice, and a button below, in place of "start game" would be used to indicate that a player is ready.


Top
 Profile  
 
PostPosted: Wed Dec 28, 2016 10:14 pm 
Offline
Space Squid

Joined: Sat Dec 10, 2011 5:46 am
Posts: 53
Reworked UI. Now it use labels and "start game" button.

Image

_________________
Gentoo Linux amd64, gcc-5.4.0, boost-1.62.0
Ubuntu Server 16.04.3 x64, gcc-5.4, boost-1.58.0
Welcome to multiplayer public server at 78.47.71.237. Version 2017-10-23.0ac4a07
SMAC participant: play multiplayer with us!


Top
 Profile  
 
PostPosted: Sun Jan 08, 2017 4:13 pm 
Offline
Space Squid

Joined: Sat Dec 10, 2011 5:46 am
Posts: 53
Thanks to dbenage-cx there is new UI for readiness:
Image

_________________
Gentoo Linux amd64, gcc-5.4.0, boost-1.62.0
Ubuntu Server 16.04.3 x64, gcc-5.4, boost-1.58.0
Welcome to multiplayer public server at 78.47.71.237. Version 2017-10-23.0ac4a07
SMAC participant: play multiplayer with us!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group