All Projects → kevinw → raylib-odin

kevinw / raylib-odin

Licence: Unlicense license
Odin bindings for the raylib gamedev library

Programming Languages

c
50402 projects - #5 most used programming language
Odin
5 projects

Projects that are alternatives of or similar to raylib-odin

raylib-zig
Manually tweaked, auto generated raylib bindings for zig. https://github.com/raysan5/raylib
Stars: ✭ 122 (+320.69%)
Mutual labels:  raylib, bindings
sources-for-knative
VMware-related event sources for Knative.
Stars: ✭ 24 (-17.24%)
Mutual labels:  bindings
node-raylib
Node.js bindings for Raylib
Stars: ✭ 156 (+437.93%)
Mutual labels:  raylib
kindaVim.theapp
Ultimate Vim Mode for macOS
Stars: ✭ 372 (+1182.76%)
Mutual labels:  bindings
sn-bindgen
Scala 3 native binding generator + libclang facade
Stars: ✭ 29 (+0%)
Mutual labels:  bindings
libandroidjni
Android JNI bindings library
Stars: ✭ 66 (+127.59%)
Mutual labels:  bindings
x264-rs
x264 bindings
Stars: ✭ 32 (+10.34%)
Mutual labels:  bindings
Terri-Fried
A multi-platform C++ game made for Ludum Dare 46
Stars: ✭ 140 (+382.76%)
Mutual labels:  raylib
pkcs11
OCaml bindings for the PKCS#11 cryptographic API
Stars: ✭ 21 (-27.59%)
Mutual labels:  bindings
cl-liballegro
Common Lisp bindings and interface to the Allegro 5 game programming library
Stars: ✭ 44 (+51.72%)
Mutual labels:  bindings
ripeatlas
Go bindings for RIPE Atlas API
Stars: ✭ 12 (-58.62%)
Mutual labels:  bindings
simdjson-rust
Rust bindings for the simdjson project.
Stars: ✭ 59 (+103.45%)
Mutual labels:  bindings
kdb nim
Nim Kdb type-safe bindings
Stars: ✭ 13 (-55.17%)
Mutual labels:  bindings
OpenGL.NET
This repository contains low-level bindings for OpenGL and OpenGLES used in Evergine.
Stars: ✭ 29 (+0%)
Mutual labels:  bindings
vsphere-automation-sdk-.net
[DEPRECATED] Please see README. C# samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API
Stars: ✭ 67 (+131.03%)
Mutual labels:  bindings
raylib-physfs
Integrate PhysFS with raylib to load images, audio, and fonts, from .zip files.
Stars: ✭ 21 (-27.59%)
Mutual labels:  raylib
raylib-libretro
👾 libretro frontend using raylib.
Stars: ✭ 19 (-34.48%)
Mutual labels:  raylib
sdlada
Ada 2012 bindings to SDL 2
Stars: ✭ 85 (+193.1%)
Mutual labels:  bindings
UltralightNet
.NET bindings for Ultralight next-gen HTML renderer
Stars: ✭ 29 (+0%)
Mutual labels:  bindings
wlroots-ocaml
OCaml bindings to wlroots [experimental]
Stars: ✭ 24 (-17.24%)
Mutual labels:  bindings

odin-raylib

!!

NEWER AND MAINTAINED REPO HERE: ftommasi/raylib-odin

!!

Bindings for raylib 3.0.0, a small C gamedev library, for the odin programming language.

These are usable, but in a pre-alpha state and definitely a work in progress.

from Kevin Watters

Prerequisites

  • Windows 10 (for now)
  • Visual Studio 2017
  • A command-line prompt opened with the "x64 Native Tools Command Prompt for VS 2017" shortcut
  • odin on your PATH (built from odin's master branch is good)

Running the examples

examples/simple_demo

To run a simple demo:

odin run examples/simple_demo

You should see this:

a screenshot of a simple demo

examples/live_reload_demo

To run the live reload demo:

scripts\run_live_reload_demo

You should see the demo appear. It runs a background thread watching for changes in the source directory. When a change happens, it will rebuild the bin/game.dll file--which will then get automatically reloaded by the host process.

a screenshot of the live reload demo

Try editing some of the values in examples/live_reload_demo/game.odin and saving the file to see the changes instantly.

live reload example

examples/bunnymark

odin run examples/bunnymark

a screenshot of the bunnymark demo

examples/physac

odin run examples/physac

a screenshot of the physac demo

Modules

Bindings for raygui and raymath are in an alpha state. See examples/gui and examples/example_raymath.

Bindings

To rebuild the bindings to raylib, make sure you have raylib checked out into the directory above raylib-odin, and run scripts\generate_raylib_bindings.bat.

TODO

  • fix up bindgen code so that raylib.h doesn't need to be hand-tweaked
  • make everything work on OSX and Linux

Acknowledgements

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].