Reputation: 1546
I'm a newbie in Cocos2d-x. I read instruction to build samples and did successfully. However, I want to create my own project which can be able to run on Android. Can you give me a detail tutorial such as how to create project, how to implement classes, resources, etc.
In addition,I'm developing in Windows 7, so I can't setup X-Code like this tutorial. Are there any other solutions?
http://www.raywenderlich.com/33752/cocos2d-x-tutorial-for-ios-and-android-space-game
Thank you so much
Upvotes: 0
Views: 2256
Reputation: 647
you can check this useful link: http://www.codeproject.com/Articles/802626/Writing-Games-with-Cplusplus-for-Android-on-a-PC-S
Upvotes: 2
Reputation: 6682
I have answer the similar question here.
Following step can create multi-platform project,include Android:
create_project.py -project YourProjectName -package com.example.PakcageName -language cpp
-language option:[cpp | lua | javascript]
Your project will be created in cocos2d-x-2.1.5\projects
Then find the proj.android
, and import into Eclipse.
Upvotes: 1
Reputation: 1546
I found the solution. It includes these steps:
At this time, I just develop by Notepad++ and use Eclipse to build. I'm finding a way to debug.
Upvotes: 0