Cocos2d-x mobile game development Ubuntu
In view of the recent development of mobile games in the study of cocos2d-x, some things in the learning process to make a summary, but also record the learning process, while sharing some project source code to learn with everyone.
For the first time I wrote a series of tutorials, there may be some omissions in the middle. Please remind me of what I saw, so that I can have better experience in development in the future.
In this tutorial, we will share with you the old rules of the luxury edition aircraft wars:
Development Environment: cocos2d-x3.2 Alpha + ubuntu14.04 + eclipse + command line terminal + android
If the engine version is 3.2, more than 3.0 can be run. In a Windows development environment, you only need to create a new project and replace the classes and resources folders in this project, at the same time, write the compiled file to run it.
The main files in classes are as follows. There are not many files, but you can also learn the 3.0 features:
The main scenario in the project is gamescene. The gamelayer layer controls the entire game logic, and other game auxiliary layers are added to the gamelayer layer to form the entire game logic and picture.
Next we will introduce the files one by one, and introduce the design patterns used in game development, this allows you to develop projects with clear and tidy structures based on good design patterns for future development.
The source code will be attached at the end of the tutorial, which is the power of open source, learning together, and making progress together.
Deluxe Edition aircraft war series (1)