Improve Zictionary scene so we don't need to hyper tapping much than before (#926)
* Attempt to rework Zictionary scene * Rearrange the layout and handling most of thing * Remove ALPHA key, done keyboard handling, changed some key's behavior * Add Help text * Update Help text & fix some bugs * Update help text * Edit help text * Support gamepad * small changes in help text * small changes * Fix copy bug * small change * Add hint text to open Hint * Fix a bug that item accidentally selected when scrolling * Clean up a dumb function (Forget to cleanup in previous commit) * add backup solution, just in case * fix another bug * fix touch bug * Refix the scroll bug when touch * small code changes * small change in English file
This commit is contained in:
committed by
GitHub
parent
4d82b182a6
commit
9d3fb33d10
@@ -378,6 +378,64 @@ return {
|
||||
sha2 [Egor Skriptunoff]
|
||||
]],
|
||||
support="Support the author",
|
||||
dict={
|
||||
sizeChanged="Changed font size: $1",
|
||||
sizeReset="Reset font size: 25",
|
||||
helpText=
|
||||
[[
|
||||
ZICTIONARY NAVIGATION INSTRUCTION
|
||||
|
||||
NOTE: Some functions may not have specific gestures for gamepad input.
|
||||
In such cases, you can use alternative input methods or follow the provided instructions.
|
||||
|
||||
Scrolling text:
|
||||
Keyboard: Use [$1] to scroll up, [$2] to scroll down.
|
||||
Gamepad: Use $5 to scroll up, $6 to scroll down.
|
||||
Mouse/Touch screen: Use the familiar scrolling gestures.
|
||||
|
||||
Exiting Zictionary:
|
||||
Keyboard: Press [Esc] key.
|
||||
Gamepad: Press [BACK] button.
|
||||
Mouse/Touch screen: Press the Back button in the top right corner of the screen.
|
||||
|
||||
Opening/closing Help:
|
||||
Keyboard: Press [F1] key.
|
||||
Gamepad: Press $10 key.
|
||||
Mouse/Touch screen: Tap [$13] key.
|
||||
|
||||
Opening previous/next item in the list:
|
||||
Keyboard: Press [$3] to open the previous item, [$4] to open the next one.
|
||||
Gamepad: Press $7 to open the previous item, $8 to open the next one.
|
||||
Mouse/Touch screen: Click/touch the item below the currently selected one in the list.
|
||||
|
||||
Jumping backward/forward through 12 items:
|
||||
Keyboard: Hold [Ctrl]/[Shift]/[Alt] key first, then press [$3] to jump backward, [$4] to jump forward.
|
||||
Gamepad: Hold $11 key first, then press $7 to jump backward, and $8 to jump forward.
|
||||
Mouse/Touch screen: Click/Touch [$16] to jump backward, [$17] to jump forward
|
||||
|
||||
Changing font size (DEFAULT: 25):
|
||||
Keyboard: Hold Ctrl key first, then press [-] to make the text smaller, [+] to make it bigger, [0] to reset the font size to default.
|
||||
Gamepad: Hold $11 key first, then press $6 to make the text smaller, and $5 to make it bigger.
|
||||
Mouse/Touch screen:
|
||||
Press [aA] to show [a] and [A] buttons.
|
||||
Click/touch [a] to make the text smaller.
|
||||
Click/touch [A] to make the text bigger.
|
||||
To reset the font size, wait for 3 seconds for [aA] [100%] to reappear, then click/touch [100%] to reset.
|
||||
Note: There's no gesture to reset the font size with the Gamepad, but you can set it back to 25.
|
||||
|
||||
Copying the content:
|
||||
Keyboard: Press [Ctrl] + [C].
|
||||
Mouse/Touch screen: Press [$14] key.
|
||||
|
||||
Opening item's URL (if available):
|
||||
Keyboard: Press [$18] (Context menu/Application key).
|
||||
Mouse/Touch screen: Press [$15] key.
|
||||
]]
|
||||
-- 1-4: Up, Down, Left, Right
|
||||
-- 5-8: Up, Down, Left, Right but D-Pad
|
||||
-- 9-12: X, Y, A, B
|
||||
-- 13-18: Help, Copy, Open, Forward, Backward, MENU
|
||||
},
|
||||
WidgetText={
|
||||
main={
|
||||
offline="Single Player",
|
||||
|
||||
Reference in New Issue
Block a user