Directory structure
├─classes C + + source code. Core core of the nucleus.
├─cocosstudio Cocos Studio project file, including all the scene interfaces in the game
├─proj.android Android Project file
│├─jni Android's compiled Mk file and the third-party SDK's so
│├─libs the jar where the third-party SDK is stored
│├─res Android resource file, including icon
│└─SRC Java source code, this project modified some files in Org/cocos2dx/cpp
├─proj.win32 Win32 Project file
│└─res the resources required to compile the EXE, including the icon
├─resources resource File
│├─cfg Game configuration file
│├─res Picture Resources
│└─sound music, sound effects files
└─tools Gadget Set
└─path a gadget used to draw enemy flight routes.
Source code Structure
- Aircraft: Define the aircraft pool, all kinds of aircraft, including: Player aircraft, wingman, will kill wingman, ordinary enemy aircraft, advanced enemy aircraft, small boss, Big Boss.
- Billing: Defines the operator billing-related tool interface.
- Bmob: This game is a weak online game, some features (such as VIP features, score uploads, etc.) need to connect to the server. Here we use the free service provided by bmob.cn, in bmob.cn, you can customize the database table, using the JS Development API function, implement a simple server side. This directory contains some of the interfaces for accessing bmob.cn.
- Bullet: Define bullets, including: shotguns, custom trajectory bullets, tracking missiles, lasers.
- Common: Some common tools, such as reading and writing of archived data, reading and writing of game configuration data, resource preloading tool, statistic Analysis, database reading and writing, sound playing.
- Layer: Various scenes, layers in the game.
- Menu: Menus-related scenes, layers.
- Mode: Defines the rush, infinity, and haste modes.
- Sprite: Commonly used Sprite, such as: Game object base class, explosion, Blood bar, pop-up dialog box, background, can color sprite, etc.
In the next article, we'll explore each of these classes in detail
Imitation "Thunder Fighter" flight shooter Tour Development--Project Overview