I've been coding along nicely and quietly (no posts for almost a week...), but I've been thinking about initialization: the things that should be done before we can start laying track and buying vehicles.
I was thinking about the following use cases:
Single player, new game
- The Gamer starts TransportEmpire.exe, which spawns a server and a client
- The server is running in an INIT state
- The client displays a menu, which has at least a "new game" and "load game" option.
- The Gamer clicks on "new game"
- In a next screen, the Gamer chooses the options for generating the map.
- The server generates the map and goes into SINGLE PLAYER GAME mode.
- The client displays a piece of the map and allows the Gamer to start building his empire.
- The Gamer starts TransportEmpire.exe, which spawns a server and a client
- The server is running in an INIT state
- The client displays a menu, which has at least a "new game" and "load game" option.
- The Gamer clicks on "load game"
- The server loads the saved game data from disc and goes into SINGLE PLAYER GAME mode.
- The client displays a piece of the map and allows the Gamer to extend his empire.
- The Gamer starts TransportEmpire.exe, which spawns a server and a client.
- The server is running in an INIT state
- The client displays a menu, which has at least a "network game" option.
- The Gamer clicks on "network game".
- Assuming a LAN game, the Client broadcasts for other available servers. Each is listed to the Gamer.
- The Gamer selects a multi-player server or creates his own and enters a chatroom.
- Players are selected by the host Gamer (or kicked ), who also initiates the game.
- The host server goes into MULTI PLAYER GAME mode (which for example forbids the Pause button)
- The clients all use the same server to play the game.
- The local (unused) servers still remain in the INIT state.
Now, for the reason why I opened this topic: I'd like some discussion about this. Feel free to express yourselfs. Concept art and menu structures are very welcome. Chatbox layouts even more. But especially, I'd like to discuss the things that you expect to happen when you doubleclick on the Transport Empire icon, right up to the moment when you start building on the map.