top of page

WINDOWS GDI PROGRAMMING

A Collection of Windows GDI programs/tutorial for beginners to intermediate level of proficiency. The programs are intended to run on Windows operating system. The window creation is handled by Win32 API (windows.h) and rendering is handled by Windowds GDI API.

gdi_Rectangle

A Program in Windows GDI that shows the use of Rectangle() fuction to draw rectangle.

gdi_Circle

A Program in Windows GDI that shows Circle Drawing Algorithm and use of rand() function.

gdi_Bitmap

A Program in Windows GDI that shows intialization and drawing of BITMAP file through BitBlt() function on Device Context as well as basic collision response.

dgi_Backbuffer

A Program in Windows GDI that shows the simplest way to implement Back Buffering or Double Buffering, that allows flicker free animation of sprite or image.

gdi_Flag

A Program in Windows GDI(Graphics Device Interface) that shows intialization and creation of windows and technique of line drawing.

gdi_BallCollision

A Program in Windows GDI that shows how to instantiate many sprite at different position using same Class. Back buffering is also implemented.nted.sparent bliting of sprite etc.

gdi_Box2BoxCollision

This program shows how to detect collision, when two rectangles overlap each other.

gdi_Point2BoxCollision

This program shows how to detect collision, when a point get inside a rectangle.

Simple AI

A Program in Windows GDI that shows how to implement a simple AI(Artificial Intelligence) that follows Mouse Curser using Vectors.

gdi_SpaceImpact

A Game in Windows GDI .This program shows bliting of sprites on device context and dynamic creation of bullets and collision detection with enemy and player. Dynamic deletion of bullets and double buffering is not implemented yet.

gdi_ShootThemUp

A whole game with many levels in Windows GDI . This program implements many stuff such as Classes, Back buffering, Collision detection, Sounds,Vectors, Transparent Bliting of sprite etc.

Please reload

© 2015 Krishna Kumar

bottom of page