As the topic says…
which of them work on both platforms?
Both works on all platforms
Just to take note that
cc.EditBox
is a DOM element which will always on top of other node.
cc.ClippingNode can’t mask it, so you have to manual control the visibility of EditBox.
Scrolling on the layer of multiple EditBox is not so smooth.
The benefit of EditBox is you can edit the text and know current insert position to the input field.
ccui.TextField
cc.ClippingNode can masking the TextField and performance is better when scrolling.
The problem is you can’t edit the text at any index you want.
You have to remove all the text and retype.
1 Like
Ok Thanks Guys…
I was doing it wrong…
It seems i have to use Scale9Sprite Object as the background not Sprite