Page 1 of 1

need help to draw png image

PostPosted: Dec 22, 2007 @ 3:44pm
by zarina
Hey all,

am developing a small game using EDGELIB. I am almost done with my basics, now i want to draw my png files on the screen. I dnt know what function to use. Can any body share some tips/codes to draw a png file using EDGELIB. Currently am working for windows desktop profile.

Zarina

PostPosted: Dec 22, 2007 @ 11:48pm
by Dan East

PostPosted: Dec 23, 2007 @ 10:02am
by zarina

PostPosted: Dec 23, 2007 @ 11:54am
by zarina

PostPosted: Dec 23, 2007 @ 2:53pm
by edge

PostPosted: Dec 25, 2007 @ 7:56am
by zarina
Thank you for your reply Edge

But that is not the problem. I tried your code as well still its not working :( !!

I am using the trial version of EDGELIB SDK 3.20 and using the edgelib builder (beta 9) to compile and execute my program.

PostPosted: Dec 25, 2007 @ 8:13am
by zarina

PostPosted: Dec 27, 2007 @ 12:56pm
by edge
Hi Zarina,

It probably doesn't work because the *display object of your ClassBuffer class doesn't point anywhere. I recommend to simplify things a bit and put my code into OnDisplayInit or OnNextFrame directly.