digitalmars.D.announce - bindbc-sdl Updates
- Mike Parker (20/20) Apr 07 2020 I've updated the BindBC bindings (to the Simple Direct Media
- aberba (3/7) Apr 10 2020 Mike have you considered a binding to a common tool like SFML
- Mike Parker (3/11) Apr 10 2020 Yes, which is why I have an SFML binding in Derelict. I’ll be
- aberba (2/14) Apr 14 2020 🙏️ Thank you!!
- Luis (3/11) Apr 15 2020 There isn't a "hello world" example with bindbc-sdl ? Would very
- Mike Parker (3/6) Apr 15 2020 Everything you need to know that's specfic to the binding is in
- Luis (9/16) Apr 16 2020 I was asking something like this :
- Mike Parker (6/23) Apr 16 2020 I disagree. There are numerous examples of SDL on the internet.
- aberba (3/10) Apr 18 2020 There's this level of convenience that is triggered when you see
- JN (5/16) Apr 18 2020 For libraries, absolutely.
- Mike Parker (3/5) Apr 18 2020 loadSDL();
I've updated the BindBC bindings (to the Simple Direct Media Layer (SDL) library and its satellite libraries to support the following: SDL 2.0.12 SDL_image 2.0.5 SDL_mixer 2.0.4 This is available in bindbc-sdl 0.16.0: http://bindbc-sdl.dub.pm/ A few notes: The SDL maintainers have moved to a system of labeling public releases with even patch levels and development releases with odd patch levels. SDL 2.0.12 is the first release of SDL under that system. The same goes for SDL_mixer 2.0.4. SDL_image 2.0.5 was released before it took effect. There is no difference in the public API of SDL_image versions 2.0.2, 2.0.3, 2.0.4, and 2.0.5, other than the value of the SDL_IMAGE_PATCHLEVEL constant. SDL_mixer 2.0.4 added support for OPUS files. The only API changes aside from the patchlevel constant are a couple of new values for the Mix_InitFlags and Mix_MusicType enums.
Apr 07 2020
On Wednesday, 8 April 2020 at 06:32:39 UTC, Mike Parker wrote:I've updated the BindBC bindings (to the Simple Direct Media Layer (SDL) library and its satellite libraries to support the following: [...]Mike have you considered a binding to a common tool like SFML (https://www.sfml-dev.org/)?
Apr 10 2020
On Friday, 10 April 2020 at 14:53:25 UTC, aberba wrote:On Wednesday, 8 April 2020 at 06:32:39 UTC, Mike Parker wrote:Yes, which is why I have an SFML binding in Derelict. I’ll be porting it over to BindBC soonish.I've updated the BindBC bindings (to the Simple Direct Media Layer (SDL) library and its satellite libraries to support the following: [...]Mike have you considered a binding to a common tool like SFML (https://www.sfml-dev.org/)?
Apr 10 2020
On Friday, 10 April 2020 at 16:10:56 UTC, Mike Parker wrote:On Friday, 10 April 2020 at 14:53:25 UTC, aberba wrote:🙏️ Thank you!!On Wednesday, 8 April 2020 at 06:32:39 UTC, Mike Parker wrote:Yes, which is why I have an SFML binding in Derelict. I’ll be porting it over to BindBC soonish.I've updated the BindBC bindings (to the Simple Direct Media Layer (SDL) library and its satellite libraries to support the following: [...]Mike have you considered a binding to a common tool like SFML (https://www.sfml-dev.org/)?
Apr 14 2020
On Wednesday, 8 April 2020 at 06:32:39 UTC, Mike Parker wrote:I've updated the BindBC bindings (to the Simple Direct Media Layer (SDL) library and its satellite libraries to support the following: SDL 2.0.12 SDL_image 2.0.5 SDL_mixer 2.0.4 This is available in bindbc-sdl 0.16.0: http://bindbc-sdl.dub.pm/There isn't a "hello world" example with bindbc-sdl ? Would very usefull
Apr 15 2020
On Wednesday, 15 April 2020 at 21:54:16 UTC, Luis wrote:There isn't a "hello world" example with bindbc-sdl ? Would very usefullEverything you need to know that's specfic to the binding is in the readme.
Apr 15 2020
On Wednesday, 15 April 2020 at 22:19:06 UTC, Mike Parker wrote:On Wednesday, 15 April 2020 at 21:54:16 UTC, Luis wrote:I was asking something like this : https://github.com/Zardoz89/dlang-bindbc-sdl-example1 Yeah, anybody could do this before reading SDL2 documentation, examining a few SDL2 examples on C/C++ and D (outdated derelict examples that only shows a translucent window). This take me two afternoons and was something very dumb. This kind of lack of examples or documentation, not helps to make D more popular.There isn't a "hello world" example with bindbc-sdl ? Would very usefullEverything you need to know that's specfic to the binding is in the readme.
Apr 16 2020
On Thursday, 16 April 2020 at 18:55:21 UTC, Luis wrote:On Wednesday, 15 April 2020 at 22:19:06 UTC, Mike Parker wrote:I disagree. There are numerous examples of SDL on the internet. There are sites full of SDL tutorials. bindbc-sdl is a binding. It doesn't change the API. I'm not going to write example programs for every library I create bindings for when plenty of examples exist.On Wednesday, 15 April 2020 at 21:54:16 UTC, Luis wrote:I was asking something like this : https://github.com/Zardoz89/dlang-bindbc-sdl-example1 Yeah, anybody could do this before reading SDL2 documentation, examining a few SDL2 examples on C/C++ and D (outdated derelict examples that only shows a translucent window). This take me two afternoons and was something very dumb. This kind of lack of examples or documentation, not helps to make D more popular.There isn't a "hello world" example with bindbc-sdl ? Would very usefullEverything you need to know that's specfic to the binding is in the readme.
Apr 16 2020
On Friday, 17 April 2020 at 03:48:09 UTC, Mike Parker wrote:On Thursday, 16 April 2020 at 18:55:21 UTC, Luis wrote:There's this level of convenience that is triggered when you see a sample demo. It seems some library authors don't get it.[...]I disagree. There are numerous examples of SDL on the internet. There are sites full of SDL tutorials. bindbc-sdl is a binding. It doesn't change the API. I'm not going to write example programs for every library I create bindings for when plenty of examples exist.
Apr 18 2020
On Saturday, 18 April 2020 at 15:31:02 UTC, aberba wrote:On Friday, 17 April 2020 at 03:48:09 UTC, Mike Parker wrote:For libraries, absolutely. For C bindings - no. Just remember the special things like library loading, and for the rest just copy a random C/C++ example.On Thursday, 16 April 2020 at 18:55:21 UTC, Luis wrote:There's this level of convenience that is triggered when you see a sample demo. It seems some library authors don't get it.[...]I disagree. There are numerous examples of SDL on the internet. There are sites full of SDL tutorials. bindbc-sdl is a binding. It doesn't change the API. I'm not going to write example programs for every library I create bindings for when plenty of examples exist.
Apr 18 2020
On Saturday, 18 April 2020 at 15:31:02 UTC, aberba wrote:There's this level of convenience that is triggered when you see a sample demo. It seems some library authors don't get it.loadSDL(); That's it. It's in the readme.
Apr 18 2020