Original Post
Hey all,
I''m having some trouble using a custom mouse cursor with Direct3D 8. I have a 2D game but I''m using D3D for effects such as alpha blending, etc. Anyways, I know how to use SetCursorProperties, etc. to set a surface to a custom mouse cursor, but I don''t like the idea of having to manually update the cursor every frame since it''s quite possible that this game will run slowly on certain machines. As long as the mouse cursor remains framerate independent, the slowdown won''t be all that irritating as far as gameplay is concerned.
So, basically I want to know if there''s some combination of DirectInput and Direct3D that will allow me to specify my own cursor but not have to manually reposition it each frame. The SDK says that it''s possible to use a method so that "the cursor is updated at at least 50% of the refresh rate. So far, I''ve had no luck achieving any such thing.
Also, I''m using Visual Basic so no multithreaded or otherwise ridiculously complex solutions please. :-) C++ code is fine, if you have it, since I can convert it easily if I understand the concept.
Many thanks -
Jay Wheeler
MasterWorks Software