Difference between revisions of "Android"

From RogueBasin
Jump to navigation Jump to search
m
Line 5: Line 5:
Roguelikes available for Android include:
Roguelikes available for Android include:


* [[Ananias]], designed from the ground up for mobile devices
* [[Legends of Yore]], a commercial roguelike designed primarily for mobile devices
* [[Legends of Yore]], a commercial roguelike designed primarily for mobile devices
* [[Dweller]], an old roguelike designed primarily for mobile devices
* [[Dweller]], an old roguelike designed primarily for mobile devices

Revision as of 16:51, 18 October 2015

Android is a popular Linux-based operating system for mobile devices such as smartphones and tablet computers, developed by Google and other companies.

Available roguelikes

Roguelikes available for Android include:

Designing roguelikes for Android

There are many different kinds of Android devices. Some of them have keyboards and/or a large number of hardware buttons (which can be used e.g. for directional movement), but some have only touchscreens and the most basic hardware buttons. Therefore it is good to make them playable with as simple control system as possible. Traditional roguelikes use lots of keyboard command and they are hard to play on Android, although there are ports of NetHack and Angband available.

Android development

Android applications (.apk) are written in Java (you need the Android SDK). It is also possible to use JNI (Java Native Interface) to have a Java frontend communicating with a game written in a language such as C or C++ (you need the Android NDK for that). This allows one to port traditional C/C++ roguelikes to Android. This trick is used by several games mentioned above (NetHack, Angband, Hydra Slayer, Hyperbolic Rogue, Dungeon Crawl).