Skip to content

Commit 884f99c

Browse files
authored
init
0 parents  commit 884f99c

File tree

4 files changed

+2493
-0
lines changed

4 files changed

+2493
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# raylib-freebasic -> v3.7
2+
3+
[FreeBasic](https://freebasic.net/) bindings for [raylib](https://github.com/raysan5/raylib)
4+
5+
platform |
6+
------------ | -------------
7+
linux | works
8+
windows | works
9+
mac | should works
10+
bsd | should works
11+
12+
## example
13+
```basic
14+
#include "raylib.bi"
15+
16+
Dim As Const Integer screen_width = 800
17+
Dim As Const Integer screen_height = 450
18+
19+
InitWindow(screen_width, screen_height, "Hello World")
20+
SetTargetFPS(60)
21+
22+
While Not WindowShouldClose()
23+
BeginDrawing()
24+
ClearBackground(RAYWHITE)
25+
DrawText("Hello World from raylib and FreeBasic!", 200, 200, 20, GRAY)
26+
EndDrawing()
27+
Wend
28+
29+
CloseWindow()
30+
```
31+
32+
![Example](example.png)

example.png

9.11 KB
Loading

0 commit comments

Comments
 (0)