I have 320 x 640 test tile map which I only want half the area of (160 x 320) visible on screen at a time and let the rest scroll into view when the player moves accordingly. I have the following relevant lines of code:
CCScene.SetDefaultDesignResolution (160.0f, 320.0f, CCSceneResolutionPolicy.ShowAll); RunAction(new CCFollow(sprite, new CCRect(0, 0, 320.0f, 640.0f)));
This does scroll the map but the scrolled in content is blank (black screen). Please can someone help me understand how to go about doing this the right way with code example?