2D Game Dev – Part 8.2: Sprite Struct Demo

This post is a portion of Part 8 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.

Having created our Sprite Struct in the previous video, this video pushes the code even further. By the end, you will see how we can utilize a simple array and the code we have already looked at to animate 15,000 independent sprites on the screen at the same time. Enjoy!

Full source can be found here.

Posted in 2D Game Dev, Allegro, C++, Code, Game Dev, Part 8, Tutorial
1 Comment » for 2D Game Dev – Part 8.2: Sprite Struct Demo
  1. patrickg says:

    Mike,

    I’m looking for the sprite sheet ‘space-core.png’. I’m having hard time looking for free sheets like the ones you have. Is there any chance you could direct me to the source?

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>

  • Skrilles better watch out. New dubstep group laying it down: http://t.co/tMzmjs0F 6 hours ago
  • Everyday I'm kerfuffle-ing. 1 day ago
  • Who's got two thumbs and finished his research paper? This guy! #ayyyyyyy #fonz 1 day ago
  • App Idea- tag cloud favorite book and allow user to assemble sentences. Algorithmically assign tones. User can hear favorite lines from book 1 day ago
  • I just wrote 2 sentences of this research paper and I feel exhausted. 2 days ago