"Open source Java Game Framework LIBGDX Special topic" -03-Project development and commissioning

Source: Internet
Author: User
Tags libgdx

    1. Create a LIBGDX Project
      • Download the project configuration tool Gdx-setup.jar
      • Build Project
      • Import Eclipse
        1. Gradle Project, Gradle, Import, File
        2. Select the generated project and click on the build model the first time may be a bit long like this then click Finish
        1. Locate the generated project and find the class for the Main method run Bingo
        1. To automatically package a project is a file called Gradlew, Windows is the Gradlew.bat execution command:
        1. Commands for packaging other types of items are collected:
      • Packaging for the desktop
Gradlew desktop:dist
      • Packaging for Android
Gradlew Android:assemblerelease
      • Packaging for IOS
Gradlew Ios:createipa
      • Packaging for the Web
Gradlew html:dist HTML Debugging then access address: http://localhost:8080/html/Note that there is no need to rerun, just run once, in http://localhost:8080/html/ The page point refresh button is re-deployed. The original is written by Bo Master Le Zhi Editor, the copyright belongs to the Bo owner. The original address http://www.dtblog.cn/1110.html reprint please specify the source!

"Open source Java Game Framework LIBGDX Special topic" -03-Project development and commissioning

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.