3D tower defense game implements 1.2 3D map view control tool, 3d1. 2

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.