I'm trying to show a proof of concept app/code to demo updates we plan on making to some of our in-progress apps.
The code will need to interact with the following:
The app should read the xml file (see attached for an idea of the structure) and create views based on that data. It will then modify the views based on accelerometer/gyroscope input and switch between views on a click.
Each view will have several layers, each layer will have:
Horizontal Displacement %
Vertical Displacement %
Each layer will have several resources, each resource will have:
X Position (px relative to layer)
Y Position (px relative to layer)
Url/Src to image (in images folder)
Sound (Optional, can loop 1:n times, or unlimited)
and optional Click/Down/Active settings
(Width,Height, X, Y, Url, Sound)
Action (Load View)
The can contain data for multiple devices, iphone, iphone4, ipad and should load the correct views for the device. You are free to use cocos2d, box2d, core graphics etc as long as the license is free.
The final product should be a working xcode project ready to be tested on ios devices.
I've included an xml file and illustration to try and explain the process further.
If you would like a reference check out the main menu from Fragger DS on the app store.