raylib-hx

所属分类:JavaScript/JQuery
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2023-03-07 14:14:10
上 传 者sh-1993
说明:  raylib的Haxe绑定,这是一个简单易用的学习视频游戏编程的库
(Haxe bindings for raylib, a simple _and_ easy-to-use library to learn videogame programming)

文件列表:
Completion.hxml (66, 2023-12-27)
LICENSE.md (898, 2023-12-27)
examples/ (0, 2023-12-27)
examples/Example.hxml (107, 2023-12-27)
examples/Example_web.hxml (291, 2023-12-27)
examples/core/ (0, 2023-12-27)
examples/core/BasicWindow.hx (395, 2023-12-27)
examples/core/CameraFree.hx (1632, 2023-12-27)
examples/core/CameraMode.hx (937, 2023-12-27)
examples/core/InputKeyboard.hx (732, 2023-12-27)
examples/core/InputMouse.hx (922, 2023-12-27)
examples/web/ (0, 2023-12-27)
examples/web/BasicWindow.hx (556, 2023-12-27)
haxelib.json (428, 2023-12-27)
logo-by-logo.png (4300, 2023-12-27)
source/ (0, 2023-12-27)
source/Build.xml (2585, 2023-12-27)
source/DynLib.xml (425, 2023-12-27)
source/RCamera.hx (351, 2023-12-27)
source/Raygui.cpp.hx (13752, 2023-12-27)
source/Rl.cpp.hx (90185, 2023-12-27)
source/Web.xml (1717, 2023-12-27)
source/WebNoAsnyc.xml (1527, 2023-12-27)
source/emscripten/ (0, 2023-12-27)
source/emscripten/Emscripten.hx (242, 2023-12-27)
source/lib/ (0, 2023-12-27)
source/raygui/ (0, 2023-12-27)

raylib-hx Logo

# raylib-hx ![Stars](https://img.shields.io/github/stars/ForeignSasquatch/hxRaylib?style=flat-square) ![License](https://img.shields.io/github/license/ForeignSasquatch/hxRaylib?style=flat-square) ![Forks](https://img.shields.io/github/forks/ForeignSasquatch/hxRaylib?style=flat-square) [Haxe](https://haxe.org/) bindings for [raylib](https://raylib.com), a simple and easy-to-use library to learn videogame programming. > Check out the examples folder to see some code! Requirements ------------- - Haxe 4.0.0 or above - (Windows only) MSVC v142 - VS 2019 C++ x64/x86 build tools - (Windows only) Windows 10 SDK Installation ------------- - `git clone https://github.com/ForeignSasquatch/raylib-hx --recurse-submodules -j8` - `haxelib dev raylib-hx raylib-hx` Usage ----------- This is a basic example of the bindings which creates a window. In your project make a ``Build.hxml`` file with the following: ``` -cp [source folder] -cpp [output folder] -lib raylib-hx -main [Main file] ``` Sample code: ```haxe class Main { static function main() { Rl.initWindow(1280, 720, "Hi"); while(!Rl.windowShouldClose()) { Rl.beginDrawing(); Rl.clearBackground(Rl.Colors.WHITE); Rl.endDrawing(); } Rl.closeWindow(); } } ``` On Linux it's possible to use a system wide installation of Raylib instead of the source code provided with this repo. Just add the `--define shared_libs` flag to your *.hxml file or to the command line. **Tip**: To hide the Raylib console window on desktop, add the `no_console` compiler flag. ### Consider supporting [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W77EX85)

近期下载者

相关文件


收藏者