8000 GitHub - jepalza/raylib-freebasic: FreeBasic bindings for raylib
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jepalza/raylib-freebasic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reparados algunos errores en RAYLIB.BI y añadidos docenas de ejemplos.

añadidos easings y raygui para mas funciones, y añadidos ejemplos de cada uno.

raylib-freebasic -> v5.0

FreeBasic bindings for raylib

Lib Linux Windows Mac BSD
raylib.bi tested tested not tested not tested
raymath.bi tested tested not tested not tested
raygui.bi tested not tested not tested not tested

example

#include "raylib.bi"

Dim As Const Integer screen_width = 800
Dim As Const Integer screen_height = 450

InitWindow(screen_width, screen_height, "Hello World")
SetTargetFPS(60)

While Not WindowShouldClose()
	BeginDrawing()
		ClearBackground(RAYWHITE)
		DrawText("Hello World from raylib and FreeBasic!", 200, 200, 20, GRAY)
	EndDrawing()
Wend

CloseWindow()

Example

compiling

you need to have raylib on your device, tested with shared lib but static lib should also work

raylib

linux

include raylib.bi in your project and it should work, all of dependencies are defined inside the file

windows

include raylib.bi in your project and it should work, all of dependencies are defined inside the file i primarily use linux so tests were mostly made using mingw and wine without encountering any issues some users had problems with linking, changing #include "raylib" to #include "raylibdll" helped

raygui

you have to either compile raygui with raylib or as a separate lib for more info i advice looking into this thread

for more info about building raylib visit official wiki and for raygui check official repo

examples

[examples][https://github.com/WIITD/raylib-freebasic/tree/main/examples] simple game i wrote that uses raylib-freebasic

About

FreeBasic bindings for raylib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • FreeBASIC 100.0%
0