So I did, mostly from scratch, using send_data. Code handles connection stuff, syncing players (no prediction, just lerping) and bullets (theoretically all kinds of bullets or even rockets with the same code):
https://i.gyazo.com/ba41108931b21757747e638802f06941.mp4
///////////////////////////////
#include <acknex.h>
#include <default.c>
#include "console.h"
#include "types.h"
#include "player.h"
#include "network.h"
#include "bullets.h"
#include "helper.c"
#include "types.c"
#include "player.c"
#include "network.c"
#include "bullets.c"
///////////////////////////////
void mainFrameEvent()
{
//enemyDo();
playerDo();
bulletsDo();
networkDo();
}
void main()
{
fps_max = 60;
video_mode = 9;
camera.arc = 90;
collision_mode = 2;
networkInit();
playerInit();
level_load("test.wmb");
on_frame = mainFrameEvent;
}
Not sure if that's against the spirit of the AckCon but we could use that as a basis for a multiplayer game. (Otherwise I could just try and write it down from memory on AckCon's Friday.
)
@alibaba: