██████╗ ██████╗ ███╗ ██╗ ██████╗ ██╔══██╗██╔═══██╗████╗ ██║██╔════╝ ██████╔╝██║ ██║██╔██╗ ██║██║ ███╗ ██╔═══╝ ██║ ██║██║╚██╗██║██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╔╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ =============================================================================== Description: This is a pong clone made in C using raylib as the main back bone of the code. My goal with this project is: 1. Support as many platforms as possible. At the current time these are: - Linux - NetBSD - FreeBSD - Windows - OpenBSD - Mac OSX (File loading issue???) The following platforms are not support, with the reasons why they aren't yet: - DragonflyBSD (Haven't gotten around to it yet.) - Haiku (SDL2_Threads not working properly.) - Hurd (I'll fuckin do it for the memes, mark my words...) - OpenIndiana (Premake5 doesn't link properly.) 2. Make a fun, simple game. 3. Improve my coding skills. If you have any criticism of my code, go ahead and leave an issue! Pointing out mistakes is the only way I can learn. =============================================================================== Build: Unix/POSIX: 1. Install the following dependencies: - Raylib - For Graphics Drawing - GLFW3 - Raylib dependency - SDL2 - SDL2_mixer dependency - SDL2_mixer - For sound - premake5 - To generate build files - pkg-config - Mesa 2. Run `premake5 check_deps` to make sure you have all dependencies. 3. Run `premake5 gmake2` 4. Run `make` or `gmake` 5. Run `premake5 install` to install it to the prefix. Flatpak: 1. Run `premake5 gmake2` 2. Run `flatpak-builder --user --force-clean --install --repo=flatpak_repo build-dir net.iotib.Pong.yml` 3. Generate a distributable file using: `flatpak build-bundle flatpak_repo net.iotib.Pong.flatpak net.iotib.Pong ` 4. Once installed, you can run it using `flatpak run net.iotib.Pong` Windows: 1. Install msys2 (https://www.msys2.org/) 2. Follow the instructions from the unix section. NOTES: - GL and GLU not being found is perfectly fine. - Run MSYS2 in either mingw64 or ucrt64. 32-bit builds are NOT supported. Mac OSX: NOTE: There's a potential file loading issue. 1. Install homebrew (https://brew.sh/) 2. Follow the instructions from the unix section. =============================================================================== If you like my work and want to support me, consider donating to me on https://liberapay.com/Charadon/