   sprite on background image
  Hi allI am trying to code an arcade shooter as my first DX game and have been trying to load and display a ship sprite on the background image I have displayed.I have used the CreatImageSurface for the background and for the sprite image surface and D3DXLoadSurfaceFromFile to load in the .bmp filesI then have used BeginScene and GetBackBuffer and CopyRects methodsWhat happens is that only the background image is displayed. It is 800x600 and my sprite is 80x80. I only have one backbuffer in use.So I guess I am asking what I am doing wrong here? I apologize for the lack of code snippets here, but I can include them if necessaryThanks for your help 
  Perhaps this is too obvious, but you are copying the background image first and your sprite second, right? ;  Yes, I am doing that. Since my first post I have fixed the problem by doing the following:void Render(){IDirect3DSurface8* pBackBuffer=NULL;IDirect3DSurface8* pBackBuffer1=NULL;g_pDirect3DDevice->Clear(0,0,D3DCLEAR_TARGET,D3DCOLOR_XRGB(0,0,0),0,0);g_pDirect3DDevice->BeginScene();g_hResult=g_pDirect3DDevice->GetBackBuffer(0,D3DBACKBUFFER_TYPE_MONO,&pBackBuffer);if(FAILED(g_hResult)){strcpy(g_szErrorMsg,"Error getting back buffer");PostQuitMessage(WM_QUIT);}g_hResult=g_pDirect3DDevice->CopyRects(g_pBitmapSurface,NULL,0,pBackBuffer,NULL);if(FAILED(g_hResult)){strcpy(g_szErrorMsg,"Error copying image buffer");PostQuitMessage(WM_QUIT);}g_pDirect3DDevice->EndScene();g_pDirect3DDevice->BeginScene();g_hResult=g_pDirect3DDevice->GetBackBuffer(0,D3DBACKBUFFER_TYPE_MONO,&pBackBuffer1);if(FAILED(g_hResult)){strcpy(g_szErrorMsg,"Error getting back buffer");PostQuitMessage(WM_QUIT);}g_hResult=g_pDirect3DDevice->CopyRects(g_pAlienShip,NULL,0,pBackBuffer1,NULL);if(FAILED(g_hResult)){strcpy(g_szErrorMsg,"Error copying image buffer");PostQuitMessage(WM_QUIT);}g_pDirect3DDevice->EndScene();g_pDirect3DDevice->Present(NULL,NULL,NULL,NULL);if(pBackBuffer)pBackBuffer->Release();}The only thing now is the transparency issue because the black background shows up on the background image.Thanks again