Pit in CoCOS2D-JS —- String Type Sensing. The string type in COOCS-JS must call Parseint to convert to integer, otherwise an error

The string type in coocs-js must be converted to an integer by calling parseInt, otherwise an error occurs

The string type in coocs-js must be called parseInt is converted to an integer, otherwise an error occurs

COCOS2D-X Elf

Create a sprite You can use an image to create a sprite, PNG, JPEG, TIFF, WebP, these formats are all available, of course there are There are some other ways to create sprites, such as using atlas