Page 1 of 1

[Implemented] PNG Alpha Support

Posted: Tue Jan 03, 2006 6:51 pm
by Steve Elliott
I recently posted the question:

I've just bought Pure BASIC and while alpha seems to be supported; how do you load and display a PNG image correctly when the image contains alpha information?

I was told this was going to be introduced in version 4 - can the producers of Pure BASIC confirm this? If it's not going to be introduced soon then it's a big request from me. :wink:

Posted: Fri Jan 06, 2006 12:29 pm
by Steve Elliott
Any thoughts? :D

Posted: Fri Jan 06, 2006 1:25 pm
by Berikco
Steve Elliott wrote:Any thoughts? :D
I'm thinking about going on hoilidays right now :)

Posted: Fri Jan 06, 2006 3:02 pm
by Steve Elliott
Not until PNG Alpha is included you're not! :wink:

Seriously, I've used PNG Alpha in another language which I don't want to use anymore (for various reasons).

And using 3d sprites can give the effect of true 3d models - but will run much faster because it's just a flat surface and only 2 polygons per object.

Take a look at my chess program which uses scaling and rotation on the pieces and shadows to give the 3d effect:

http://www.elliottproductions.co.uk/board1.html

Posted: Fri Jan 06, 2006 3:54 pm
by Fred
It should be in v4 ;).

Posted: Fri Jan 06, 2006 3:59 pm
by PB
> Take a look at my chess program [...]
> http://www.elliottproductions.co.uk/board1.html

Looks great! Got this bookmarked to keep an eye on. :)

Posted: Fri Jan 06, 2006 4:30 pm
by Steve Elliott
Thanks! :D

Posted: Sat Jan 07, 2006 8:18 pm
by robleong
Black Knight looks amazing, Steve - can't wait to play the game! :)