Oxygen Basic

Programming => Example Code => Topic started by: Peter on June 11, 2014, 11:12:06 AM

Title: Simple Alpha Test
Post by: Peter on June 11, 2014, 11:12:06 AM
Deleted.
Title: Re: Simple Alpha Test
Post by: JRS on June 11, 2014, 11:39:50 AM
Good to see you posting again Peter. I was worried Kitty may have bought it.  :D

.
Title: Re: Simple Alpha Test
Post by: Frankolinox on June 12, 2014, 01:55:17 AM
thanks peter for your alpha and polygon examples :)
Title: Re: Simple Alpha Test
Post by: JRS on June 12, 2014, 08:51:12 AM
Peter,

Were you ever able to figure out why SDL doesn't allow you to get the alpha value on on main surface?
Title: Re: Simple Alpha Test
Post by: JRS on June 12, 2014, 01:51:55 PM
Vielen Dank!

Can you explain what this program is doing and the results it gives?

My question is it possible to set a pixel with a known RGB color and alpha value on the main SDL surface and retrieve the same? I have no problem doing this with a new SDL surface I create.





.
Title: Re: Simple Alpha Test
Post by: JRS on June 13, 2014, 08:40:28 AM
If you ever figure out how to initialize the main surface so the alpha channel is correctly setup, (like I do when creating a new surface) that would be great and much appreciated.