Author Topic: Raylib for GLBasic! (hosted on Github)  (Read 1001 times)

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5064
  • O Rly?
    • View Profile
Re: Raylib for GLBasic! (hosted on Github)
« Reply #15 on: 2020-May-11 »
Nice, maybe we can include it then into the Repo.
I <3 DGArray's :D

PC:
AMD Ryzen 7 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4310
    • View Profile
    • Portfolio
Re: Raylib for GLBasic! (hosted on Github)
« Reply #16 on: 2020-May-12 »
Superb project!
I will have to give it a go! :)

Offline Heiko

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 502
    • View Profile
Re: Raylib for GLBasic! (hosted on Github)
« Reply #17 on: 2020-May-20 »
Really nice Schranz0r.
Ryzen 5 2400G - MSI B450 Tomahawk

Offline dreamerman

  • Global Moderator
  • Dr. Type
  • *******
  • Posts: 349
    • View Profile
    • my personal website
Re: Raylib for GLBasic! (hosted on Github)
« Reply #18 on: 2020-Jun-05 »
Sadly I don't have to much free time, and can't participate in this at moment. This is a great example how to use C++ inline and external libraries, I'll need to take a deep look into it to see better way of using Steam API if possible.
Quote from: Schranz0r
no need to wrapp the whole thing in a gbas file, simple direkt calls...
This way you can say to the compiler to use the Raylib:: and not the __GLBASIC__:: namespace for this functions
So Your saying that there is a possibility to override all standard GLB functions this way and use this as alternative? Very interesting, and may be very useful - in case of bugs/instability in core GLB, testing performance and as final build target. From what I saw on raylib webdoc additional libs may be needed in case of need for additional stuff like rumble effects - SDL2.
Check my source code editor for GLBasic - link Update: 20.04.2020

Offline SnooPI

  • Dr. Type
  • ****
  • Posts: 343
    • View Profile
Re: Raylib for GLBasic! (hosted on Github)
« Reply #19 on: 2020-Jun-06 »
Very good job Schranz0r.

But you know very well that for RAYLIB you must compile in DOS mode, and therefore program completely differently from GLB.
I'm not sure that GLB programmers like this  ;)

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5064
  • O Rly?
    • View Profile
Re: Raylib for GLBasic! (hosted on Github)
« Reply #20 on: 2020-Jun-06 »
It is working very well SnooPI! :)
Were did you get that information about "DOS-Mode"?
« Last Edit: 2020-Jun-06 by Schranz0r »
I <3 DGArray's :D

PC:
AMD Ryzen 7 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline SnooPI

  • Dr. Type
  • ****
  • Posts: 343
    • View Profile
Re: Raylib for GLBasic! (hosted on Github)
« Reply #21 on: 2020-Jun-07 »
RAYLIB creates its own opengl context... no?

So you have to do it in dos mode if you don't want to have more than one context.
At least according to my logic, but maybe I'm wrong  :-[

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1715
    • View Profile
Re: Raylib for GLBasic! (hosted on Github)
« Reply #22 on: 2020-Jun-08 »
Oooh - this looks nice :)
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs