SupunArunoda / nethack-android

Automatically exported from code.google.com/p/nethack-android
0 stars 0 forks source link

Feature Request: use touchscreen to navigate, ala angband #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
One app that might be worth looking at for inspiration is angband:

http://www.androlib.com/android.application.org-angdroid-angband-jAwj.aspx

One thing that angband does is allow the user to navigate by splitting the
touchscreen up into 9 zones:

  |  |  
--------
  |  |  
--------
  |  | 

The outer zones correspond to the 8 directional controls, and the center is
free for some other key ("." for instance). 

It seems like a pretty nice system. 

Original issue reported on code.google.com by davidkwood@gmail.com on 20 Oct 2009 at 6:04

GoogleCodeExporter commented 8 years ago
Yes, I have tried the Android version of Angband and quite liked that aspect of 
their
interface. Somebody else suggested looking at kMoria for PalmOS, which appears 
to do
something similar. But, I didn't have time to get anything like that in for 
version
1.1.1, maybe the next update.

Original comment by farnst...@gmail.com on 21 Oct 2009 at 9:58

GoogleCodeExporter commented 8 years ago
how would you pan the dungeon? I'd rather see a large enough font that I can
accurately tap to 'travel'.

Original comment by rickm...@gmail.com on 27 Jan 2010 at 8:26

GoogleCodeExporter commented 8 years ago
I also thought a custom keyboard would work too. have the main page contain all 
the movement stuff with numpad mode on so that it has

789<
456>
123

for movement, and maybe some other movement related keys, then a button to go 
to keyboard mode for functions, etc.

Original comment by maora...@gmail.com on 23 Aug 2010 at 4:22

GoogleCodeExporter commented 8 years ago
I have implemented a solution in the new release 1.3.2. The grid approach is 
used by default when you tap the screen, but you can also do a long press which 
is interpreted as a mouse click by the NetHack code, activating the 'travel' 
function. You can also reconfigure this a bit through the preferences menu if 
you want to just tap to travel. Furthermore, both of these methods of movement 
have some context-sensitivity, so you can open/kick doors, search, drink from a 
fountain, go up/down, etc without using the keys.

There is no separate on-screen numpad mode yet, though.

Original comment by farnst...@gmail.com on 26 Aug 2010 at 9:53