I've just started using cocossharp for a little game project that I am working on. I am trying to get it so that I can control how stuff is positioned and looks in both landscape and portrait views. I have 2 designs for the screen, one for portrait and one for landscape. When the phone rotates it should reposition all the elements so that it uses the correct design. Does anyone have any ideas for how to do this?
My current attempt stores metadata against each CCNode that describes its position etc. For each orientation. When an orientation change event fires I call setdesignresolution with the new screensize and recursively call an OnOrientationChanged function that walks the node tree and applies the relevant settings.
The problem that I am having is that CCdrawNodes and CCLabels appear stretched when I change the design resolution. Maybe there is a way to get them to recalculate or will I have to recreate them all? Am I going about this all wrong?