views:

61

answers:

1

On iOS if I want to overlay two views and then blend from one scene to another.

E.g.: From menu of a game to the actual game. Have menu first, then on click ("start game") load game view and have a nice blend/transform from the menu to the game stage.

This is not a specific question for blending but on how to handle multiple views in an OpenGL application. I have read and played with some basics on how to draw lines, objects, lightning, colors and similar but I'm completely green when it comes to putting it all together in a real (not just one static view) OpenGLES Application. I mean you have to use different views, right ? Or is this design pattern with different viewcontrollers and views that we all got used to in our everyday UIKit programming not applicable when it comes to OpenGLES ? Cause I just can't make it happen. And I can't find any examples.

+1  A: 

Well I found what I was looking for in cocos2d for iphone

It gives you layers, scene transitions, ready to go menus, sprites, etc.. So I stopped bothering on how to do that and just use cocos now.

Don't hesitate if you are new to OpenGL as well, it will make your life 147* times easier. And btw... you can also combine it with 3d.

Allisone