Difference between revisions of "Roadmap"
From SfzWiki
(→simple multiplayer) |
Ghoulsblade (Talk | contribs) |
||
Line 15: | Line 15: | ||
* <strike>server : send spawn-messages to client</strike> | * <strike>server : send spawn-messages to client</strike> | ||
* <strike>server : send spawn-messages for world on playerjoin</strike> | * <strike>server : send spawn-messages for world on playerjoin</strike> | ||
− | * server : send-resync-stuff (prepared in in location_L.cpp : SendResyncs | + | * <strike>server : send-resync-stuff (prepared in in location_L.cpp : SendResyncs)</strike> |
− | * client : receive-resync-stuff (prepared in in resyncreceiver_L.cpp | + | * <strike>client : receive-resync-stuff (prepared in in resyncreceiver_L.cpp)</strike> |
− | * client : send mouse/rotation/turn quaternion to server (udp) | + | * <strike>client : send mouse/rotation/turn quaternion to server (udp)</strike> |
* client : send key-changes to server (tcp, accelerate, fire weapon) | * client : send key-changes to server (tcp, accelerate, fire weapon) | ||
* server : receive player turn and keys | * server : receive player turn and keys |
Revision as of 00:52, 2 June 2007
see also the now obsolete OldRoadmap2006
see also Notes
simple multiplayer
target : just fly around together, blowing up asteroids and each other
-
load ships saved in editor as nodegroups -
extend cRobRenderOp::ConvertToMesh in robrenderable.cpp to add submeshes to existing meshes - (load ships saved in editor as mesh)
- (generate LOD meshes for ships)
- (remove inner faces of ships)
-
server : open tcp listen socket (net_L.cpp : NetListen, PopAccepted) -
client : open connection to server socket (net_L.cpp : NetConnect) -
send simple tcp messages : e.g. chatline (main.lua:232:SendChat , net_L.cpp NetReadAndWrite) -
server : send spawn-messages to client -
server : send spawn-messages for world on playerjoin -
server : send-resync-stuff (prepared in in location_L.cpp : SendResyncs) -
client : receive-resync-stuff (prepared in in resyncreceiver_L.cpp) -
client : send mouse/rotation/turn quaternion to server (udp) - client : send key-changes to server (tcp, accelerate, fire weapon)
- server : receive player turn and keys
- server : send effects (laserbeam on weapon) to server
- server : ray/sphere hit detection : laser destroys ship or asteroids
- server : respawn killed clients when fire key is pressed
- server : detect and handle create-listener error
- client : detect and handle connect error
- server : detect and handle client-disconnect
coop multiplayer
- (to be planned) defending a space station
- (to be planned) enemies arriving in waves
- (to be planned) buying/salvaging equipment and ships between waves