feat: added side queue position setting#22
feat: added side queue position setting#22nanophilip wants to merge 3 commits intocambridge-stacker:mainfrom
Conversation
The next piece queue on the side when positioned near the top is hard to see when the eyes need to stay focused on the grid at high gravity. Perhaps the setting could be expanded to center the queue vertically on the side depending on how many pieces are visible in the queue in a given game mode.
|
Please let me make sure there is no misunderstanding. As I can see there is a setting to have the next piece queue either on top or on the side of the grid. That setting is called 'Next position' with options 'Top' and 'Side'. I added another setting that can change the vertical position of the queue when it is set to 'Side'. Does that already exist? Or if having two settings is confusing, perhaps a still better method would be to have three options under one setting for the queue?
|
|
apologies for the misunderstanding, I'll get back to you later |
|
This needs more work. Some game modes display text to the right of the frame. Space which is invaded by the next piece queue if it is positioned too low vertically. |
Mode Survival AX did not respect config.side_next. All other modes already did. This functionality already existed in all other modes.
tetris.mode.gamemode is already drawing 'NEXT' text. In addition, survival_ax did hardcode 'NEXT' text into top position. Without respecting config.side_next like all other modes do.
|
Survival AX was the only mode that did not respect config.side_next. Now it does. Text is drawn further to the right. And the next piece queue when set to the side does not overlap with any text. |
|
this will need corresponding changes in the modpack, in which most modes currently do not account for queue position |
The next piece queue on the side when positioned near the top is hard to see when the eyes need to stay focused on the grid at high gravity.
Perhaps the setting could be expanded to center the queue vertically on the side depending on how many pieces are visible in the queue in a given game mode.