Actually, I tried to handle that by replacing the original height/ width in the director, and the scrolling manager rendered the correct area of the tiled map, however it doesn't actually scroll correctly. It behaves as if I started with a window of my target size, but I resized the window to my screen size. The view_h and view_w properties of my scrolling manager are set to my target resolution when it is initialized, so there must be something else deeper inside. I'll take a look around when I get home and see what I can find; I'm at work right now. It seems I'm on the right track, I just need to get the scrolling manager working entirely with the target resolution.
One other question though; The overriding of the director's on_draw method seems ugly to me. Is there a clean way to subclass the director to make my adjustments in that fashion? The issue being that the director is already instantiated when you import the module. If I replace director.director with an instance of my subclass, will the other modules pick it up? -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
