/SDL2-Enet-MultiplayerDemo

A simple demo made with SDL2 graphic lib and Enet network lib

Primary LanguageC

-SDL2-Enet-MultiplayerDemo

A simple demo made with SDL2 graphic lib and Enet network lib

This demo requires 'SDL2' , 'SDL2_image' and 'SDL2_ttf' libraries installed

Building in Linux

First we need to compile Enet library. We need 'libtool', 'automake' and 'autoconf' available We execute in project root folder:
cd Engine/enet && autoreconf -vfi && ./configure && make && cd ../../

After that we compile the demo with
cmake . && make

We should set up a server and that's it
./server

We open the demo in a terminal
./app
it will ask for the server ip address and try to connect with it