Tutorial series of 2D game engine Allegro (1) configure the allegro Development Environment

Source: Internet
Author: User
Tags mail exchange

This series of articles is written by sky. For more information, see the source. Http://blog.csdn.net/qq573011406/article/details/8100039

Author: Yuan quanwei Email:
Qq573011406@126.com welcome mail exchange programming experience

Index of this series of tutorials:
Tutorial series of 2D game engine Allegro (1) configure the allegro Development Environment
2D game engine Allegro series tutorial (2) Hello world!
2D game engine Allegro series tutorial (3) load and display pictures!

2D game engine Allegro series tutorial (4) text rendering and display of Chinese Characters

Allegro Introduction

Allegro (www. allegro. cc) is a well-established cross-platform 2D game engine and is still maintained. It supports Windows from version 4th. The latest version is 5.1.3 ,. By using Allegro, you can easily understand some of the frequently encountered concepts in game development. This library provides basic two-dimensional graphics, image operations, sound output, MIDI Music, input, timers, and additional pathfinding algorithms, UNICODE, and file system management.

Allegro Community users have contributed a variety of extensions, including map in the form of an axis volume block and various input and output formats (PNG, GIF, JPEG, MPEG, Ogg, MP3, IT, S3M, XM, and TTF ). It also has multiple language bindings, such as Python, Perl, Scheme, C #, and D.

Allegro is written in C and sink, and most of the Code is C. In some speed bottlenecks, Allegro uses assembly, which ensures its efficiency.

The following describes how to configure the allegro Development Environment on Windows.

Download Allegro Development Kit

Development Kit address: https://www.allegro.cc/files/

Applicable to: vc6, vs2005, and vs2008 sdks: Click to download

SDK for vs2010: Click to download

User Manual: https://www.allegro.cc/manual/5/



Extract

After the download, decompress the package and extract the three folders.

Bin-The file contains the dynamic link library.

Include-various header files

Lib-library file

Configure the development environment

Take vs2008 as an example.

1. Tools-> options-> projects and solutions-> Directories

Configure include files and library files

So far, the development environment configuration has been completed. As mentioned earlier, Allegro is actually a cross-platform 2D game engine. Therefore, it can be used on various mainstream platforms, and the configuration methods on various platforms are different. Our tutorial is mainly for the Windows platform, so we downloaded the compiled Allegro Development Kit directly.

This tutorial ends now. If you have any questions, please leave a message or contact me by email.

Next article: 2D game engine Allegro series tutorial (2) Hello world!

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.