Skip to content

sdsgit/cocos2d-x

 
 

Repository files navigation

cocos2d-x

How to build for WinRT (Windows 8.0)

  1. Use the master branch

    git checkout master

  2. You will need to checkout the git submodules before building the winrt project

    git submodule init

    git submodule update

  3. Use the cocos2d-winrt.vc2012.sln solution to build the WinRT cocos2d-x and sample projects

  4. Use the cocos2d-wp8.vc2012.sln solution to build the Windows Phone 8.0 cocos2d-x and sample projects Support for Windows Phone 8 device rotation will be available soon.

  5. Open the cocos2d-winrt.vc2012.sln solution in Visual Studio 2013 and update all of the projects to build the WinRT cocos2d-x and sample projects for Windows 8.1.

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 2.0 rendering, while the old gles11 branch uses OpenGL ES 1.1 rendering. Currently we focus on gles20 development.

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 Windows Store Apps (WinRT)
  • Bada: cocos2d-x v1.x supports Bada SDK 1.0 & 2.0. Bada support was deprecated since cocos2d-x v2.0.
  • BlackBerry: stable, contributed 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.
  • Emscripten: Alpha-level. Most features implemented. Needs testing. Contributed by Zynga staff.
  • Tizen: Experimental. Essential features implemented. Needs more implementing. Contributed by Lee, Jae-Hong.

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

About

cocos2d for iOS, Android, Win32 and OS X. Built using C++

Resources

Stars

Watchers

Forks

Packages

No packages published