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

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

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

Post 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.
dige
Addict
Addict
Posts: 1247
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

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

Post by dige »

Sounds promesimg :D Topic subscribed..
"Daddy, I'll run faster, then it is not so far..."
User avatar
idle
Always Here
Always Here
Posts: 5042
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

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

Post by idle »

Thanks Danilo.
.
Windows 11, Manjaro, Raspberry Pi OS
Image
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

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

Post by mk-soft »

Very Cool :D

Many Thanks :wink:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

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

Post by Danilo »

raysan5 added raylib-purebasic to the official raylib bindings list:
- https://github.com/raysan5/raylib/blob/master/BINDINGS.md
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

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

Post 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
The Stone Age did not end due to a shortage of stones !
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

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

Post by Andre »

Welcome back, Danilo! Cool project... :D
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

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

Post 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.
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

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

Post 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.
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

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

Post 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.
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

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

Post by Danilo »

Added 17 interesting examples to the category ‚textures‘ today.
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

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

Post 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!!!
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

That's quite some good work here !
Mesa
Enthusiast
Enthusiast
Posts: 345
Joined: Fri Feb 24, 2012 10:19 am

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

Post 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.
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 198
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

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

Post by Otrebor »

Very interesting stuff! :wink:
Post Reply