Page 1 of 1

New suggestion: User preference values: range in addition to list of values

Posted: 01 May 2021, 16:49
by fafa-fr
Hi,
I've just added a new suggestion in the Studio bug/suggestion report system. Feel free to comment in this thread and/or in the suggestion report or to upvote.

Sometimes it would be great if it was possible to have a range of numbers instead of a list of strings / values for the possible values of a user preference. And it would be great if it could come along with another way (or other ways) to select the desired value, like +/- buttons and/or a slider, instead of a drop-down menu (e.g. "number" or "range" types of <input> element).

This feature could be useful for instance for adjusting a zoom level for the interface. Several games implement their own solution for this (Draftosaurus, 7 Wonders Duel), so I think it would be useful to have something like this in the framework. (At the moment for Castles of Burgundy I have a drop-down menu with 15 values from 6 to 20.)

Re: New suggestion: User preference values: range in addition to list of values

Posted: 02 May 2021, 00:48
by Victoria_La
Standard way is good but if you need something now you can replace bga control with your own but leave all preference hooks (i.e. you can put js vanila slider), maybe document it in recipies wiki - and that way it be uniform for games that want to re-use this?