How to make menu sprite

Posts 1–11 of 11 · Page 1 of 1
How to make menu sprite
i want to know if there a tut or something to make menu sprite , i want to add one to my menu , so please if you know how, say it ..
Quote Originally Posted by NanoGold View Post
i want to know if there a tut or something to make menu sprite , i want to add one to my menu , so please if you know how, say it ..
if you have already made hook not leeched so making sprite menu will be so easy it
Quote Originally Posted by Dragon(H)ell View Post
if you have already made hook not leeched so making sprite menu will be so easy it
i already have undetected hook , but i want make menu sprite could you help ??

use search button and its not that hard to make it
and even if you c+p u wont fix send error thing i bypass it with hooking reset and ES
create a texture from the image file you want to use and then do the following:

Code:
//global
LPD3DXSPRITE pSprite = NULL;

//initilize the sprite
if(FAILED(D3DXCreateSprite(pDevice, &pSprite)))
{
    //failed to create the sprite .. do something!
}

//render time
pSprite->Begin(D3DXSPRITE_ALPHABLEND);

//where pTexture is the texture pointer and 100.0f, 200.0f are the screen coords
pSprite->Draw(pTexture, NULL, NULL, &D3DXVECTOR3(100.0f, 200.0f, 0.0f), 0xFFFFFFFF); 
pSprite->End();
have fun!
Quote Originally Posted by giniyat101 View Post
create a texture from the image file you want to use and then do the following:

Code:
//global
LPD3DXSPRITE pSprite = NULL;

//initilize the sprite
if(FAILED(D3DXCreateSprite(pDevice, &pSprite)))
{
    //failed to create the sprite .. do something!
}

//render time
pSprite->Begin(D3DXSPRITE_ALPHABLEND);

//where pTexture is the texture pointer and 100.0f, 200.0f are the screen coords
pSprite->Draw(pTexture, NULL, NULL, &D3DXVECTOR3(100.0f, 200.0f, 0.0f), 0xFFFFFFFF); 
pSprite->End();
have fun!
i made it with different way
Quote Originally Posted by Ryuesi View Post


i made it with different way
Can you help me in it ??
you need a file2array converter to convert your image files to byte!!
Quote Originally Posted by Nexuz2011 View Post
you need a file2array converter to convert your image files to byte!!
you may also add the image as a resource, but never seen anyone doing that.

Quote Originally Posted by Ryuesi View Post


i made it with different way
then how lol
Quote Originally Posted by NanoGold View Post
i want to know if there a tut or something to make menu sprite , i want to add one to my menu , so please if you know how, say it ..
I Made Sprites Add Me To Help You
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us