๐Ÿ“ฆ RobLoach / raylib-lua-sol

A simple and easy-to-use Lua library to enjoy videogames programming

โ˜… 111 stars โ‘‚ 16 forks ๐Ÿ‘ 111 watching โš–๏ธ Other
luaraylibsol2
๐Ÿ“ฅ Clone https://github.com/RobLoach/raylib-lua-sol.git
HTTPS git clone https://github.com/RobLoach/raylib-lua-sol.git
SSH git clone git@github.com:RobLoach/raylib-lua-sol.git
CLI gh repo clone RobLoach/raylib-lua-sol
Rob Loach Rob Loach Merge pull request #47 from mar1lusk1/patch-1 45504dd 5 months ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ bin
๐Ÿ“ cmake
๐Ÿ“ examples
๐Ÿ“ include
๐Ÿ“ logo
๐Ÿ“ tests
๐Ÿ“ vendor
๐Ÿ“„ .editorconfig
๐Ÿ“„ .gitignore
๐Ÿ“„ .gitmodules
๐Ÿ“„ CMakeLists.txt
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md
raylib-lua-sol Logo

raylib-lua-sol

Lua bindings for raylib, a simple and easy-to-use library to enjoy videogames programming, with sol (www.raylib.com)

raylib-lua-sol bindings are self-contained in a header-only file: raylib-lua-sol.hpp. Just include that file in your project to allow loading and execution of raylib code written in Lua and Sol.

raylib-lua-sol could be useful for prototyping, tools development, graphic applications, embedded systems and education.

Ready to learn? Check out the code examples!

Example

`` lua local screenWidth = 800 local screenHeight = 450 InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window") SetTargetFPS(60) while not WindowShouldClose() do BeginDrawing() ClearBackground(RAYWHITE) DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY) EndDrawing() end CloseWindow() %%CODEBLOCK0%% bash bin/raylib-lua-sol examples/core_basic_window.lua %%CODEBLOCK1%%bash sudo apt install build-essential git cmake %%CODEBLOCK2%%bash sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev %%CODEBLOCK3%%bash sudo dnf install alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel %%CODEBLOCK4%% bash git clone https://github.com/RobLoach/raylib-lua-sol.git cd raylib-lua-sol git submodule update --init cmake -B build . cmake --build build --config Release %%CODEBLOCK5%% bash cd build make test ``

License

raylib-lua-sol is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check LICENSE for further details.

Copyright (c) 2019 Rob Loach (@RobLoach)