Page 1 of 3

[Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Thu May 07, 2020 4:12 am
by Danilo
Image

raylib-purebasic is now available at https://github.com/D-a-n-i-l-o/raylib-purebasic

It's just the initial release. Examples follow in the next days.

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Thu May 07, 2020 6:25 am
by dige
Sounds promesimg :D Topic subscribed..

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Thu May 07, 2020 8:08 am
by idle
Thanks Danilo.
.

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Thu May 07, 2020 11:30 am
by mk-soft
Very Cool :D

Many Thanks :wink:

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Thu May 07, 2020 6:06 pm
by Danilo
raysan5 added raylib-purebasic to the official raylib bindings list:
- https://github.com/raysan5/raylib/blob/master/BINDINGS.md

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Thu May 07, 2020 11:44 pm
by StarBootics
Thanks Danilo.

Just a little error in the INSTALL.md file : libwebkitgtk-3.0-dev appear twice in the list of libraries to install.

I'm not sure if my graphic card will support raylib especially if raylib uses Vulkan.

Best regards
StarBootics

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Fri May 08, 2020 12:45 am
by Andre
Welcome back, Danilo! Cool project... :D

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Fri May 08, 2020 4:42 am
by Danilo
StarBootics wrote:Just a little error in the INSTALL.md file : libwebkitgtk-3.0-dev appear twice in the list of libraries to install.
Thanks, I corrected it. PB told me on the console to do this installs when I run ‚checkinstall.sh‘. :)
StarBootics wrote: I'm not sure if my graphic card will support raylib especially if raylib uses Vulkan.
raylib uses OpenGL, it runs even in VMware Fusion for macOS. ;)

However, it did not work in a Parallels Desktop virtual machine with
a Linux guest, because there was no OpenGL available.

libvulkan-dev isn‘t a hard requirement. The libglfw-3 install said it makes sense to install libvulkan-dev as well.

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Sat May 09, 2020 6:23 pm
by Danilo
It looks like Example 19 (core_storage_values.pb) may not work on all platforms. It doesn‘t work on macOS.

The libs that come with the raylib distribution are probably compiled without the flag ‚SUPPORT_DATA_STORAGE‘.

But hey, it shouldn‘t be a problem to save high-scores using PB‘s file functions. ;) :D

The first 18 examples should work.

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Sun May 10, 2020 6:08 pm
by Danilo
Examples 40 (text_font_filters) and 41 (text_font_loading) require re-compiled helper libs.
If you can‘t re-compile yourself, just ignore this examples. They crash without re-compiling.

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Mon May 11, 2020 6:19 pm
by Danilo
Added 17 interesting examples to the category ‚textures‘ today.

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Tue May 12, 2020 7:58 am
by IceSoft
Danilo wrote:Added 17 interesting examples to the category ‚textures‘ today.
Windows 10, PB 5.71(x64)

textures_image_processing.pb:

Code: Select all

   free(*pixels)   => crashing !!!
textures_image_text.pb:

Code: Select all

   ImageDrawTextEx(@parrots, @vec, @font, "[Parrots font drawing]", font\baseSize, 0.0, #COLOR_RED)  => crashing!!!

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Tue May 12, 2020 8:32 am
by Fred
That's quite some good work here !

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Tue May 12, 2020 10:05 am
by Mesa
For information it doesn't work on Windows XP 32b, pb5.72x86.

Something in raylib.pbi sends the error message: "Attempting to reference a token that does not exist."
I installed the dlls.
(My opengl is not very powerful and sometime it doesn't work)

M.

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Posted: Thu May 14, 2020 7:34 pm
by Otrebor
Very interesting stuff! :wink: