Original Post
I am currently trying to program a 2D side scrolling game using DirectX but every time I try to compile it it gives me these messages: game.cpp(97) : error C2065: 'D3DXSPRITE_ALPHABLEND' : undeclared identifier game.cpp(116) : error C2660: 'ID3DXSprite::Draw' : function does not take 5 arguments I have DirectX SDK9 and use Visual Studio version 7.1. For some reason I have no problem running it at my schools computer but when I try it on my home one it won't compile because of these errors. Does anyone know how to fix this? I also have another problem in game that has been annoying me and I have no idea how to fix. While playing what I have so far after the sprites move around the screen for a certain amount of pixels they will suddenly just stop rendering or something. If they stay in one place they will stay there forever but after moving around some the dissapear. Any hints on this one would be nice too :)