On Sun, Nov 14, 2010 at 12:33 AM, Mike Wyatt <[email protected]>wrote:
> The GameViewLayer has a ScrollingManager layer as a child, which in turn > contains a ScrollableLayer for the hex map and another for rendering units. > I've implemented my own hex map after having some unrelated trouble with the > built-in HexMapLayer. No custom anchors or scales are being used by any > layers. > > Can you expand about the troubles with HexMapLayer ? There are some desirable changes to go in tilemaps (see by example http://thread.gmane.org/gmane.comp.python.cocos2d.user/1176 ) and, when the time comes to attack that we may as well straighten other things. ... grid transitions. > > I switched to FadeTransition, and that fixed the problem! Thanks Claudio! > > Also, I should mention an important observation: After the > EnvelopeTransition, the "do_not_scale" appears to have been disabled. The > sprite texture pixels weren't perfectly lining up with the screen pixels > anymore. Using a FadeTransition didn't have this problem. > > Scaled sprites after using EnvelopeTransition: > http://img130.imageshack.us/img130/4148/scaledscreenshot.png > > Unscaled sprites after using FadeTransition: > http://img155.imageshack.us/img155/2003/unscaledscreenshot.png > > > ah, ah. thanks, should help with debugging. -- claudio -- 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.
