Re: Help playing sounds using arsd.simpleaudio

2019-09-28 Thread Murilo via Digitalmars-d-learn
On Saturday, 28 September 2019 at 14:03:53 UTC, Adam D. Ruppe wrote: On Saturday, 28 September 2019 at 03:21:38 UTC, Murilo wrote: Can anyone just please show me how to play a background sound(like those in games) using arsd.simpleaudio? I'd like something simple with a code snippet please.

Re: How to use Dbus to detect application uniqueness in D?

2019-09-28 Thread Hossain Adnan via Digitalmars-d-learn
On Saturday, 28 September 2019 at 13:37:12 UTC, Kagamin wrote: https://ddbus.dpldocs.info/ddbus.bus.requestName.html It requires a Connection type which I cannot find in the API.

Re: Help playing sounds using arsd.simpleaudio

2019-09-28 Thread Murilo via Digitalmars-d-learn
On Saturday, 28 September 2019 at 14:03:53 UTC, Adam D. Ruppe wrote: On Saturday, 28 September 2019 at 03:21:38 UTC, Murilo wrote: Can anyone just please show me how to play a background sound(like those in games) using arsd.simpleaudio? I'd like something simple with a code snippet please.

Re: Help making a game with transparency

2019-09-28 Thread Murilo via Digitalmars-d-learn
On Saturday, 28 September 2019 at 05:57:55 UTC, Mike Parker wrote: On Friday, 27 September 2019 at 22:55:22 UTC, Murilo wrote: You might consider using SDL and SDL_image: Thank you very much. But I want to use only the arsd library.

Re: Packaging and Distributing Dlang Applications with GtkD Dependency?

2019-09-28 Thread snow jhon via Digitalmars-d-learn
On Thursday, 26 September 2019 at 10:07:34 UTC, bioinfornatics wrote: On Wednesday, 25 September 2019 at 17:03:51 UTC, Ron Tarrant wrote: On Wednesday, 25 September 2019 at 13:52:48 UTC, bioinfornatics wrote: I think I misunderstood your need but are lo looking for dub tool with its

Re: Looking for a Simple Doubly Linked List Implementation

2019-09-28 Thread snow jhon via Digitalmars-d-learn
On Saturday, 21 September 2019 at 18:52:23 UTC, Dennis wrote: On Saturday, 21 September 2019 at 08:34:09 UTC, Ron Tarrant wrote: Thanks, Dennis. Not performant... It doesn't work? I was hoping for a complete, working example, but maybe this'll help. Bad word choice (it appears it's debatable

Re: Help making a game with transparency

2019-09-28 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 28 September 2019 at 08:06:02 UTC, GreatSam4sure wrote: The last time I try this library on windows 10 it throws errors. Have you try it recently on windows What errors? I sometimes break it with careless pushes to master but it usually works for me. I want to know can the

Re: Help playing sounds using arsd.simpleaudio

2019-09-28 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 28 September 2019 at 03:21:38 UTC, Murilo wrote: Can anyone just please show me how to play a background sound(like those in games) using arsd.simpleaudio? I'd like something simple with a code snippet please. it is really minimal be warned but at the beginning of main() set it

Re: Help making a game with transparency

2019-09-28 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 28 September 2019 at 13:41:24 UTC, matheus wrote: Ok, I took a look over my old projects and I found exactly what you want, by the way it's from 2012. It uses Derelict 2.0 bindings and will draw a PNG image where you can move around with cursor keys. Murilo, if you do decide to

Re: Help making a game with transparency

2019-09-28 Thread matheus via Digitalmars-d-learn
Ok, I took a look over my old projects and I found exactly what you want, by the way it's from 2012. It uses Derelict 2.0 bindings and will draw a PNG image where you can move around with cursor keys. If you want I can send you the whole project (Makefile, DLL's) and everything else to

Re: How to use Dbus to detect application uniqueness in D?

2019-09-28 Thread Kagamin via Digitalmars-d-learn
https://ddbus.dpldocs.info/ddbus.bus.requestName.html

Re: Packaging and Distributing Dlang Applications with GtkD Dependency?

2019-09-28 Thread Ron Tarrant via Digitalmars-d-learn
On Saturday, 28 September 2019 at 08:52:36 UTC, Jordi Sayol wrote: On Bebian/Ubuntu/Linux Mint, You have "d-apt" This sounds so appropriate for a D application. :) If you static links your d program, you don't need any package from it at runtime. But if you

Re: Packaging and Distributing Dlang Applications with GtkD Dependency?

2019-09-28 Thread Ron Tarrant via Digitalmars-d-learn
On Saturday, 28 September 2019 at 02:15:42 UTC, Hossain Adnan wrote: For Linux there are 3 new options: (things omitted) There are tutorials for using all of those three online, but not specific to Dlang. But if you use the Meson build system there are plenty of tutorials available.

Re: Packaging and Distributing Dlang Applications with GtkD Dependency?

2019-09-28 Thread Ron Tarrant via Digitalmars-d-learn
On Friday, 27 September 2019 at 12:42:56 UTC, Jacob Carlborg wrote: For macOS you should distribute a GUI application for end users as an application bundle [1]. That's basically a directory containing a specific structure. Any dependencies and resources like libraries (GTK), images and so

Re: Packaging and Distributing Dlang Applications with GtkD Dependency?

2019-09-28 Thread bachmeier via Digitalmars-d-learn
On Saturday, 28 September 2019 at 09:00:51 UTC, drug wrote: 28.09.2019 5:15, Hossain Adnan пишет: On Wednesday, 25 September 2019 at 11:46:04 UTC, Ron Tarrant wrote: Hi y'all, I've been Googling how to do this, but coming up with nothing definitive. Are there any articles for how to do this

Re: Howto create bindings?

2019-09-28 Thread bachmeier via Digitalmars-d-learn
On Saturday, 28 September 2019 at 09:18:24 UTC, Martin Brezeln wrote: Hello everyone, i have a rather general question about how to approach the attempt to create a binding for a foreign system, for which bindings already exists for other languages than dlang. To be more concrete: There is

Howto create bindings?

2019-09-28 Thread Martin Brezeln via Digitalmars-d-learn
Hello everyone, i have a rather general question about how to approach the attempt to create a binding for a foreign system, for which bindings already exists for other languages than dlang. To be more concrete: There is this Database i am using in some recent projects: "Apache Cassandra" /

Re: Packaging and Distributing Dlang Applications with GtkD Dependency?

2019-09-28 Thread drug via Digitalmars-d-learn
28.09.2019 5:15, Hossain Adnan пишет: On Wednesday, 25 September 2019 at 11:46:04 UTC, Ron Tarrant wrote: Hi y'all, I've been Googling how to do this, but coming up with nothing definitive. Are there any articles for how to do this for: Linux? For Linux there are 3 new options: 1.

Re: Packaging and Distributing Dlang Applications with GtkD Dependency?

2019-09-28 Thread Jordi Sayol via Digitalmars-d-learn
El 25/9/19 a les 13:46, Ron Tarrant via Digitalmars-d-learn ha escrit: > Hi y'all, > > I've been Googling how to do this, but coming up with nothing definitive. Are > there any articles for how to do this for: > > Windows? > Linux? > other UNIX-alike OSs? On Bebian/Ubuntu/Linux Mint, You have

Re: Help making a game with transparency

2019-09-28 Thread GreatSam4sure via Digitalmars-d-learn
On Friday, 27 September 2019 at 11:32:53 UTC, Adam D. Ruppe wrote: On Friday, 27 September 2019 at 11:28:35 UTC, matheus wrote: Sorry this is a bit vague. I suppose you're using engine.d or screen.d directly right? those two are obsolete, new stuff should use simpledisplay but with

Re: Help making a game with transparency

2019-09-28 Thread Mike Parker via Digitalmars-d-learn
On Friday, 27 September 2019 at 22:55:22 UTC, Murilo wrote: Ahhh, that clears everything up. I will then leave the program without the transparency and wait until you get around to implement the fixes to it, I am not a developer, I am a scientist, I only use libraries, I don't know how to