README.android 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Minetest: Android version
  2. =========================
  3. Controls
  4. --------
  5. The Android port doesn't support everything you can do on PC due to the
  6. limited capabilities of common devices. What can be done is described
  7. below:
  8. While you're playing the game normally (that is, no menu or inventory is
  9. shown), the following controls are available:
  10. * Look around: touch screen and slide finger
  11. * double tap: place a node or use selected item
  12. * long tap: dig node
  13. * touch shown buttons: press button
  14. * Buttons:
  15. ** left upper corner: chat
  16. ** right lower corner: jump
  17. ** right lower corner: crouch
  18. ** left lower corner: walk/step...
  19. left up right
  20. down
  21. ** left lower corner: display inventory
  22. When a menu or inventory is displayed:
  23. * double tap outside menu area: close menu
  24. * tap on an item stack: select that stack
  25. * tap on an empty slot: if you selected a stack already, that stack is placed here
  26. * drag and drop: touch stack and hold finger down, move the stack to another
  27. slot, tap another finger while keeping first finger on screen
  28. --> places a single item from dragged stack into current (first touched) slot
  29. Special settings
  30. ----------------
  31. There are some settings especially useful for Android users. Minetest's config
  32. file can usually be found at /mnt/sdcard/Minetest.
  33. * gui_scaling: this is a user-specified scaling factor for the GUI- In case
  34. main menu is too big or small on your device, try changing this
  35. value.
  36. Requirements
  37. ------------
  38. In order to build, your PC has to be set up to build Minetest in the usual
  39. manner (see the regular Minetest documentation for how to get this done).
  40. In addition to what is required for Minetest in general, you will need the
  41. following software packages. The version number in parenthesis denotes the
  42. version that was tested at the time this README was drafted; newer/older
  43. versions may or may not work.
  44. * Android SDK 29
  45. * Android NDK r21
  46. * Android Studio 3 [optional]
  47. Additionally, you'll need to have an Internet connection available on the
  48. build system, as the Android build will download some source packages.
  49. Build
  50. -----
  51. The new build system Minetest Android is fully functional and is designed to
  52. speed up and simplify the work, as well as adding the possibility of
  53. cross-platform build.
  54. You can use `./gradlew assemblerelease` or `./gradlew assembledebug` from the
  55. command line or use Android Studio and click the build button.
  56. When using gradlew, the newest NDK will be downloaded and installed
  57. automatically. Or you can create a `local.properties` file and specify
  58. `sdk.dir` and `ndk.dir` yourself.
  59. * In order to make a release build you'll have to have a keystore setup to sign
  60. the resulting apk package. How this is done is not part of this README. There
  61. are different tutorials on the web explaining how to do it
  62. - choose one yourself.
  63. * Once your keystore is setup, enter build/android subdirectory and create a new
  64. file "ant.properties" there. Add following lines to that file:
  65. > key.store=<path to your keystore>
  66. > key.alias=Minetest