This site is no longer active and is available for archival purposes only. Registration and login is disabled.

need help to draw png image


need help to draw png image

Postby zarina » Dec 22, 2007 @ 3:44pm

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
zarina
pm Member
 
Posts: 10
Joined: Nov 22, 2007 @ 5:18pm
Location: Bangalore


Postby Dan East » Dec 22, 2007 @ 11:48pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby zarina » Dec 23, 2007 @ 10:02am

zarina
pm Member
 
Posts: 10
Joined: Nov 22, 2007 @ 5:18pm
Location: Bangalore


Postby zarina » Dec 23, 2007 @ 11:54am

zarina
pm Member
 
Posts: 10
Joined: Nov 22, 2007 @ 5:18pm
Location: Bangalore


Postby edge » Dec 23, 2007 @ 2:53pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby zarina » Dec 25, 2007 @ 7:56am

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.
zarina
pm Member
 
Posts: 10
Joined: Nov 22, 2007 @ 5:18pm
Location: Bangalore


Postby zarina » Dec 25, 2007 @ 8:13am

zarina
pm Member
 
Posts: 10
Joined: Nov 22, 2007 @ 5:18pm
Location: Bangalore


Postby edge » Dec 27, 2007 @ 12:56pm

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.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron