- SDL Game Development
- Shaun Mitchell
- 222字
- 2021-08-20 16:44:49
Chapter 1. Getting Started with SDL
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library created by Sam Oscar Latinga. It provides low-level access to input (via mouse, keyboard, and gamepads/joysticks), 3D hardware, and the 2D video frame buffer. SDL is written in the C programming language, yet has native support for C++. The library also has bindings for several other languages such as Pascal, Objective-C, Python, Ruby, and Java; a full list of supported languages is available at http://www.libsdl.org/languages.php.
SDL has been used in many commercial games including World of Goo, Neverwinter Nights, and Second Life. It is also used in emulators such as ZSNES, Mupen64, and VisualBoyAdvance. Some popular games ported to Linux platforms such as Quake 4, Soldier of Fortune, and Civilization: Call to Power utilize SDL in some form.
SDL is not just used for games. It is useful for all manner of applications. If your software needs access to graphics and input, chances are that SDL will be a great help. The SDL official website has a list of applications that have been created using the library (http://www.libsdl.org/applications.php).
In this chapter we will cover the following:
- FPGA從入門到精通(實戰(zhàn)篇)
- 基于Proteus和Keil的C51程序設(shè)計項目教程(第2版):理論、仿真、實踐相融合
- Creating Dynamic UI with Android Fragments
- INSTANT Wijmo Widgets How-to
- 計算機組裝·維護(hù)與故障排除
- Mastering Manga Studio 5
- 計算機組裝與維護(hù)(第3版)
- 計算機組裝維修與外設(shè)配置(高等職業(yè)院校教改示范教材·計算機系列)
- 單片機原理及應(yīng)用:基于C51+Proteus仿真
- 基于網(wǎng)絡(luò)化教學(xué)的項目化單片機應(yīng)用技術(shù)
- 微控制器的應(yīng)用
- 筆記本電腦的結(jié)構(gòu)、原理與維修
- 基于S5PV210處理器的嵌入式開發(fā)完全攻略
- 現(xiàn)代多媒體技術(shù)及應(yīng)用
- 快·易·通:2天學(xué)會電腦組裝·系統(tǒng)安裝·日常維護(hù)與故障排除