Create project 1. go to https://jmonkeyengine.org/start/ 2. enter project name check ckeckbox andoid and download project 3. extract archive 4. open terminal 5. cd path_to_project 6. sudo nano local properties enter sdk.dir=/home/ivan/Android/Sdk save Singn application 1. run in termianl 2. keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 3. Place my-release-key.keystore which you generated in Step 1 under project/app 4. Update your gradle.properties under project and add the following MYAPP_RELEASE_STORE_FILE=my-release-key.keystore MYAPP_RELEASE_KEY_ALIAS=my-key-alias MYAPP_RELEASE_STORE_PASSWORD=<The password you choose earlier with the keytool> MYAPP_RELEASE_KEY_PASSWORD=<The password you choose earlier with the keytool> 5. Finally you need to update your project/app/build.gradle . android { ... defaultConfig { ... } signi...
package tests; import com.jme3.app.SimpleApplication; import com.jme3.light.AmbientLight; import com.jme3.light.DirectionalLight; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.math.Vector3f; import com.jme3.renderer.RenderManager; import com.jme3.scene.Geometry; import com.jme3.scene.Spatial; import com.jme3.scene.shape.Box; /** * This is the Main Class of your Game. It should boot up your game and do initial initialisation * Move your Logic into AppStates or Controls or other java classes */ public class Tests extends SimpleApplication { public static void main(String[] args) { Tests app = new Tests(); app.setShowSettings(false); //Settings dialog not supported on mac app.start(); } private float interp = 0.0f; private float mySpeed = 2.0f; Spatial player...
Комментарии
Отправить комментарий