video scripts added

This commit is contained in:
kirill.saidov 2021-07-15 11:16:32 +06:00
parent 181cf69490
commit 98aa1d3e27
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#0 | Introduction | Let's learn DLang game dev
Hi and welcome to this series of learning game development in D programming language.
D language succesfully combines high-level constructs of modern programming languages
simultaneously retaining low-level features of of C/C++ programming language. Therefore,
in my opinion, D is a perfect fit for game development.
In this tutorial series we will learn how to write 2D games in D programming language. We
will start by learning the basics of D language by writing simple games such as Hangman,
Tic Tac Toe and Battleship. This games will be run from the terminal. Once we get comfortable
with the language, we will start making 2D games using raylib graphics library.
At first, we will create a graphical version of our Tic Tac Toe game just to get aquanted
with the library, then we will do a snake game, and finally, a simple Rogue-like game or a
platformer containing a main menu, settings and a few levels.
You will need a DMD compiler, DUB package manager and any text editor. In the next video
I will show how to install each of the software. Have a nice day!

View File

@ -0,0 +1,27 @@
#1 | Installing DMD, DUB, Sublime Text | Let's learn DLang game dev
Welcome back. In this video we are going to install the D compiler, DMD, Sublime Text editor,
and DUB package manager.
Let's start with the DMD compiler. Go to the dlang.org, the official D website, click on the
"Downloads" and download the official installer for the DMD compiler. There are 3 compilers
available. In general, the GDC and LDC offer advanced optimization and faster executables,
however, the DMD compiler is the official implementation of the language. It is developed
by the D community itself, hence, it is updated first and offers the latest featuers. For
what we plan to do, DMD is a great starting point.
Next, let's install Sublime Text. Go to the sublimetext.com. Click on "Download", choose
your platform and install Sublime Text.
Finally, we need to install DUB. DUB is the official package manager for D applications
and libraries. The main purpose of DUB is to simplify the development process. It is
especially useful when you need an external library. It will fetch, download and build
the required libraries itself.
To install DUB, navigate to github.com/dlang/dub/releases, choose your platform and
download the official installer.
In the next video, we will create our first program, we will learn how to use the
Terminal, output text to the terminal window, compile and run our program. Have a nice day!