Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohamedLT/vraylib
a v wrapper for the awesome raylib library
https://github.com/mohamedLT/vraylib
Last synced: about 1 month ago
JSON representation
a v wrapper for the awesome raylib library
- Host: GitHub
- URL: https://github.com/mohamedLT/vraylib
- Owner: mohamedLT
- Created: 2022-09-20T15:41:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-21T19:12:45.000Z (over 2 years ago)
- Last Synced: 2024-08-04T01:04:42.321Z (5 months ago)
- Language: V
- Size: 2.74 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-v - vraylib - A V wrapper for the awesome raylib library. (Libraries / Game development)
README
# Vraylib
a v wrapper for the awesome raylib library
# Platforms
it works on every 64bit platform if your platform does not work please contact me to help fix it or add it
# Android!!
for now you can use `v -o ` when you compile and follow the raylib wiki on how to compile for android just use the generated c file as src codeI am planning on making vab works with it so for the time been try to not break your pc while compiling it yourself
one thing I can assure you is that it works and it worked for me so it will work for you
# Install
`v install mohamedLT.vraylib`
# Example
```
module mainimport mohamedlt.vraylib as raylib
fn main() {
raylib.init_window(800, 450, c'raylib [core] example - basic window')for !raylib.window_should_close() {
raylib.begin_drawing()
raylib.clear_background(raylib.white)
raylib.draw_text(c'hello',10,10,16,raylib.black)
raylib.end_drawing()
}raylib.close_window()
}```