Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Steve Elliott
Enthusiast
Posts: 109 Joined: Sun Jan 01, 2006 9:34 pm
Location: Wales, UK
Post
by Steve Elliott » Tue Jan 03, 2006 6:51 pm
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.
Berikco
Administrator
Posts: 1326 Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:
Post
by Berikco » Fri Jan 06, 2006 1:25 pm
Steve Elliott wrote: Any thoughts?
I'm thinking about going on hoilidays right now
Steve Elliott
Enthusiast
Posts: 109 Joined: Sun Jan 01, 2006 9:34 pm
Location: Wales, UK
Post
by Steve Elliott » Fri Jan 06, 2006 3:02 pm
Not until PNG Alpha is included you're not!
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
Fred
Administrator
Posts: 18162 Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:
Post
by Fred » Fri Jan 06, 2006 3:54 pm
It should be in v4
.
PB
PureBasic Expert
Posts: 7581 Joined: Fri Apr 25, 2003 5:24 pm
Post
by PB » Fri Jan 06, 2006 3:59 pm
> Take a look at my chess program [...]
>
http://www.elliottproductions.co.uk/board1.html
Looks great! Got this bookmarked to keep an eye on.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
robleong
User
Posts: 38 Joined: Mon May 19, 2003 10:20 pm
Location: San Francisco bay area, California, USA
Contact:
Post
by robleong » Sat Jan 07, 2006 8:18 pm
Black Knight looks amazing, Steve - can't wait to play the game!