[gameprogrammer] Re: Sorry for too many questions!!!

  • From: Robbert de Groot <zekaric@xxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Wed, 5 Mar 2008 11:27:56 -0500 (EST)

--- "®£$Ç?\"v@M$Ħ ¢© $." <theamericansushi@xxxxxxxxx> wrote:

> well i have another one right here.....well actually 2.......
> 1) How do i use paypal to receive donations or is there something
> else available

Try a more web development forum for help with e-commerse like
questions like this one.  You're only going to get very scratching
the surface type answers here.


>  2) What software should i use to make the crosshairs of the gun
> and how
> does it exactly work...Because the one i have is a totally black
> picture
> with the crosshair in the middle......But when i run the game i
> only get the
> crosshair......So how exactly does this happen?

The image is using something called an Alpha channel.  In paint
programs it could be an alpha channel or something called a 'mask'. 
The channel/mask indicates how transparent the color pixels are.  

The program you use to view the target probably doesn't handle alphas
- or -
The alpha is stored as a separate image and the program that uses the
target applies the alpha itself
- or -
The program determines what is alpha based on some specific color and
sets the alpha of the target that way.

Most often than not the picture has an alpha channel.  If it's a png
then loading it into firefox or something should show the image properly.

Robbert de Groot


      Get a sneak peak at messages with a handy reading pane with All new 
Yahoo! Mail: http://ca.promos.yahoo.com/newmail/overview2/

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: