Mouse-up buttons in kingdom

All things Desktop Dungeons

Mouse-up buttons in kingdom

Postby zeemeerman2 on Sat Jun 01, 2013 1:27 am

Hello all,

Desktop Dungeons Kingdom Management is full of mouse-down buttons, which seem counter-intuitive to me and can lead to a user error.
A registered click in many, if not all buttons in the Windows/Mac UI, has two rules, not one:

1. The user presses his finger down while hovering with the cursor above the button (aka mouse-down)
At this moment, when the user moves his cursor while still pressing down on the mouse, the user performs a "drag", for uses most often found in drag and drop actions.

2. The user releases the mouse button while still hovering on the same button (aka mouse-up)
After both 1 and 2 are done, a click is registered by the system.

You may notice two sub-rules, mostly to guide people not used to working with computers imo, but also great for some other situations:
a. There can be many seconds between a mouse-down and mouse-up; holding the mouse down for five full seconds, then releasing it, will also register in a click. Holding the mouse down can be used as a tool of doubt or validation for users in Desktop Dungeons kingdom management. E.g. you hold down the mouse button on the Assassin button, then ask yourself "Do I really want to play as an Assassin? Isn't Rogue a better option for this dungeon?" If not, release the button. If yes, drag away, then click on the Rogue button.
b. A user usually can move a small amount of pixels in either direction (between ~5 and ~12 pixels) before the input is registered as a drag.
This allows for people with not that steady hands, or not have the hand-eye co-ordination that many of us have, to still control the system without much of a problem.

I assume you want to try this yourself, so please go ahead. Look how buttons are reacting when you just do a mouse-down action. And when you do a mouse-up action. And how far you can drag the button before the system registers your action as a drag.

In the desktop dungeons kingdom management, most if not all buttons are registered at mouse-down, not at mouse-up. Strangely enough, the buttons inside the dungeons itself work with a mouse-up click, all feeling much more natural.
It is one of those quirks that feel just off, and might be changed with a simple coding change.

Thanks for your attention.
Posts: 81
Joined: Thu Jun 02, 2011 6:10 pm

Re: Mouse-up buttons in kingdom

Postby dislekcia on Sat Jun 01, 2013 3:16 am

That seems like an oversight. Buttons should definitely only trigger actions on mouse-up, but I'll talk to the guys about it on monday, see if there's perhaps another reason for the change...
User avatar
Posts: 2265
Joined: Fri Mar 25, 2011 5:58 pm
Location: Cape Town, South Africa

Re: Mouse-up buttons in kingdom

Postby Nurator on Sat Jun 01, 2013 10:27 am

I remember buttons only triggering on mouse-up... and i totally agree with zeemeerman, this should work that way!
Posts: 362
Joined: Sat Mar 24, 2012 2:02 pm

Return to Desktop Dungeons

Who is online

Users browsing this forum: No registered users and 9 guests