Skip to content

DavidLyhedDanielsson/raylib-scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A combination of:

Demos

Two quick demo videos can be found in the media directory.

The online build can be found at this repo's github page. The camera can be controlled while holding down the left alt key on the keyboard.

Setup

Setup the submodules and then follow the build instructions

git submodule init
git submodule update

"Local" compilation (non-web):

Steps are the same on Linux and Windows, but on Windows Visual Studio files will be generated so might as well just run cmake .. and then open the .sln file.

VSCode should be able to do this with the cmake plugin

mkdir build
cd build
cmake ..
make

Web compilation on Linux:

Only tested on Arch. Run the code through the emscripten compiler by using their cmake toolchain file by running the cmake command below.

Install emscripten and set up emsdk and the EMSDK environment variable. On my laptop:

echo $EMSDK
/home/david/dev/tools/emsdk
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DPLATFORM=Web ..
make
emrun raylib_test.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published