SysRq2000 Posted August 13, 2003 Posted August 13, 2003 Hi, I'm developing a 2D game using Direct3D. I need to show a transparent map window in the corner of the main window (see attachment), so the player knows where to go... How is this done in Direct3D? - SysRq Quote
*Experts* Nerseus Posted August 13, 2003 *Experts* Posted August 13, 2003 It's up to you, really. Normally, you'd create two triangles that are Transformed and Lit already (as if doing a sprite) and draw whatever you want on a texture which would be applied to those triangles. You can set the alpha blend (and alphablendenable) to achieve a translucent effect. -nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
SysRq2000 Posted August 13, 2003 Author Posted August 13, 2003 Thanks Thanks. I thought it would be something like that... But since I'm pretty new to Direct3D I would like to see some example code or a tutorial. Do you know where to find any samples related to this subject? - SysRq Quote
shouzama Posted August 21, 2003 Posted August 21, 2003 Here are two useful links: http://www.exhedra.com/DirectX4VB/Downloads/DirectX9/Basic_D3D9.zip http://www.xtremedotnettalk.com/showthread.php?s=&threadid=69288 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.