Zoom in

Zoom in
0.0 0


Hello, I have the following scene:

On the iPhone the scene looks ok but on the iPad (or other ratio resolutions) there are parts i want to hide. I made the level larger so to fit all resolutions, but how do i zoom in so that the top and bottom of the level are always at the top and bottom of the screen?

Thank you :smiley:


Anyone? There is no easy solution? Thank you


Look here http://www.cocos2d-x.org/reference/native-cpp/d4/db4/classcocos2d_1_1_c_c_e_g_l_view.html
and here http://www.cocos2d-x.org/reference/native-cpp/db/d7f/classcocos2d_1_1_c_c_director.html#a2dd026136d9be518dc8f796c624585d4


Thank you for the answer but can you show an example please?


Any help? :slight_smile: