Is new UI component (e.g.:Button,Widget,CheckBox) replacing old UI component (e.g.:CCMenu, CCSprite)?

Should I use new UI components such as Widget instead of old UI components such as CCMenu and CCMenuItem?

NO,just enhancement in the syntax that is more readable like Menu ,MenuItem etc…

Actually new UI components gives some benefits like ability to respond to screen changes, layouts, some additional features and better API - them intended to be more convenient. Some elements exist only in new UI system (like UIRichText, UIRadioButtonGroup, UIPageView), scroll view has scroll bar…
But i found them slightly heavy (though it may be due to additional complexity of cocostudio components).

1 Like