digitalmars.D.announce - A tutorial teaching the basics about multimedia with the arsd library
- Murilo (9/9) Jun 30 2019 Hi everyone, I am writing a tutorial teaching the basics about
- Andre Pany (25/34) Jun 30 2019 Hi,
- Murilo (4/14) Jul 01 2019 Thanks for the feedback André(are you Brazilian too?) but the
- Cym13 (6/15) Jun 30 2019 I really dislike that you use screenshots of code, it makes
- Murilo (3/8) Jul 01 2019 I will change that now. Thanks for the advice, it did not occur
- Murilo (10/15) Jul 31 2019 Hi Guys. I am nearly done with the tutorial and it is now very
- angel (4/13) Jun 30 2019 Very nice, thank you !
- Murilo (3/3) Jul 08 2019 Guys, go check how it is now, I think it is now very good, it has
Hi everyone, I am writing a tutorial teaching the basics about multimedia programming using the arsd library. This is a library all D programmers should have since it is very useful and easy. In this tutorial I will teach in a fun and easy way how to use it for GUIs, image displays, games, etc... Here is the GitHub link: https://github.com/MuriloMir/arsd_multimedia_tutorial And please join the official facebook Dlang group: https://www.facebook.com/groups/ProgrammingInD/
Jun 30 2019
On Sunday, 30 June 2019 at 23:46:27 UTC, Murilo wrote:Hi everyone, I am writing a tutorial teaching the basics about multimedia programming using the arsd library. This is a library all D programmers should have since it is very useful and easy. In this tutorial I will teach in a fun and easy way how to use it for GUIs, image displays, games, etc... Here is the GitHub link: https://github.com/MuriloMir/arsd_multimedia_tutorial And please join the official facebook Dlang group: https://www.facebook.com/groups/ProgrammingInD/Hi, please consider using Dub, this will reduce a lot of complexity of the tutorial. Everything you need to run this arsd based application is just use 1 command: dub app.d ``` /+ dub.sdl: name "application" dependency "arsd-official:cgi" version="3.0.1" subConfiguration "arsd-official:cgi" "embedded_httpd" +/ import arsd.cgi; void main() { cgiMainImpl!(handle, Cgi, defaultMaxContentLength)(["--port", "5000"]); } void handle(Cgi cgi) { cgi.setResponseStatus("204 No Content"); } ``` Kind regards André
Jun 30 2019
please consider using Dub, this will reduce a lot of complexity of the tutorial. Everything you need to run this arsd based application is just use 1 command: dub app.d ``` /+ dub.sdl: name "application" dependency "arsd-official:cgi" version="3.0.1" subConfiguration "arsd-official:cgi" "embedded_httpd" +/Thanks for the feedback André(are you Brazilian too?) but the primary reason I chose this library is because it does NOT require a package manager at all and I think that makes it simpler.
Jul 01 2019
On Sunday, 30 June 2019 at 23:46:27 UTC, Murilo wrote:Hi everyone, I am writing a tutorial teaching the basics about multimedia programming using the arsd library. This is a library all D programmers should have since it is very useful and easy. In this tutorial I will teach in a fun and easy way how to use it for GUIs, image displays, games, etc... Here is the GitHub link: https://github.com/MuriloMir/arsd_multimedia_tutorial And please join the official facebook Dlang group: https://www.facebook.com/groups/ProgrammingInD/I really dislike that you use screenshots of code, it makes copy-pasting impossible. There are ways to produce pdfs with colored, copyable source code (like using RST for redaction then rst2pdf for production, but I'm not sure it'll be the easiest for you).
Jun 30 2019
I really dislike that you use screenshots of code, it makes copy-pasting impossible. There are ways to produce pdfs with colored, copyable source code (like using RST for redaction then rst2pdf for production, but I'm not sure it'll be the easiest for you).I will change that now. Thanks for the advice, it did not occur to me that copy-pasting was important because I always prefer typing the whole code in order to practice and learn better.
Jul 01 2019
On Monday, 1 July 2019 at 05:34:06 UTC, Cym13 wrote:I really dislike that you use screenshots of code, it makes copy-pasting impossible. There are ways to produce pdfs with colored, copyable source code (like using RST for redaction then rst2pdf for production, but I'm not sure it'll be the easiest for you).Hi Guys. I am nearly done with the tutorial and it is now very complete, it now teaches how to use the arsd library to draw all sorts of stuff and to receive mouse and keyboard input. I think you will like it. If you use it and like it please let me know because I would be very happy to see my work being spread. Cheers. Here is the GitHub page: https://github.com/MuriloMir/arsd_multimedia_tutorial And here is the official Dlang facebook page, please join: https://www.facebook.com/groups/ProgrammingInD/
Jul 31 2019
On Sunday, 30 June 2019 at 23:46:27 UTC, Murilo wrote:Hi everyone, I am writing a tutorial teaching the basics about multimedia programming using the arsd library. This is a library all D programmers should have since it is very useful and easy. In this tutorial I will teach in a fun and easy way how to use it for GUIs, image displays, games, etc... Here is the GitHub link: https://github.com/MuriloMir/arsd_multimedia_tutorial And please join the official facebook Dlang group: https://www.facebook.com/groups/ProgrammingInD/Very nice, thank you ! As has been pointed out by others, it would be great if code snippets could've been copyable.
Jun 30 2019
Guys, go check how it is now, I think it is now very good, it has several pages and several code examples(no screenshots). https://github.com/MuriloMir/arsd_multimedia_tutorial
Jul 08 2019