Did you tried this?
https://github.com/D-a-n-i-l-o/raylib-purebasic
Search found 269 matches
- Tue Sep 16, 2025 11:39 am
- Forum: Feature Requests and Wishlists
- Topic: Adding Raylib to Purebasic, it will be awesome and nice ^^
- Replies: 9
- Views: 936
- Mon Apr 01, 2024 2:39 pm
- Forum: Off Topic
- Topic: Happy Birthday, Fred!
- Replies: 17
- Views: 5770
Re: Happy Birthday, Fred!
Happy Birthday! Felicidades, Fred!!
- Mon Dec 11, 2023 1:18 pm
- Forum: Coding Questions
- Topic: Converting a video to individual images.
- Replies: 6
- Views: 2333
Re: Converting a video to individual images.
Last time I tried that, the video was an overlay and the frame cannot be saved. Is working that in all platforms?BarryG wrote: Mon Dec 11, 2023 12:44 pm Or: LoadMovie() -> PlayMovie -> MovieSeek() -> PauseMovie() -> Save image of window.
- Wed Aug 09, 2023 9:38 am
- Forum: 3D Programming
- Topic: Need a push for 3D
- Replies: 19
- Views: 4859
Re: Need a push for 3D
The easy way to colorize the board is:
· create texture
· paint texture green
· create material with texture
· assign material to entity
CreateTexture(0,128,128)
StartDrawing(TextureOutput(0))
Box(0,0,128,128,RGB(0,255,0))
StopDrawing()
CreateMaterial(0,TextureID(0))
CreateEntity(0, MeshID(0 ...
· create texture
· paint texture green
· create material with texture
· assign material to entity
CreateTexture(0,128,128)
StartDrawing(TextureOutput(0))
Box(0,0,128,128,RGB(0,255,0))
StopDrawing()
CreateMaterial(0,TextureID(0))
CreateEntity(0, MeshID(0 ...
- Sun Jun 04, 2023 8:55 pm
- Forum: Game Programming
- Topic: SGL (Simple GL)
- Replies: 49
- Views: 36510
Re: SGL (Simple GL)
I'm not sure I understand what you mean ... SGL is buit on top of GLFW 3.3.8 and you can't switch it to another version.
If you run the programs from the IDE, all should be working automagically and dynamically link to sgl/glfw/lib/glfw3.x64.so.
If you compile a binary and try to run that, the ...
- Sun Jun 04, 2023 7:22 pm
- Forum: Game Programming
- Topic: SGL (Simple GL)
- Replies: 49
- Views: 36510
Re: SGL (Simple GL)
Tested on linux with an integrated card and works great. Someone, please, make a game engine xD
¿Anyway, is possible to detect glfw library installed? I had to hardcoded the library path.
¿Anyway, is possible to detect glfw library installed? I had to hardcoded the library path.
- Wed Mar 22, 2023 10:20 pm
- Forum: 3D Programming
- Topic: Demo 3D - Mountain v3
- Replies: 20
- Views: 5525
Re: Demo 3D - Mountain v3
In linux works too. Looks fantastic.
- Tue Mar 21, 2023 10:01 am
- Forum: 3D Programming
- Topic: Demo 3D - Mountain v3
- Replies: 20
- Views: 5525
Re: Demo 3D - Mountain v3
I have same problem, but on Linux, with an Intel card.
- Thu Dec 22, 2022 5:35 pm
- Forum: Coding Questions
- Topic: howto with function, if possible.
- Replies: 26
- Views: 3373
Re: howto with function, if possible.
I told ChatGPT, three times, purebasic has no functions. Perhaps it is here to confirm it. xD
- Thu Jul 14, 2022 10:53 pm
- Forum: 3D Programming
- Topic: PB 6.00 - Shader documentation
- Replies: 7
- Views: 3461
Re: PB 6.00 - Shader documentation
I think you have to process events with:
Repeat
event=WindowEvent()
Until event=0
Anyway something is not ok, I get a random error on linux at RenderWorld() line.
Repeat
event=WindowEvent()
Until event=0
Anyway something is not ok, I get a random error on linux at RenderWorld() line.
- Mon Jun 27, 2022 9:58 am
- Forum: 3D Programming
- Topic: Texture colors inverted in Linux/Windows
- Replies: 5
- Views: 1608
Re: Texture colors inverted in Linux/Windows
Thank you. I don't have problems swapping bytes, but it's confusing some purebasic functions give different results on different computers.
I think RGB($FF,0,0) would must be red on windows and linux.
I think RGB($FF,0,0) would must be red on windows and linux.
- Sun Jun 26, 2022 11:26 am
- Forum: 3D Programming
- Topic: Texture colors inverted in Linux/Windows
- Replies: 5
- Views: 1608
Re: Texture colors inverted in Linux/Windows
But the operation should give the same result in both Windows and Linux, right?
- Sat Jun 25, 2022 2:48 pm
- Forum: 3D Programming
- Topic: Texture colors inverted in Linux/Windows
- Replies: 5
- Views: 1608
Texture colors inverted in Linux/Windows
I have a problem with 3dengine. I'm trying to create a texture with basic colors, but looks like colors are inverted, a Red in Windows, is Blue in Linux.
I'm not sure if it's a bug in engine, texture format, unknown driver's issue or whatever.
Some purebasic demos use differents ways to draw ...
I'm not sure if it's a bug in engine, texture format, unknown driver's issue or whatever.
Some purebasic demos use differents ways to draw ...
- Wed Dec 15, 2021 5:54 pm
- Forum: Coding Questions
- Topic: OpenScreen causes Error in Linux OpenSuse Leap 15.3
- Replies: 15
- Views: 2312
Re: OpenScreen causes Error in Linux OpenSuse Leap 15.3
I think you must use a valid monitor resolution, so 100x100 must not work. For example, you can use 1024x768, 800x600... or use OpenWindowedScreen() instead for lower resolutions.
- Tue Nov 30, 2021 10:18 pm
- Forum: Announcement
- Topic: PureBasic 6.00 released !
- Replies: 626
- Views: 222542
Re: PureBasic 6.00 Beta 1 released !
Looks like pbcompilerc executable don't have execute permission. I changed and it works.
Take a look if that's the problem.
Take a look if that's the problem.