Android 2D game engine andengine configuration Environment1.2 Configuring the Environment
in any programming, some software or hardware support is required. Otherwise, there is no hardware software is impossible to exist, and want to write the corresponding language of the program, which requires the corresponding language library and compiler support. So in the open andengine Game also need these things, and we need the environment have those? This section will decrypt The configuration of the Andengine environment This article is selected from the Android 2D game engine andengine Quick Start Tutorial .
1.2.1 Environmental Requirements
Write Andengine a certain programming environment is required to complete the writing. And in order to debug, need to use the appropriate equipment to be able to debug normally. This section is about the need for a programming environment. This book requires software and hardware devices as follows in this article selected from the Android 2D game engine andengine Quick Start Tutorial .
q One computer: The system installed on the computer must beWindows XP,Windows Vista,Windows 7,Windows 8,Linux(for exampleUbuntu) andMac OS 10.5.8, or the latest version of these types of systems.
qjava SDK : Required jdk must be JDK 6 version above.
qeclipse editing tools.
qandengine and andenginephysicsbox2dextension project file.
q adt android SDK
q one with android system equipment.
because in the domestic Windows The system is widely used and is very easy to use, so this book chooses a typical Windows Platform for Development. Here's How to configure other software under Windows This article is selected from the Android 2D game engine andengine Quick Start Tutorial .
1.2.2 ConfigurationJDK
JDKall calledJava Development Kit(also known asJavadevelopment package), which is used to supportJavathe basis of programming. No matter what the programming, just use theJavathe programming and debugging needs to be installedJDK. JDKAnd It's not the same as a dust,JDKThere are many versions, and there are some differences between the versions. For now, the largest version of the use should beJDK 6and theJDK 7, and we're going to explain this here basedJDK 8of theAndengineuse of the engine.
1. Download the required JDK
(1) DownloadJDK, from the URL tohttp://www.oracle.com/technetwork/java/javase/downloads/index.htmlof theOraclewebsite to download the installation package. 1.2, under this pageOraclewill provide the latest version ofJDKDownload the connection. The author is now using the8u20version, the reader friend may have a newer version when downloading. In the figure1.2Click the arrow in the box to enter the download pageThis article is selected fromAndroid 2D game engine andengine Quick Start Tutorial.
Figure 1 . 2 JDK Download (a)
(2) Select the downloaded installation package. Scroll down the wheel after entering the download page to see1.3the interface shown below. This provides the different versions of the current version in different systemsJDK, readers need to choose according to their own needs. You need to agree before you choose to downloadOracleusing the protocol, clickAccept Licens Agreementbefore the circle, that is deemed to agree to the agreement. Then select click on the desired version to start the download, this book has selectedWindows x64version ofJDK,1.3, clickJdk-8u20-windows-x64.exeStart DownloadThis article is selected fromAndroid 2D game engine andengine Quick Start Tutorial.
Figure 1 . 3 Download JDK(ii)
Android 2D game engine andengine configuration environment