Difference between revisions of "Android"

From RogueBasin
Jump to navigation Jump to search
Line 16: Line 16:
* [[Dungeon Crawl]]
* [[Dungeon Crawl]]
* [[Gone Rogue]]
* [[Gone Rogue]]
* [[Bounty Hunter Space Lizard]], a casual roguelike similar to Hoplite


* see more on [http://roguetemple.com/irldb/index.php?i=5451bc&plat=droid IRLDb]
* see more on [http://roguetemple.com/irldb/index.php?i=5451bc&plat=droid IRLDb]

Revision as of 15:50, 16 October 2019

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).