all of you know those aimers when u see them in fps games... the gun aimers. for people who don't know, i am talking about the cross thing from which you aim... hopefully u guys know what i mean now.
i know how to set it up, just set an image OF THE AIMER in the middle of the screen. the thing is how to make the background transparent
like in the case when u set up a billboard, there is function u use to set the backgorund of the billboard transparent, by setting the backgorund of the billboard to black which enables it to be transparent,
is there anything similar like to set the background color to black or any color of the aimer to make it transparent
THXS FOR ALL THE HELP
TO ALL THE AMATEURS OUT THERE LIKE ME......
AIM HIGH AND YOU MAKE SOMETHING PRETTY DECENT TO SHOW THE WORLD
CURRENTLY WORKING ON MY COMPANY WITH ME CREW MEMBERS. MY COMPANY IS CALLED
BIG DREAMS
AND WE ARE MAKE VERSION 0.1 FPS GAME
// load the hud texture
hudTexture = driver->getTexture( "media/graphics/hud/hud.png" );
// color black will be transparent
driver->makeColorKeyTexture( hudTexture, video::SColor( 0, 0, 0, 0 ) );
And in your game loop just draw it (you have to define, where your cross is located in the texture):