User experience in game applications

Published 2014-10-27 | (Compatible with SDK 2.5,3.5,4.5,5.0,5.1 and 2011,2012,2013,2014 models)

Preventing the users from accidentally exiting the application while they are playing a game

The main features of nearly all game applications are handled by the four-directional and Enter keys. These buttons are placed on all our remotes right next to Return and Exit.

Because of such location, the application may be shut down by accidentally pressing the Return or Exit keys, what could be really inconvenient for the user.

To prevent such situations, we recommend adding a pop-up window to check user’s intention when the Return or Exit buttons are pressed. In order to block the default key function, you need to use the widgetAPI.blockNavigation() method.