Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

That does not compute.


programming / comp.lang.smalltalk.dolphin / Re: Raylib for dolphin

SubjectAuthor
* Raylib for dolphinZenchess
`* Re: Raylib for dolphinZenchess
 `* Re: Raylib for dolphinZenchess
  `- Re: Raylib for dolphinZenchess

1
Subject: Raylib for dolphin
From: Zenchess
Newsgroups: comp.lang.smalltalk.dolphin
Date: Tue, 23 Nov 2021 19:59 UTC
X-Received: by 2002:a05:620a:f8b:: with SMTP id b11mr7503211qkn.81.1637697587015;
Tue, 23 Nov 2021 11:59:47 -0800 (PST)
X-Received: by 2002:a05:6808:218b:: with SMTP id be11mr10148oib.80.1637697586676;
Tue, 23 Nov 2021 11:59:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Tue, 23 Nov 2021 11:59:46 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=67.3.167.156; posting-account=r2EEkwoAAADz3M0x3Szspui4wqseZF5h
NNTP-Posting-Host: 67.3.167.156
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <18cf2ea0-1f87-451c-98f6-addc285edf8an@googlegroups.com>
Subject: Raylib for dolphin
From: zench...@gmail.com (Zenchess)
Injection-Date: Tue, 23 Nov 2021 19:59:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 36
View all headers
  Hi all, I have created raylib bindings to dolphin.  Raylib is a graphics/game library that does opengl for 2d and 3d graphics, also handles input and pretty much anything you'd need for a game.  It's a very simple c library that is easy to use.  It's become pretty popular and has received funding I believe.  It works great with dolphin and handles its own window creation..   The only bug I've noticed is if you minimize the window, it crashes.  There is a workaround I can post later where you have to modify the source of raylib yourself and compile your own dll. 

  First off I want to say if you downloaded my previous opengl package, the quality of this package is much higher, I release that one with some bugs in at least my examples.  I haven't finished writing the methods for raylib, and in particular the 3d models structure I have had trouble duplicating as an externalStructure so 3d doesn't work properly yet.  If someone wants to help that would be great.   

 These packages were made for dolphin 7.1.20 so if you need a package for an older version of dolphin for some reason I can work on that.
  I will release this as MIT license just because that seems to be the one people use, but I'm not even sure a wrapper for another library should even be licensed, anyway.


   To use you need the packages supplied in this zip, plus a raylib dll.  I would get raylib 4.0 from its github 'releases' page under the visual studio build here: raylib-4.0.0_win32_msvc16.zip and put the dll in the same folder as your dolphin image, but rename it raylib.dll. 

  You can check out the examples package, in the class method there is a 'startGame' method with code you can use to start the demo "self new run"

  The demos are a bunnymark example, a 3d raymarched shapes example (that uses a lot of gpu), a 3d camera example (with no models), an example of using a shader "paintingwithmaths" - use the arrow key to move the line.

  link to the packages: http://zenchess.com/dolphin/RaylibDolphin.zip



Subject: Re: Raylib for dolphin
From: Zenchess
Newsgroups: comp.lang.smalltalk.dolphin
Date: Tue, 23 Nov 2021 20:08 UTC
References: 1
X-Received: by 2002:ae9:eb10:: with SMTP id b16mr23024qkg.191.1637698126699;
Tue, 23 Nov 2021 12:08:46 -0800 (PST)
X-Received: by 2002:a4a:85cf:: with SMTP id u15mr4913662ooh.45.1637698126430;
Tue, 23 Nov 2021 12:08:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Tue, 23 Nov 2021 12:08:46 -0800 (PST)
In-Reply-To: <18cf2ea0-1f87-451c-98f6-addc285edf8an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=67.3.167.156; posting-account=r2EEkwoAAADz3M0x3Szspui4wqseZF5h
NNTP-Posting-Host: 67.3.167.156
References: <18cf2ea0-1f87-451c-98f6-addc285edf8an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <69a9e3b2-a79c-453a-a6b8-e87eac4c6c97n@googlegroups.com>
Subject: Re: Raylib for dolphin
From: zench...@gmail.com (Zenchess)
Injection-Date: Tue, 23 Nov 2021 20:08:46 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 1
View all headers
Oh and I just want to say that quite a lot of the library is not yet wrapped, but if there's a raylib function you want to use it's pretty easy to go here: https://www.raylib.com/cheatsheet/cheatsheet.html
and wrap the methods in the RaylibLibrary class.  Check the help files for external interfacing for which data types to use when interfacing (int>sdword ) etc.


Subject: Re: Raylib for dolphin
From: Zenchess
Newsgroups: comp.lang.smalltalk.dolphin
Date: Thu, 25 Nov 2021 22:16 UTC
References: 1 2
X-Received: by 2002:ac8:5c16:: with SMTP id i22mr20387444qti.313.1637878587329;
Thu, 25 Nov 2021 14:16:27 -0800 (PST)
X-Received: by 2002:a9d:62d9:: with SMTP id z25mr23641571otk.330.1637878587108;
Thu, 25 Nov 2021 14:16:27 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Thu, 25 Nov 2021 14:16:26 -0800 (PST)
In-Reply-To: <69a9e3b2-a79c-453a-a6b8-e87eac4c6c97n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=67.3.167.156; posting-account=r2EEkwoAAADz3M0x3Szspui4wqseZF5h
NNTP-Posting-Host: 67.3.167.156
References: <18cf2ea0-1f87-451c-98f6-addc285edf8an@googlegroups.com> <69a9e3b2-a79c-453a-a6b8-e87eac4c6c97n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2736b621-0951-43a0-b39d-ba2f7430c09en@googlegroups.com>
Subject: Re: Raylib for dolphin
From: zench...@gmail.com (Zenchess)
Injection-Date: Thu, 25 Nov 2021 22:16:27 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
View all headers

I packaged this code with the git version of 7.1.2 branch , I just realized if you have the release installer for 7.1.2 installed you won't be able to load this package...

I've ran into lots of problems lately due to this issue.  It seems that you can't even file out classes to be loaded in an earlier version of dolphin (like say 7.057.2)


Subject: Re: Raylib for dolphin
From: Zenchess
Newsgroups: comp.lang.smalltalk.dolphin
Date: Sun, 12 Dec 2021 10:31 UTC
References: 1 2 3
X-Received: by 2002:a05:6214:13d1:: with SMTP id cg17mr34957758qvb.131.1639305116490;
Sun, 12 Dec 2021 02:31:56 -0800 (PST)
X-Received: by 2002:a9d:62d9:: with SMTP id z25mr18927441otk.330.1639305116177;
Sun, 12 Dec 2021 02:31:56 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Sun, 12 Dec 2021 02:31:55 -0800 (PST)
In-Reply-To: <2736b621-0951-43a0-b39d-ba2f7430c09en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=67.3.167.156; posting-account=r2EEkwoAAADz3M0x3Szspui4wqseZF5h
NNTP-Posting-Host: 67.3.167.156
References: <18cf2ea0-1f87-451c-98f6-addc285edf8an@googlegroups.com>
<69a9e3b2-a79c-453a-a6b8-e87eac4c6c97n@googlegroups.com> <2736b621-0951-43a0-b39d-ba2f7430c09en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <630750cf-a0a1-4397-8ec2-e5fab10c0ed7n@googlegroups.com>
Subject: Re: Raylib for dolphin
From: zench...@gmail.com (Zenchess)
Injection-Date: Sun, 12 Dec 2021 10:31:56 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 0
View all headers
I have redone the package for the release version of 7.1.2, here it is: http://www.zenchess.com/dolphin/raylibDolphinRelease.zip


1
rocksolid light 0.7.2
clearneti2ptor