This post is a portion of Part 7 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.
- 7.0 – Sprites
- 7.1 – Bitmap Transparency in Allegro 5
- 7.2 – Basic Animation in Allegro 5
- 7.3 – Using Allegro 5 to Create a Sprite Sheet
- 7.4 – Sprite Sheet Animation in Allegro 5
Full source can be found here
Thanks for the share!
Hellen
The published video is only 1:26 minutes long – not complete
Thanks for catching that. Let me get it fixed.
Hey Mike I have a question about the picture weird.png, when I open it in paint it looks different from when I see the thumbnail and if you open it in paint you`ll notice theres some blue at the bottom and a black box surrounding the blue color line. The thing I don’t get is that isn’t anything black suppose to show up to and the blue at the bottom as well? it looks like it just shaped the whole image, unless does the black count as the one being invisible and the white is just already invisible? thanks if you can explain it, liking the series and I am learning alot 🙂 since I can’t get into college and study due to it being full.
The source code archive isn’t complete, you wrote some frames of the dragon in the source, which are not present in the archive.
Also frames are not explained in your video.
I have a source code archive?
Also, what do you mean that I don’t teach frames?
He means that you have mixed the next part code with this one. On the Transparency2.cpp source code you have the code that makes the animation move.
I took the liberty of combining the two methods described on this video in order to achieve transparency here’s a link: http://goo.gl/RvUSz just in case Frefro or other user finds itself lost with the resources associated with this video.
Thank you very much.The tutorial is awesome.Congratulations!!!