Beginning SDL 2.0 (2) Twinklebeardev SDL 2.0 Tutorial

Source: Internet
Author: User

This article organizes and briefly introduces the Twinklebeardev SDL 2.0 Tutorial related content (hereinafter referred to as tdsdltutorial).

This is a learning summary as I learn and understand SDL2.0 features.

The tdsdltutorial consists of 7 lesson. Lesson 0 is primarily about the configuration of the SDL2.0 development environment (Visual Studio, MinGW, Linux gcc, etc.).

Lesson 1 and Lesson 2 describe the loading of BMP images, the fundamentals of video rendering in SDL, and how SDL initializes the destruction, which mainly involves the coordinate systems of window, render, texture, surface, and drawing.

Lesson 3 introduces the use of the Sdl_image extension library, primarily how to load non-BMP format images and import them into SDL texture.

Lesson 4 describes the response of the SDL input event (keyboard, mouse, window event).

Lesson 5 introduces the loading and dynamic switching of sprites (class animation effects).

Lesson 6 describes the use of the Sdl_ttf extension library for displaying fonts in the SDL.

In general, as a primer, it is still very good. Can learn, but the content is very simple, does not provide a systematic learning route.

The relevant code can be downloaded from the author's GitHub or my Git library, and the URL is as follows: Https://git.oschina.net/Tocy/SampleCode.git, located in the Tdsdl2tutorial directory.

--------------------------------------------------------------------------------------------------------------- -------------

This article Tocy e-mail: [Email protected]

Copyright @2015, do not use for commercial purposes, reprint please specify the original address. I reserve all rights

Beginning SDL 2.0 (2) Twinklebeardev SDL 2.0 Tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.