2D graphics?

Started by
1 comment, last by jouley 17 years, 1 month ago
(Just so you all know, I'm very noobish. Move this to 'For Beginners' if you want.) Anyway, I don't know how to incorporate image files into C++ code with transparency and rotation and all that. I've heard of scripts like TGALoader and PNGwriter, but I don't know how to use them. Yes, I am very new to this.
Advertisement
Generally you use a library in your drawing system to load images, if it has that functionality.

Otherwise you can use one of the libraries as suggested to load it into memory, then use one of your rendering library functions that accepts an image array.

If you would like more detail, please state what drawing API you will be using.
Quote:Original post by ShotgunNinja
(Move this to 'For Beginners' if you want.)

I imagine a moderator will be along shortly...

Quote:Anyway, I don't know how to incorporate image files into C++ code with transparency and rotation and all that.

What are you using to draw your graphics? OpenGL? DirectX? SDL? Windows GDI? Any answer we give you will be better if you can tell us what, exactly, you're using and what you're trying to do.

[Edit: Bojangled!]

This topic is closed to new replies.

Advertisement