This repo was only for the first 4 weeks of development. The tests below are not guaranteed work anymore because it's incompatible with the server. The latest version of CosmicAPI is developed in https://github.com/LagomInteractive/cosmic-game
This API connects the game client to the cosmic game server.
- Game - https://github.com/LagomInteractive/cosmic-game
- Server - https://github.com/LagomInteractive/cosmic-server
- CosmicAPI.cs - This API
- Tests.cs - Tests and examples for how to use CosmicAPI
If you clone this repo you can open the CosmicAPI Test.unity scene you can try it and see how it works.
All dependencies are using upm and will automatically imported with a setup project.
- NativeWebSocket - For the socket connection to the server
- Newtonsoft - For parsing and packing data over the sockets (JSON)
