Difference between revisions of "Android"

From RogueBasin
Jump to navigation Jump to search
(removed extra blank line after Voyage to follow R2's original formatting)
Line 12: Line 12:
* [[NetHack]] and [[Angband]] have Android ports
* [[NetHack]] and [[Angband]] have Android ports
* [[Voyage to Farland]], an Android-exclusive Mystery Dungeon style roguelike
* [[Voyage to Farland]], an Android-exclusive Mystery Dungeon style roguelike
* [[Dungeon Crawl]]


* 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]
Line 21: Line 22:
== Android development ==
== 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]]).
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]]).

Revision as of 13:27, 11 October 2012

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