Sync the APIs of HTML5 to the JSB (01)
Sync the APIs of HTML5 to the JSB (01)
Refactor #2801 [Closed]
ludingping 2013-09-12 01:56
. Updated about 10 years ago
- cc.RectMake, cc.SizeMake and cc.PointMake should be removed from Cocos2d-html5. These APIs are not supported by JSB.
- SimpleAudioEngine <~~> AudioEngine preloadSound <~~> preloadBackGroundMusic
- EditBox <~~> EditBox S: H5 uses isPushed and doesAdjustBackgroundImage. S: H5 add setFontName and setFontSize. H5 add setPlaceholderFontName and setPlaceholderFontSize.
- BuilderReader <~~> BuilderReader S:H5 change local variable from *actionManager to*animationManager
- TileMapAtlas <~~> TileMapAtlas S: H5 should use getTileAt.
- Sequence <~~> Sequence initOneTwo <-> initWithTwoActions S: H5 change to initWithTwoActions.