mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
77 lines
3.1 KiB
Markdown
77 lines
3.1 KiB
Markdown
# Luanti Android build
|
|
All Luanti builds, including the Android variant, are based on the same code.
|
|
However, additional Java code is used for proper Android integration.
|
|
|
|
## Controls
|
|
|
|
While you're playing the game normally (that is, no menu or inventory is
|
|
shown), the following controls are available:
|
|
* Look around: touch screen and slide finger
|
|
* Tap: Place a node, punch an object or use the selected item (default)
|
|
* Long tap: Dig a node or use the selected item (default)
|
|
* Press back: Pause menu
|
|
* Touch buttons: Press button
|
|
* Buttons:
|
|
|
|
1. Left upper corner: Chat
|
|
2. Right lower corner: Jump
|
|
3. Right lower corner: Crouch
|
|
4. Left lower corner (Joystick): Walk/step...
|
|
5. Left lower corner: Display inventory
|
|
|
|
When a menu or inventory is displayed:
|
|
* Double tap outside menu area: Close menu
|
|
* Press back: Close menu
|
|
* Tap on an item stack: Select that stack
|
|
* Tap on an empty slot: If a stack are selected already, that stack is placed here
|
|
* Drag and drop: Touch stack and hold finger down, move the stack to another
|
|
slot, tap another finger while keeping first finger on screen
|
|
--> places a single item from dragged stack into current (first touched) slot. If a stack is selected, the stack will be split as half and one of the splitted stack will be selected
|
|
|
|
### Limitations
|
|
* Some old Android device only support 2 touch at a time, some game/mod contain button combination that need 3 touch (example: jump + Aux1 + hold)
|
|
* Complicated control can be difficult or impossible on Android device
|
|
|
|
## File Path
|
|
There are some settings especially useful for Android users. The Luanti-wide
|
|
configuration file can usually be found at:
|
|
|
|
* Before 5.4.2:
|
|
* `/sdcard/Minetest/` or `/storage/emulated/0/` if stored on the device
|
|
* `/storage/emulated/(varying folder name)/` if stored on an SD card
|
|
* After 5.4.2:
|
|
* `/sdcard/Android/data/net.minetest.minetest/` or `/storage/emulated/0/Android/data/net.minetest.minetest/` if stored on the device
|
|
* `/storage/emulated/(varying folder name)/Android/data/net.minetest.minetest/` if stored on the SD card
|
|
* [Learn more about Android directory](https://wiki.luanti.org/Accessing_Android_Data_Directory)
|
|
|
|
## Useful settings
|
|
|
|
### gui_scaling
|
|
this is a user-specified scaling factor for the GUI in case main menu is too big or small on your device, try changing this value.
|
|
|
|
### mapblock_limit
|
|
Mobile device generally have less RAM than PC, this setting limit how many mapblock can keep in RAM
|
|
|
|
### fps_limit
|
|
this setting limit max FPS (Frame per second). Default value is 60, which lowest Android device screen refresh rate commonly found, but if you're using an device have lower refresh rate, change this
|
|
|
|
## Requirements
|
|
The recommended system requirements for Luanti are listed below.
|
|
|
|
### CPU
|
|
Supported architectures:
|
|
1. ARMv7
|
|
2. AArch64
|
|
3. x86
|
|
4. x86_64
|
|
|
|
### Recommended
|
|
1. Graphics API: OpenGL ES 2.0
|
|
2. Android version: Android 5 (API Level 21) or newer
|
|
3. Free RAM: 1 GB
|
|
4. Free storage: 500 MB
|
|
|
|
## Rendering
|
|
Unlike on PC, Android devices use OpenGL ES which less powerful than OpenGL, thus
|
|
some shader settings cannot be used on OpenGL ES.
|
|
Changing the graphic driver setting to OpenGL will not work.
|