Raylib-Quickjs---Introduction

How compile

Execute in cmd

make

How create Raylib files

1-Execute in cmd

git clone https://github.com/raysan5/raylib
cd raylib/src
mingw32-make PLATFORM=PLATFORM_DESKTOP

2-Create folder "raylib"

3-Create folder "lib"

4-Insert files

  • raylib.dll
  • libraylibdll.a
  • libraylib.a

5-Create folder "include"

6-Insert files

  • raygui.h
  • raylib.h
  • raymath.h
  • rlgl.h

How create Quickjs files

Tutorial

https://github.com/Gurigraphics/quickjs/wiki/01.-How-Build-Windows

1-Create folder "quickjs"

2-Create folder "lib"

3-Insert file

  • libquickjs.a

4-Create folder "include"

5-Insert files

  • cutils.h
  • quickjs-libc.h
  • quickjs.h

6-Create folder "bin"

7-Insert files

  • qjs.exe
  • qjsc.exe

How add new functions

All functions list

https://www.raylib.com/cheatsheet/cheatsheet.html

Another examples in Raylib old version 2.0

https://github.com/sntg-p/QuickJS-raylib