Archived

This topic is now archived and is closed to further replies.

Guest Anonymous Poster

2D Blitting basics

This topic is 6592 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
I am new to graphics programming in a big way. I have done some text games but they were mostly linear(like the old flip books). I read about blitting pixels all the time, but fail to grasp the actual concept. What is happening Hardware wise when you do so. What options do I have when it comes to 2D games? Could someone point me in the direction of sudo code to blit to the screen. I think I need a more simplified version of doing 2D graphics.

If this is important: I use c++ for my programming, and would like to use windows as a platform. I am aware of the DirectX tutorials but seem to get lost when reading them.

Share this post


Link to post
Share on other sites
Blitting means to tranfer one piece of memory into another. In your case it copies the screen information from your picture to the memory on the graphic board which will display the screen.
When you want to have a start with DirectX try "Windows game programming for Dummies"(idiotic name but a good book)by Andre Lamothe. Next one to read would be Inside Directx(Microsoft Press).

Share this post


Link to post
Share on other sites