HDC hdcMem = CreateCompatibleDC(hdc);
HBITMAP hbmOld = SelectObject(hdcMem, g_hbmBall);
GetObject(g_hbmBall, sizeof(bm), &bm);
BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, SRCCOPY);
I've found that many games use bitmap for displaying animation . But can we use png instead ?
Because bitmap is quite big when i convert fron png ( 1kb -> 12kb in bitmap )
Thanks for reading this :)