Cocos2d-x expands support to Windows 8 Metro

Added by Zhe Wang about 1 year ago

I’m proud to announce that, cocos2d family expands to the an important platform: Windows 8 Metro.

Download

Beta release: http://cocos2d-x.googlecode.com/files/cocos2d-x0.11.0-win8-0.9.1.zip
Github repository: https://github.com/cocos2d-x/cocos2dx-win8

Inheriting the open source spirit from cocos2d, this branch is also open & free under MIT License.

Features:

  • Write Codes in C++, the same framework enables you to port your existing games from Cocos2d-X to Windows 8 easily.
  • Utilises DirectX 11 instead of OpenGL ES 1.1 for rendering. You don't need to know the complexity between these 2 rendering tech.

Document:

TBD

The Cocos2dx-win8 completion is already very high,but features below are semi-finished or TBD in the next version:
  • Chipmunk
  • Accelerometer
  • Rendering layer optimization

Cocos2dx-win8 branch will keep update and sync the translation with cocos2d-iphone & cocos2d-x monthly. Any feedbacks, suggestions, bug reports would be appreciated, please post them into our forum. We’ll create bug tracking from posts. If you release games based on this branch, please let me know.

Hello Windows 8 :)


Comments

Added by Jose Antonio Andujar about 1 year ago

Well done!!!

Another platform for cocos2d-x

Added by Sujit Yadawad about 1 year ago

Job well done really great news. Thanks a lot to team cocos2d-x.

Added by Pedro Sousa about 1 year ago

Great news :)

This is the "trigger" I needed to finally install Win 8 :)

Added by Simon Lin about 1 year ago

So Cool…

I love it !

Added by Yuichi Matta about 1 year ago

You Cool!

Added by Wei-Sung Yeh 12 months ago

I click "Cocos2dx-win8-vs2011-Template.vsi" to install
But Visual Studio 11 Express Say:
"There is no editor availablle for
'D:\xxx-xxx\Cocos2dx-win8-vs2011-Template.vsi'.
Make sure the application for the file type (.vsi) is installed."

Help me.... i try 2 computers.....the same

Should i need install extension for install vsi?????

Thanks a lot

Added by Maxim Grossu 11 months ago

Will these Apps run on Windows RT?

Added by ting-wei Liu 11 months ago

thanks for sharing your game engine.
could i use your project template in Windows 8 Release Preview and Visual Studio 2012 RC?
i got a error message "exception from hresult:0x80070005" when i open Cocos2dx-win8-vs2011-Template.

Added by Emad Ejielat 10 months ago

Is there any progress for this project, and when the templates will be available on visual studio 2012 RC (Windows 8 Release Preview)??

Added by Tamas V 10 months ago

I have downloaded VS 2012 Express RC and win8 version of cocos2dx from https://github.com/cocos2d-x/cocos2dx-win8.
I cannot install template with vsi file, an error box comes with the following:
One or more content items contained in the .vscontent file cannot be installed because the correct version of the content installer component cannot be found. Contact the author of the content file for information about which installers and versions are required.
then
The .vsi or .vscontent file does not contain any installable content, or the file contains errors.

Added by beuzel beuzel 10 months ago

Great and thanks from the community!
Is or will it compatible to cocos2d-x 2.0?

Added by beuzel beuzel 10 months ago

It failed validation for Metro. I found some dependecies for non valid commands in the libraries. Is someone working on this?

Added by Vinh Loc Nguyen 10 months ago

I meet same problem too =.= maybe some of win32 API using by cocos2d-x not support on winRT due to our research

Added by Tamas V 10 months ago

Are you planning to fix these error before win8 launch?

Added by jaysun zhu 10 months ago

I tried to use the same hello world codes under the win8-8400 system, and it run well except for the occurrence of crash after clicking the “close menu” at the right bottom. Meanwhile, under the win8-8520 system, when the codes run into initialization of closing menu, abnormality would incur with enclosed code note as “debugger error”.
On 15th Aug, msds version of win8 will be released. I was wondering whether cocos2dx would reveal a new version.

Added by cp ke 9 months ago

Hello every one, I got some error when I follow the document. And had fix it out.
1、complie error at cocos2dx\platform\win8_metro\DirectXRender.h
public ref class DirectXRender, need to remove public
2、file open error at running time
position: \cocos2dx\platform\win8_metro\CCFileUtils_win8_metro.cpp
\cocos2dx\platform\win8_metro\BasicReaderWriter.cpp
error function: ::CreateFile2
fix: change the secord param 0 to FILE_SHARE_READ

hope useful.
good job!