๐Ÿ“ฆ Bigfoot71 / Asteroid

Asteroid game made for raylib Slo-Jam 2023-2024

โ˜… 3 stars โ‘‚ 0 forks ๐Ÿ‘ 3 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/Bigfoot71/Asteroid.git
HTTPS git clone https://github.com/Bigfoot71/Asteroid.git
SSH git clone git@github.com:Bigfoot71/Asteroid.git
CLI gh repo clone Bigfoot71/Asteroid
Le Juez Victor Le Juez Victor Create README.md c3a71f1 2 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ assets
๐Ÿ“ external
๐Ÿ“ html
๐Ÿ“ include
๐Ÿ“ source
๐Ÿ“„ .gitignore
๐Ÿ“„ .gitmodules
๐Ÿ“„ CMakeLists.txt
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ version.rc.in
๐Ÿ“„ README.md

Asteroid

A small and cool project created for the raylib Slo-Jam 2023-2024 game jam! You can find its Itch.io page here!

Building

You can build this project for Windows, Linux, and Web using CMake.

  • Clone the repository with all its submodules, including rayFlex and rres (rayFlex contains raylib):
git clone --recursive https://github.com/Bigfoot71/Asteroid.git

  • Enter the cloned directory and create a build directory, then enter it:
cd Asteroid && mkdir build && cd build

Build for Desktop

To build for desktop, configure the CMake project as follows:

cmake .. -DSUPPORT_GFX_2D=ON

Build for Web

To build for the web, you will need Emscripten and specify the path to the CMake toolchain module provided with Emscripten:

cmake .. -DSUPPORT_GFX_2D=ON -DPLATFORM=Web -DCMAKE_TOOLCHAIN_FILE=/path/to/your/emscripten/cmake/Modules/Platform/Emscripten.cmake