Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids

An asteroids-like created in c using raylib

Build Instructions

Local

# Clone repository
git clone https://github.com/uvd540/asteroids-c
# Navigate to cloned repository
cd asteroids-c
# Setup build system
cmake -B build
# Build the executable
cmake --build build
# Run!
./build/asteroids

Web

Compiling for the web requires the Emscripten SDK:

# Clone repository
git clone https://github.com/uvd540/asteroids-c
# Navigate to cloned repository
cd asteroids-c
# Setup build system
emcmake cmake .. -DPLATFORM=Web -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXECUTABLE_SUFFIX=".html"
# Build: Creates files that can be uploaded to itch.io for example
emmake make

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages