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

About iPhone graphics handle problem


About iPhone graphics handle problem

Postby binarybard » May 18, 2009 @ 9:26am

Hi! I'll try to make iPhone Game by EDGELIB.

iPhone add png file to Resources grops. And it creates image pointer of each file. So iPhone handle for gamegraphics to use it.

How can we hadle png format on EDGELIB for iPhone?

And What is method for loading graphic file and animate it on EDGELIB for iPhone. Or Where are samples(information) about it?
binarybard
pm Member
 
Posts: 7
Joined: May 15, 2009 @ 5:00am


Postby edge » May 19, 2009 @ 11:09am

Hi,

Images in EDGELIB are stored in surfaces, E2DSurface and E2DSurfaceRGBA (with an alpha channel). The source code in the Blaster sample (delivered with the SDK) demonstrates how to create and use surfaces to draw images on the screen.

Please note that the Blaster sample is outdated and doesn't use OpenGL to get the best performance on your iPhone. Please follow the OpenGL and 3D tutorial on EDGELIB as well, even if your game only draws 2D images.
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