New issue
 Projects > js > Issues > Refactor #2801

Sync the APIs of HTML5 to the JSB (01)

Refactor #2801 [Closed]
ludingping 2013-09-12 01:56 . Updated about 3 years ago
  1. cc.RectMake, cc.SizeMake and cc.PointMake should be removed from Cocos2d-html5. These APIs are not supported by JSB.
  2. SimpleAudioEngine <~~> AudioEngine preloadSound <~~> preloadBackGroundMusic
  3. EditBox <~~> EditBox S: H5 uses isPushed and doesAdjustBackgroundImage. S: H5 add setFontName and setFontSize. H5 add setPlaceholderFontName and setPlaceholderFontSize.
  4. BuilderReader <~~> BuilderReader S:H5 change local variable from *actionManager to*animationManager
  5. TileMapAtlas <~~> TileMapAtlas S: H5 should use getTileAt.
  6. Sequence <~~> Sequence initOneTwo <-> initWithTwoActions S: H5 change to initWithTwoActions.
xingsenma 2013-09-13 07:32
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:5d3436754e35ccc0d7a899e18305e9cbb7c26fae.

Atom PDF

Start date:2013-09-12
Due date:
% Done:


Target version:v2.2

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