I'm new to c programming (iOS developer by trade) so forgive me if this is a dumb question, but how would one distribute a game made with raylib? For instance on OS X is it possible to package a game as a .app?

I'm having fun with raylib and plain c programming!



  • Hi ismyhc! Welcome to the forum!

    About package distribution, it depends on the platform. For example, in Android you generate a .apk, that file is actually a renamed .zip that includes the executable program and the required resources (images, sounds, models, shaders...).

    In Windows, when you compile a raylib program, it generates a .exe, additionally you can have another folder containing resources, for example, named "resources". To distribute a raylib game, you can just zip the .exe and the resources.

    I don't know how it works in OSX but probably there is a program to package your raylib executable + required resources into a .app package (similar to .zip).
  • Thanks for the response! Sounds like it's fairly simple to do.
Sign In or Register to comment.