- 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:
- Getting the latest SDL build from the Mercurial repository
- Building and setting up SDL in Visual C++ 2010 Express
- Creating a window with SDL
- Implementing a basic game class
- 用“芯”探核:龍芯派開發(fā)實戰(zhàn)
- 24小時學會電腦組裝與維護
- 新媒體跨界交互設(shè)計
- Arduino入門基礎(chǔ)教程
- 施耐德SoMachine控制器應用及編程指南
- Deep Learning with PyTorch
- OUYA Game Development by Example
- 計算機組裝與維護(第3版)
- Machine Learning with Go Quick Start Guide
- 基于Proteus仿真的51單片機應用
- 基于PROTEUS的電路設(shè)計、仿真與制板
- WebGL Hotshot
- Mastering Machine Learning on AWS
- 基于網(wǎng)絡(luò)化教學的項目化單片機應用技術(shù)
- The Machine Learning Workshop