Cocos Creator API

1.4.x

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

sys static

Module: cc

System variables

Properties

LANGUAGE_ENGLISH String readOnly

English language code

LANGUAGE_CHINESE String readOnly

Chinese language code

LANGUAGE_FRENCH String readOnly

French language code

LANGUAGE_ITALIAN String readOnly

Italian language code

LANGUAGE_GERMAN String readOnly

German language code

LANGUAGE_SPANISH String readOnly

Spanish language code

LANGUAGE_DUTCH String readOnly

Spanish language code

LANGUAGE_RUSSIAN String readOnly

Russian language code

LANGUAGE_KOREAN String readOnly

Korean language code

LANGUAGE_JAPANESE String readOnly

Japanese language code

LANGUAGE_HUNGARIAN String readOnly

Hungarian language code

LANGUAGE_PORTUGUESE String readOnly

Portuguese language code

LANGUAGE_ARABIC String readOnly

Arabic language code

LANGUAGE_NORWEGIAN String readOnly

Norwegian language code

LANGUAGE_POLISH String readOnly

Polish language code

LANGUAGE_TURKISH String readOnly

Turkish language code

LANGUAGE_UKRAINIAN String readOnly

Ukrainian language code

LANGUAGE_ROMANIAN String readOnly

Romanian language code

LANGUAGE_BULGARIAN String readOnly

Bulgarian language code

LANGUAGE_UNKNOWN String readOnly

Unknown language code

OS_IOS String readOnly

OS_ANDROID String readOnly

OS_WINDOWS String readOnly

OS_MARMALADE String readOnly

OS_LINUX String readOnly

OS_BADA String readOnly

OS_BLACKBERRY String readOnly

OS_OSX String readOnly

OS_WP8 String readOnly

OS_WINRT String readOnly

OS_UNKNOWN String readOnly

UNKNOWN Number readOnly

WIN32 Number readOnly

LINUX Number readOnly

MACOS Number readOnly

ANDROID Number readOnly

IPHONE Number readOnly