2D Game Dev – Part 11.1: Parallax Backgrounds

This post is a portion of Part 11 in my on going series about 2D Game Development using the Allegro 5 library. These posts are in course order. You can see all of the posts in this course by clicking the “2D Game Development” button at the top of this site.

Let’s tackle our first background project. In this video we look at creating scrolling, parallax backgrounds in Allegro 5. Using the attached code and images, you can add some cool effects to your games.

Full source can be found here.

Posted in 2D Game Dev, Allegro, C++, Code, Game Dev, Part 11, Tutorial
1 Comment » for 2D Game Dev – Part 11.1: Parallax Backgrounds
  1. Mehmet says:

    What i have to do if i want to translate parallax background on x-axis?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>