Ruby Gosu: How to generate a shareable (WebGL, executable) version of my game?

218 Views Asked by At

I am doing some game using Ruby Gosu and I will like to share then on the internet. I have been reading that generating a WebGL version of them it is still not possible (correct me if I am wrong) but I find some information about different techniques to generate an executable. The problem is that the info I have found is old and/or all over the place:

I would like to receive up to date suggestions of what is the best way to generate a shareable version of my Ruby Gosu game nowadays. Extra points if the solution has some macOS support.

1

There are 1 best solutions below

0
On

For Windows .exe

Using ocra worked for me using this command:

ocra my_ruby_game.rb --windows --dll ruby_builtin_dlls\libssp-0.dll --dll ruby_builtin_dlls\libgmp-10.dll --dll ruby_builtin_dlls\libgcc_s_seh-1.dll --dll ruby_builtin_dlls\libwinpthread-1.dll