saltysystems / overworld

Open source framework for scalable multiplayer games.
Mozilla Public License 2.0
22 stars 4 forks source link

Simplify to using `pg` module #65

Closed cmdrk closed 3 weeks ago

cmdrk commented 3 weeks ago

It occurred to me that we aren't really using any of the advanced features of gproc. This PR replaces gproc with the pg module that comes with OTP. Pg is started with the overworld scope to prevent any issues with conflicting scopes for other apps.

This PR changes ECS to only be referred by their PIDs rather than a gproc named process and fixes up some type specs as well.