Saturday, January 17, 2015

[Tutorial] Cocos2d-x: Menu, from basic to advanced

Now, let's start. Create a new Project named Menu as follow, using cmd  >cocos new menu -p com.vn.menu -l cpp -d f:android/project After new Project is created, you should run this command >cocos compile -s f:android/project/menu -p win32 This is the first compile, purpose is linking to libraries in Engine. The first time to compile is so long. The next compile will be much faster because we only change some in Class and Resource. Step...

Posted By Live Blog11:21 PM

Tuesday, January 13, 2015

[Tutorial] Ball - Basic Physics in cocos2d-x

Let's start First, create a new project using cmd >cocos new Ball -p com.vn.Ball -l cpp -d E:/android/project Explain a bit, the above command will create a Project named Ball in folder E:/android/project -p com.vn.Ball is the syntax of package. You can change a bit but must have 2 dots (.) like above.  -l cpp: is the choice of C++ -d E:/android/project: is the folder that Project save...

Posted By Live Blog11:39 PM

[Tutorial] Hello cocos2d-x. The first code - Hello World!

Filled under:

A - Create and run Project First, create a new project named HelloWorld using cmd Run/cmd >cocos new HelloWorld -p com.vn.HelloWorld -l cpp - d E:/android/myproject Wait for 5 minutes to create new Project... It's done. Go to new project in the following path E:/android/myproject/helloworld You can see the folder structure as follow: Classes <- The most important, contains cpp or lua upon to your...

Posted By Live Blog6:49 PM

Monday, January 12, 2015

[Tutorial] How to setup Cocos2d - x V3.0 FINAL on Window OS step-by-step, 100% Working

Filled under:

Setup this Engine is really difficult to many one, because of not simple as running only file setup.exe, then Next, Next, finish. It requires system configuration, and setup auxiliaries for running. And running it also works through an editor program (like Visual Studio).  ...

Posted By Live Blog8:31 PM

Choose an Android item