It is currently Sat Aug 08, 2020 4:50 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Thu May 07, 2020 4:12 am 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2991
Location: Planet Earth
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Thu May 07, 2020 6:25 am 
Offline
Addict
Addict
User avatar

Joined: Wed Apr 30, 2003 8:15 am
Posts: 1032
Location: Germany
Sounds promesimg :D Topic subscribed..

_________________
"Daddy, I'll run faster, then it is not so far..."


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Thu May 07, 2020 8:08 am 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 3538
Location: New Zealand
Thanks Danilo.
.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Thu May 07, 2020 11:30 am 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2604
Location: Germany
Very Cool :D

Many Thanks :wink:

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Thu May 07, 2020 6:06 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2991
Location: Planet Earth
raysan5 added raylib-purebasic to the official raylib bindings list:
- https://github.com/raysan5/raylib/blob/master/BINDINGS.md


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Thu May 07, 2020 11:44 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jul 07, 2013 11:35 am
Posts: 535
Location: Canada
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 !


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Fri May 08, 2020 12:45 am 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 6:14 pm
Posts: 1847
Location: Germany (Saxony, Deutscheinsiedel)
Welcome back, Danilo! Cool project... :D

_________________
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Fri May 08, 2020 4:42 am 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2991
Location: Planet Earth
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Sat May 09, 2020 6:23 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2991
Location: Planet Earth
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Sun May 10, 2020 6:08 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2991
Location: Planet Earth
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Mon May 11, 2020 6:19 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2991
Location: Planet Earth
Added 17 interesting examples to the category ‚textures‘ today.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Tue May 12, 2020 7:58 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1483
Location: Germany
Danilo wrote:
Added 17 interesting examples to the category ‚textures‘ today.

Windows 10, PB 5.71(x64)

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


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

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Tue May 12, 2020 8:32 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14065
Location: France
That's quite some good work here !


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Tue May 12, 2020 10:05 am 
Offline
Enthusiast
Enthusiast

Joined: Fri Feb 24, 2012 10:19 am
Posts: 177
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] raylib-purebasic (Windows/Linux/macOS)
PostPosted: Thu May 14, 2020 7:34 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Mar 17, 2014 1:42 pm
Posts: 111
Very interesting stuff! :wink:

_________________
http://sites.google.com/site/tk90disk/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye