diff --git a/doc/logo.png b/doc/logo.png new file mode 100644 index 0000000..4d46f67 Binary files /dev/null and b/doc/logo.png differ diff --git a/examples/logo.js b/examples/logo.js index a16b4f0..744f956 100644 --- a/examples/logo.js +++ b/examples/logo.js @@ -27,7 +27,7 @@ while (!windowShouldClose()) // Detect window close button or ESC key //---------------------------------------------------------------------------------- // TODO: Update your variables here //---------------------------------------------------------------------------------- - + // Draw //---------------------------------------------------------------------------------- beginDrawing(); diff --git a/readme.md b/readme.md index 60e0173..78e039d 100644 --- a/readme.md +++ b/readme.md @@ -1,12 +1,20 @@ +![rayjs logo](./doc/logo.png) # rayjs - Javascript Bindings for Raylib Javascript bindings for raylib in a single ~3mb executable ## Building -Rayjs is using cmake for building - -``` +### Check out required files +```bash git clone https://github.com/mode777/rayjs.git git submodule update --init --recursive ``` -Build target `rayjs` with cmake as usual \ No newline at end of file +### Build with cmake +Make sure you have cmake installed and in your path. +```bash +cd rayjs +mkdir build +cd build +cmake .. +make +``` \ No newline at end of file