A downloadable game for Windows

This prototype is a puzzle-platformer cooperation game , but some of the controls are swapped between the two players.

I created this prototype for the purpose of learning how to make multiplayer games with multiple clients and a server. I also handled the important logic on the server to reduce the risks of cheating.

Download

Download
CoopGame_Server.rar 19 MB
Download
CoopGame_Client.rar 118 MB

Install instructions

To setup the project, you will need two players, one runing the server and a client, and the other just runing a client. To run the client or the server, just extract the file and launch the file ending with the ".exe" extension.


- If the two computers are on the same network: Run the server and the two clients, then, connect through the clients with the local IP address(*) of the computer hosting the server.

- If the two computers are on different networks: The router of the computer hosting the server will need to be configured for port forwarding. The necessary steps for that depend on the model of the router, but it is pretty easy to find  on google. The important informations are that you need to allow it for TCP and UDP protocols, on the port 26950 for the internal and the external one, and the destination IP is the local IP Address(*) of the computer hosting the server. Once done, both clients can connect with the public IP of the computer hosting the server. To find your public IP address, type "my ip" into google.


* How to find the local IP address of the computer hosting the server: Execute "cmd" on this computer and type "ipconfig", the local IP address is the "IPv4 address" field.

Leave a comment

Log in with itch.io to leave a comment.