SDL programming langauge

SDL programming langauge



Simple DirectMedia Layer (SDL) is a cross-platform development library designed to provide low level access to audio, input devices, and graphics hardware via OpenGL and Direct3D (i.e. not DirectX). SDL is written in C and is free and open-source software subject to the requirements of the zlib License since version 2.0 and GNU Lesser General Public License prior versions.[3]

Over 700 games, 180 applications, and 120 demos have been posted on its website.

Software developers use it to write computer games and other multimedia applications that can run on many operating systems: Android, iOS, Linux, Mac OS X, Windows and other platforms.[4] It manages video, events, digital audio, CD-ROM, threads, shared object loading, networking and timers (...WIKIPEDIA)

There are some "standard library" available in the SDL. They are as under.

1) SDL_mixer

        This library used for add audio in the game. There are we can use .wave format free. If you want to use .mp3 format that you must purchase it. Because .mp3 format is not free.   

2) SDL_Image

      This library used for add image in the application. Images such as .jpg , .png and many other format. If you don't use this library and just add image in the application that it will take only bitmap image.

3) SDL_net

    This library is used for making online server for game ane other net application.

4) SDL_ttf

   This library is used for using .ttf font file in the application. With this library we can use any ttf font file in our application.

For compile a programme you must include this library files

-lSDLmain
-lmingw32
-lSDL_mixer
-lSDL_image
-lSDL_ttf
-lSDL_net

     SDL is most useful and very simple language. I hope that you understand importance of SDL programming language.


For more information you can use this site. There are lots of tutorials about SDL programming language
 
    www.lazyfoo.net


 Thank you for reading this article.If you like this article than you can like us on facebook and follow us on twitter. 

Copyright © Youtherzone | Powered by Blogger | Designed by Chintan Panchal