Developers Manual > Cocos Studio > Scene Editor > Scene Component > Scene Component TMXTitledMap

Scene Component TMXTitledMap

Icon

Description

The TMXTitleMap component contains the function of rendering a tmx type file. After binding to a TMXTitleMap component, a NULL object will be modified to a TMXTitleMap object.

Properties

For more information, see Scene component general properties.

Feature

Name

The MapComponent’s name, which can let us get component in programs (getComponent). The component’s name can be amended and the default name is CCTMXTiledMap.

MapFile

The path of the tmx file.

5-3-3-img-01.png (1.8 kB) hanrea@qq.com, 2013-12-04 08:27

5-3-3-img-02.png (5.3 kB) hanrea@qq.com, 2013-12-04 08:27

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.