Skip to content

Latest commit

 

History

History
16 lines (7 loc) · 708 Bytes

File metadata and controls

16 lines (7 loc) · 708 Bytes

2.3 Step 3:Use Controls

In Cocos Studio, the widgets is the basic element of a game, all the game scenes are composed by the widgets, in sample project (DifficultSelect.csd), we use a variety of widgets,such as sprite(title background), button(raids button, attack button), 9-sliced image (earth yellow background).

Image

Cocos Studio offers a variety of widgets to help users create complex game scenes: button,check box, sprite, 9-slice sprite, fonts and label, progress bar, slider, etc. By this section are going to teach you how to use them.

Scene Graph

Use Canvas

Position and Layout