November 25, 2020, 08:23:01 AM

Author Topic: Modules  (Read 373 times)

Offline chrisws

  • Jr. Member
  • **
  • Posts: 61
    • SmallBASIC
Modules
« on: November 01, 2020, 02:27:04 AM »
I've been working on a few different extension modules for SmallBASIC.

A few years ago I mentioned the "nuklear" library for writing GUIs.  The new modules are: glfw, clipboard, websocket (see https://en.wikipedia.org/wiki/WebSocket) and raylib.

With the glfw module you can create a window and then call the usual SB drawing funcs like circle, arc, line etc. This is using the old-school OpenGL apis, nothing fancy.

The raylib module (https://www.raylib.com/) is still a work in progress.

These modules are currently only working in linux with the console version.

see: https://github.com/smallbasic/smallbasic.plugins

Offline round157

  • Sr. Member
  • ****
  • Posts: 388
Re: Modules
« Reply #1 on: November 02, 2020, 03:43:03 PM »
SmallBASIC is entering a new era.

Moreover, the following module looks interesting. SmallBASIC users will be able to write interesting programs with this useful module.


The raylib module (https://www.raylib.com/) is still a work in progress.


Offline chrisws

  • Jr. Member
  • **
  • Posts: 61
    • SmallBASIC
Re: Modules
« Reply #2 on: November 07, 2020, 08:14:13 PM »
I've been having fun with raylib. Kudos to Ramon for making such a wonderful thing.

Here's a list of the implemented APIs:

https://github.com/smallbasic/smallbasic.plugins/tree/master/raylib

I just need to tweak the build script to make this compile in windows.

Offline round157

  • Sr. Member
  • ****
  • Posts: 388
Re: Modules
« Reply #3 on: November 12, 2020, 08:09:43 AM »
Here's a list of the implemented APIs:

https://github.com/smallbasic/smallbasic.plugins/tree/master/raylib


Good.

It may be really simple to get results very fast with Raylib module. Raylib module may effectively encourage newcomers to try or learn SmallBASIC. Strong motivation.

Offline chrisws

  • Jr. Member
  • **
  • Posts: 61
    • SmallBASIC
Re: Modules
« Reply #4 on: November 15, 2020, 12:08:34 AM »
I've managed to build each of the modules as DLLs now (except glfw).

The only snag with the raylib DLL is it depends on some mingw DLLs. This is in spite of attempting all the suggestions I could find online to link statically.





Offline round157

  • Sr. Member
  • ****
  • Posts: 388
Re: Modules
« Reply #5 on: November 19, 2020, 03:21:20 AM »
I've managed to build each of the modules as DLLs now (except glfw).

The only snag with the raylib DLL is it depends on some mingw DLLs. This is in spite of attempting all the suggestions I could find online to link statically.

Wow. the progress looks rapid. 

I can imagine that some creative users will write
very nice programs with these new modules. Bplus
may write very entertaining games with the Raylib
module. I look forward to the games made by
Bplus.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal