3D tower defense game implements 1.2 3D map view control tool, 3d1. 2
(Feekood language introduction and study)
Http://www.wooyoogame.com/doc/index (learning)
Http://www.wooyoogame.com (home)
Http://www.feekood.com/(Development page)
After completing the 3D map in the previous microblog, let's take a look at how to control the 3D map perspective.
Control tool implementation diagram:
This control tool is not described in detail because it involves part of the UI and genie content. You can directly upload it to your own folder for reference.
Download source code:
Baidu Network Disk link: http://pan.baidu.com/s/1jGpD2BW password: 7smj
Usage:
Directly create a folder to upload all the files, and then run "UiPanel. ais.
After uploading:
After "UiPanel. ais" is directly enabled, the effect is as follows:
If you want to integrate with other content, you can directly
Include ("UiPanel. ais"); // path of UiPanel. ais
Next we will integrate the 3D map in the previous article with the tool:
First look at the folder level:
1. Comment out Include ("testBox. ais") in "UiPanel. ais ");
2. Directly reference "UiPanel. ais" in the "3D map/MainMap. ais" script of the 3D map ".
Include ("MapBase. ais "); // introduce the basic map file include (".. /navcontrol/UiPanel. ais "); // create ({}:: MapA) from the application perspective file; // create a map, for inheritance
3. Final Results