What would be the best way to distribute a game made with Erlang/OTP?

This is a bit of a spiritual sequel to my previous thread about Erlang

If I want to make a game with Erlang (using raylib or SDL or whatever), how can I build it and how can i distribute it? The current options out there (like GitHub - gleam-community/erlang-linux-builds ) seem to disallow using NIFs.

A lot of the games I’ve seen online seem to only use Erlang or Elixir as a multiplayer server backend, and use something like Zig or C for the client, but I think it would be cool if it was all in Erlang/Elixir.

2 Likes

Docker image, snap or flatpack if you want to distribute on Linux. Or if you have lots of time, you can create .deb and .rpm packages for Debian, Ubuntu, RedHat, SuSE and let the user install that.

2 Likes

How would that work on windows or mac though? (and, VERY hypothetically, if i wanted to package as an app on Android or iOS)

1 Like