On Sun, Jul 15, 2012 at 7:38 AM, Darkhog <[email protected]> wrote: > I've recently discovered Cocos and after years of trying to figure out > pyGame I can tell you that it is tempting alternative. However I must ask > if there are basic systems that should be in most games here. I know that > collisions and sprite handling is here, but what things like scrolling? I > personally never figured out how to write it from scratch and this is > reinventing wheel anyway. Will I have to reinvent the wheel with Cocos? > -- >
For scrolling probably you will want to use cocos.layer.ScrollableLayer and cocos.layer.ScrollingManager You can see a minimal example for those in test/test_tiles.py test/test_scrolling_manager_without_tiles.py test/test_tmx.py 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.
