Axmol Engine – A Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games. (A radical fork of Cocos2d-x-4.0)
Go to file
Darragh Coy df3c449b4f Fix for loading custom fonts on iOS when referenced from a CocosBuilder CCB file
Fix up how fonts are loaded in Cocos2dx for iOS to work transparently with custom font filenames/paths such as 'MyCustomFont.ttf' or 'fonts/MyCustomFont.ttf'. Referring to fonts by these paths would be OK on Android but can't be used on iOS since fonts must be referred to by family name on iOS; we must use 'MyCustomFont' when referring to that particular font in both examples on iOS. Hence add the code to strip out the folder path and extension on iOS so that the font path 'MyCustomFont.ttf' and 'fonts/MyCustomFont.ttf' can be used transparently across all platforms. This is required especially in the case where we have custom fonts being referenced from CCB files, since CCB files store the font names with the .ttf extension included.
2013-03-04 15:32:24 -08:00
CocosDenshion Merge pull request #2076 from sbc100/cocos_nacl 2013-03-03 18:24:04 -08:00
cocos2dx Fix for loading custom fonts on iOS when referenced from a CocosBuilder CCB file 2013-03-04 15:32:24 -08:00
document update version in doxygen configuration 2012-12-04 16:50:14 +08:00
extensions Merge pull request #2084 from young40/master 2013-03-03 19:10:20 -08:00
external Add new port: Native Client 2013-03-02 12:15:24 -08:00
licenses issue #1555:update to v2.1 beta3 2012-11-14 18:05:15 +08:00
samples Add new port: Native Client 2013-03-02 12:15:24 -08:00
scripting Add new port: Native Client 2013-03-02 12:15:24 -08:00
template Corrected Missing ccUTF8.h & ccUTF8.cpp File Links 2013-02-28 17:00:22 +04:00
tools Add missing ccGLServerState to CCNode.pkg. 2013-03-02 11:28:04 -08:00
.gitignore Add new port: Native Client 2013-03-02 12:15:24 -08:00
.gitmodules Moved the submodule of cocos2d-js-tests and renamed it to Shared. 2012-12-20 11:30:18 +08:00
AUTHORS Update AUTHORS 2013-03-04 11:16:11 +08:00
CHANGELOG fix some repo 2013-01-28 19:44:07 +08:00
README.mdown Add new port: Native Client 2013-03-02 12:15:24 -08:00
build-nacl.sh Add new port: Native Client 2013-03-02 12:15:24 -08:00
build-win32.bat return to current directory after run 2013-03-03 16:38:25 +04:00
cocos2d-win32.vc2010.sln Adds AssetsManager support for win32. 2013-02-25 18:03:38 +08:00
cocos2d-win32.vc2012.sln Adds AssetsManagerTest in cocos2d-win32.vc2012.sln. 2013-02-25 19:09:19 +08:00
create-android-project.bat Added library dependence for create-android-project script. 2012-09-25 22:12:14 +08:00
create-android-project.sh Added library dependence for create-android-project script. 2012-09-25 22:12:14 +08:00
create-blackberry-project.sh Renamed create-qnx-project.sh(.vbs) to create-blackberry-project.sh(.vbs). 2012-08-24 22:40:05 +08:00
create-blackberry-project.vbs Renamed create-qnx-project.sh(.vbs) to create-blackberry-project.sh(.vbs). 2012-08-24 22:40:05 +08:00
install-templates-msvc.bat Add VS2012 Express For Windows Desktop support in install-templiates-msvc.bat 2013-02-23 21:21:58 +08:00
install-templates-xcode.sh Adding xcode template for cocos2dx-js 2012-08-31 12:07:58 -07:00
make-all-linux-project.sh issue #1733: Updated make-all-linux-project.sh 2013-02-19 18:08:19 +08:00

README.mdown

cocos2d-x

cocos2d-x is a multi-platform 2D game framework in C++, branched on cocos2d-iphone and licensed under MIT. The master branch on github uses OpenGL ES 1.1 rendering, while gles20 branch uses OpenGL ES 2.0 rendering. Currently we focus on gles20 developmenet.

Supported Platforms

  • iOS: stable, well tested on iOS 5.x ~ 6.x SDK.
  • Android: stable, well tested on 2.0~4.x, ndk r5 ~ r8. If you use gles20 branch or cocos2d-x v2.0 above, only android 2.3 and higher are supported
  • Windows Phone 8 and Win8 Metro: stable, it's in another repo http://github.com/cocos2d-x/cocos2dx-win8.
  • Bada: cocos2d-x v1.x supports Bada SDK 1.0 & 2.0. Bada support was deprecated since cocos2d-x v2.0.
  • BlackBerry: stable, contribued by staffs in RIM, supports Playbook & BB10.
  • Marmalade: stable since cocos2d-x v0.11.0, contributed by Marmalade's staff.
  • Native Client (NaCl): contributed by the Native Client authors.
  • Windows: stable, well tested on WinXP/Vista/Win7. Please upgrde the drive of your video card if you meet problems on OpenGL functions
  • Linux: support but not very stable.

You can visit our continuous integration system http://ci.cocos2d-x.org to check the stability on edge version.

Supported Programming Languages

  • C++ is the major programming language of cocos2d-x. Tons of top-chart cocos2d-x games were written in C++.
  • Lua binding is also widely used. Glu mobile, Zynga, UCWEB, 4399, Renren Games are using lua on cocos2d-x.
  • Javascript binding is our recommendation since 2012 H2. Cocos2d community are cooperating on the same Javasciprt API on cocos2d-iphone/-x/-html5.

Documentations

Contact us