Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 16, 2011, 15:21   #1
AltF4
Rookie
 
Join Date: Oct 2010
Posts: 9
AltF4 is on a distinguished road
Movement Delay Bug [3.3.1]

Version: Angband 3.3.1
OS: Ubuntu 11.04
Bug:
If movement delay is set to anything other than 0, I must double tap the directional keys to move straight, or I can move diagonally. If I set movement delay 0 I lose the ability to move diagonally but the weird double tap issue disappears.

I never played 3.3.0 so I can't say if the bug existed in it but it most definitely did not exist in 3.2.0

I searched the forums and I couldn't find anything on my exact problem. There were what seemed like similar issues but the suggested solution of setting movement delay to 0 is not much better than playing with the delay. Either I can't move diagonally or moving straight is a pain.

Current work around:
I have made two keymaps one sets movement delay to 1 the other sets movement delay to 0.

Keymap for delay of 0:
=i0[Enter][Escape]
Keymap for delay of 1:
=i1[Enter][Escape]
Note: '=' is part of the keymap.
AltF4 is offline   Reply With Quote
Old October 16, 2011, 19:14   #2
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,025
fizzix is on a distinguished road
this is true on windows also.
fizzix is offline   Reply With Quote
Old October 16, 2011, 20:08   #3
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,110
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by fizzix View Post
this is true on windows also.
This appears to say that movement is broken in every case: if delay != 0 then it's broken for cardinal directions, and if it is 0 it's broken for diagonal movement. Is that what you both mean? I can't reproduce that if so.
__________________
"Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles
Magnate is offline   Reply With Quote
Old October 16, 2011, 20:09   #4
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,025
fizzix is on a distinguished road
Quote:
Originally Posted by Magnate View Post
This appears to say that movement is broken in every case: if delay != 0 then it's broken for cardinal directions, and if it is 0 it's broken for diagonal movement. Is that what you both mean? I can't reproduce that if so.
diagonal movements that are made with 2 keypresses, across and up.
fizzix is offline   Reply With Quote
Old October 16, 2011, 20:10   #5
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,110
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by fizzix View Post
diagonal movements that are made with 2 keypresses, across and up.
Nope, still not with you. I move diagonally by pressing 1, 3, 7 or 9. You do it with two keys??
__________________
"Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles
Magnate is offline   Reply With Quote
Old October 16, 2011, 20:33   #6
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 958
Nomad is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Nope, still not with you. I move diagonally by pressing 1, 3, 7 or 9. You do it with two keys??
Using the actual arrow keys rather than the numpad, I assume. I use numpad diagonals too, but from what I gather, setting a movement delay allows the across and up key presses to register as simultaneous, producing a diagonal.

The bug seems to be that if you set a movement delay, @ doesn't move until the second keypress. So diagonals work because two key presses are registered, but cardinal directions require a double tap. I can reproduce this in 3.3.0.

Setting the movement delay to 0 avoids this "double-tap required" bug, but makes it impossible to move diagonally with the two key method, because the keys register as two separate moves one after the other instead of one simultaneous keypress.
Nomad is offline   Reply With Quote
Old October 16, 2011, 20:50   #7
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,110
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Nomad View Post
Using the actual arrow keys rather than the numpad, I assume. I use numpad diagonals too, but from what I gather, setting a movement delay allows the across and up key presses to register as simultaneous, producing a diagonal.

The bug seems to be that if you set a movement delay, @ doesn't move until the second keypress. So diagonals work because two key presses are registered, but cardinal directions require a double tap. I can reproduce this in 3.3.0.

Setting the movement delay to 0 avoids this "double-tap required" bug, but makes it impossible to move diagonally with the two key method, because the keys register as two separate moves one after the other instead of one simultaneous keypress.
Ok, thanks - that's much clearer. This is clearly a bug related to the input layer rewrite, so it's probably not something to hold up the 3.3.2 release, though I'll be happy for takkaria to decide otherwise.
__________________
"Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles
Magnate is offline   Reply With Quote
Old October 16, 2011, 22:40   #8
AltF4
Rookie
 
Join Date: Oct 2010
Posts: 9
AltF4 is on a distinguished road
Slight update. A double tap is not strictly required when movement delay != 0, any non-directional key will activate the previously pressed arrow key.

Quote:
Originally Posted by Magnate View Post
Nope, still not with you. I move diagonally by
pressing 1, 3, 7 or 9. You do it with two keys??
Yes, I do not have a numpad on my laptop so I use the arrow keys. That is why movement delay exists.
AltF4 is offline   Reply With Quote
Old October 16, 2011, 22:42   #9
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,110
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by AltF4 View Post
Yes, I do not have a numpad on my laptop so I use the arrow keys. That is why movement delay exists.
Oh! Thanks - I always wondered. I use the row of numbers when playing on a laptop - I never realised you could use the arrow keys to move diagonally. Ho hum.
__________________
"Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles
Magnate is offline   Reply With Quote
Old October 21, 2011, 08:31   #10
Frood
Rookie
 
Join Date: Dec 2007
Posts: 24
Frood is on a distinguished road
Quote:
Originally Posted by AltF4 View Post
Yes, I do not have a numpad on my laptop so I use the arrow keys. That is why movement delay exists.
Actually, that is what the roguelike keyset is for. (It is also better for playing the game on a full-size keyboard because you don't have to move your hands)
Frood is offline   Reply With Quote
Reply

Tags
3.3.1, bug, linux, movement delay


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug: 3.2.0 movement glitch (minor) Chud Vanilla 3 March 3, 2011 22:35
bug: odd delay issues tummychow Vanilla 6 January 11, 2011 03:02
setting a base delay factor causes my game to crash in 3.1.1 ledcraft Development 5 November 17, 2010 16:30
Latest competition savefile and no delay Timo Pietilä Vanilla 2 May 30, 2010 19:22
Player movement bug while targeting a spell - 3.0.9b JonnyOThan Development 1 December 23, 2009 20:27


All times are GMT +1. The time now is 13:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.