I have a game that I need to add play options to.
On the iPhone, the Flip View (click on the little “i”) and the view rotates from front to back.
On the iPad, a view slides up from the bottom.
Is there a way of implementing either of these features?
I also need a slider switch.
Is this available, same code or a concept that I can use to implement this. [import]uid: 6069 topic_id: 1062 reply_id: 301062[/import]
For flip view, I am doing an experiment, because of lacks of 3D transformation in CORONA SDK. But, there is a trick to simulate this behavior. I am working on it as other Native UI interface behaviors.
where object is your current graphic object. You have to set up your object, out of the screenlimits like I put above.
Then you have to call transition.to to animate the slide. In this case I am specifying target y position to be 0, or your desired position on the screen.
So, basically you can play around this function to animate transitions.