IOS development: Unity3D game engine construction framework and Export Project

Source: Internet
Author: User

IOS development: Unity3D game engine construction framework and Export Project

First, go to the Unity3D official website http://unity3d.com/. we can see a lot of messages about unity3d. Click DownLoad to start downloading Unity. We recommend that you do not use the DownLoad tool that comes with Safari during downloading, because resumable upload is not supported and foreign websites are unstable. We recommend that you use thunder to download. The latest version is Unity 3.4.1, which supports Xcode 4 perfectly.

After the download is complete, go to Unity. For the first time, you need to go through the registration process. Here we will talk about that the purchase license for Unity 3D is USD 1500. If you want to deploy it on IOS devices, you need to add USD 1500. It is indeed a little expensive. After I purchased the serial number and installed it on my pro, I suddenly felt that my computer was even more expensive ~~ Of course, cheap goods are not good, good goods are not cheap and expensive. No more nonsense. Let's continue ~~ As shown in, click Register to start registration. You can download the cracked version or compile it on the machine. However, the cracked version cannot be uploaded to the APP store, but it can be used for learning. Haha ~~

Select Internet activation and click Next to continue.

Enter the correct email address and company name. If you click "Free", you can try it for 30 days. If you have already purchased a serial number, enter the correct serial number in the prompt box below and click "Activate Unity" to complete registration.

This completes the registration.

Next we will start to enter the Unity3D development world and close the welcome page. We will see a game DEMO that comes with Unity3D. There are many 3D models in the 3D world, in the future, I will slowly lead you to learn how to use the Untiy3D engine models, textures, animations, and so on. it looks very interesting ~~

Single-host running button, we can play this game DEMO on the PC, Untiy3D is really too powerful. The goal of this article is to deploy the Unity 3D engine on IOS devices. Next we will import the game DEMO to the IOS device and play it on the iPhone.

Next we will export this game DEMO as an IOS program.

Click File> Build Settings.

First, make sure that your machine is installed with Xcode 4, the IOS device is connected to the computer, and then the IOS device is selected, the standalone Build and Run. At this time, Unity3D begins to export the game project, please wait for a moment. After the export is successful, Xcode is automatically opened and the exported project is run.

Because the simulator cannot run the Unity3D export project, the device must be connected to mac or cannot run. If you do not have any devices, you can upgrade them to the test run on your computer. If you have any devices, you can directly import the debugged items to your IOS devices ,.

For the project structure exported by Unity3D, check the IOS devices connected to mac.

Haha, the game has been successfully installed. Open the game and play the exported game ~~

In the picture, two buttons are automatically generated for Unity3D in the lower left and lower right, respectively. One is to control the movement of a person and the other is to control the direction of the bullet. I will continue to write some articles on this game engine later ~~ You are welcome to join us in sharing your learning experience ~ Xi ~~

Supplement: How to Use the Unity game engine to run in the IOS simulator:

Previously, MOMO had a misunderstanding that it was always using a real machine to debug the program and thought that the program compiled by Unity cannot be run in the simulator. But no, the simulator can also run IOS programs compiled by Unity.

When compiling IOS programs in Unity, select Edit-> ProjectSettings-> Player (menu item) from the menu of the Unity navigation bar and select IOS platform. In the SDK Version section below, select the IOS simulator as the running device. After the selection is complete, Build and Run.

Run the game in Xcode to open the game simulator.

Related Article

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.