Not logged inOpenClonk Forum
Up Topic Development / Developer's Corner / Allowing movement during menu open
- By Newton [de] Date 2010-06-25 16:31
Sven made a comment last night regarding the disallowance of left, right, up, down movement while the menu is open. This could indeed be a nice feature. However, the following things need to be considered:

  1. For gamepad players, it still needs to be disallowed - at least if the movement keys are consumed by the menu (ControlUp etc.) which is ~always the case. It also means that classic menus have to continue to offer control by mouse and by keys. Currently, there is a way to find out if the player with his control set has a mouse - for mouse users to use the menu via the movement  keys could be disabled in favor for free movement while the menu is open.

  2. The second question is, where should the check be implemented that automatically closes the menu if the menu_object moves away from the command_object(?, or another object?). If it is generally allowed to move while a menu is open, I don't think that it is wise to leave it up to the scripter of each command_object to perform a timer-check for that. On the other hand, perhaps the chest is a special case and actually for other menus, generally, it is not desired that the clonk can move while it is open.

Up Topic Development / Developer's Corner / Allowing movement during menu open

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill