[Added] Basis of the Title Screen, learning how to use raylib, [TODO] Add sound to the docker container

Also, right now x11 is used to view the screen inside the container.
This needs to be updated to work for Windows and Mac as well. Also,
xhost +local:docker is used to allow docker to use the screen. This
needs to be adapted for multi-platform purposes as well
This commit is contained in:
Ninjaws
2024-12-05 22:18:44 +01:00
parent 681dcdd029
commit 38ab597170
59 changed files with 147 additions and 13 deletions
+2 -1
View File
@@ -39,12 +39,13 @@ RUN echo 'source "/app/emsdk/emsdk_env.sh"' >> $HOME/.bash_profile
RUN git clone https://github.com/raysan5/raylib.git raylib \
&& cd raylib \
&& mkdir build && cd build \
&& cmake -DBUILD_SHARED_LIBS=ON .. \
&& cmake -DBUILD_SHARED_LIBS=OFF -DRAYLIB_STATIC=ON .. \
&& make \
&& sudo make install \
&& cd ..
# RUN mkdir dist
# && cmake -DBUILD_SHARED_LIBS=ON .. \
ENV LD_LIBRARY_PATH=/app/raylib/build/raylib