SDL, good things! (ZT)

xiaoxiao2021-03-06  77

Article Source: http://www.hongliang.net/index.php? Page = 7

When I think every night, I don't think about how to use it. When I realize my real chat room, Liu Shi told me that it would not be a dream, dream has become a reality.

That is, use SDL! ! ! ! ! ! ! ! !

SDL is the abbreviation of Simple DirectMedia Library, the first letter is very important, Simple.

advantage:

1. Cross the platform. awesome. If you use Microsoft's DirectX, then limit on Microsoft's platform. SDL has been packaged, and abstract is not related to the platform, this simply can be described in Amazing.

2, simple. If you learn DirectX, you have more or less COM technology. God, I am a stupid, CoM is too difficult to me, I have also tried to learn it, but I saw those Iunknown :: xxxx headache. . . Now, SDL is a complete C function library, and it is easy to learn COM and DirectX. For my little ideal, Win32 GDI is enough, not to mention SDL, so SDL function pair I am definitely enough.

Why don't I use Win32 GDI? Oh, it is simple, no future, and I am not good at that way. I have seen a rendering of stupid yourself, it's good, but if you use Win32 GDI, it is inevitable to deal with MFC, I really don't want to do this.

3, supported language. Although SDL is written with C, the following languages ​​can call the SDL library to develop:

ADA

C #

Eiffel

Erlang

Euphoria

Guile

Java

LISP

Lua

Ml

SDLML

Ocamlsdl

Objective C

SDLOBJC

Pascal

Jedi-SDL

Perl

PHP

Pike

Pliant

Python

Ruby

Rudl

4. SDL-based open source libraries have more than 100! Which one you can use, which is quite cool. Of course, I will not use those libraries when I start, if I have made it, I want to improve, beautify, consider using those libraries. Some libraries are still good, such as 3D, font.

SDL, I see you!

http://www.libsdl.org

BTW: The most NB language is still C, 啥 玩 玩, hia ~~ hia ~~~

转载请注明原文地址:https://www.9cbs.com/read-95370.html

New Post(0)