I am about 1/3 of the way coding my game in cocos2d and I’m just frustrated with the amount of code I need to do just to do basic things; some things like scrolling layers/nodes are not included by default and you need to use third-party solutions to resolve them – even these are sometimes not good enough.
Anyway, what I’d like to know before I make the jump to corona are graphical related questions. They come from the mindset of cocos2d so I’m hoping you guys will understand what I’m after.
- Can I scroll layers using Corona?
By this I mean scroll a menu or layer in a given viewport of the screen.
Currently in cocos2d, I use a 3rd party extension which allows me to slide layers/menus horizontally but not vertically.
I found some stuff in the API about scrolling, but they don’t seem to relate to scrolling a layer.
Thus, can I scroll layers/menus using corona both vertically and horizontally?
- Can I clip a node or viewport?
My game relies heavily on modal views (pop-ups), I’d like to have assets, menus, and especially scrollable layers to appear on the modal – but crucially not spill outside the confidents of the modal’s bounding box.
I had a look in the API page but could not find anything relating to clipping nodes, or clipping viewports.
Thanks for this. [import]uid: 13559 topic_id: 29716 reply_id: 329716[/import]