Why can I not focus that one imagebutton marked in red with arrowkeys?
Try it!
One would assume that Ren'Py can handle this simple task ...
I came across this while testing my game only with keyboard controls to make sure it would work fine with keyboard or gamepad only.
Problem simplified into a test project:
I've already had another example for this problem ... solved it by moving the imagebutton. But I cannot move this one!
Try it!
One would assume that Ren'Py can handle this simple task ...
I came across this while testing my game only with keyboard controls to make sure it would work fine with keyboard or gamepad only.
Code:
screen keyboard_focus_problem():
tag hud
imagebutton:
auto "gui/wheel%s.png"
pos(1285,258)
action NullAction()
imagebutton:
auto "gui/wheel%s.png"
pos(48,258)
action NullAction()
imagebutton:
auto "gui/wheel%s.png"
pos(1713,803)
action NullAction()
imagebutton:
auto "gui/wheel%s.png"
pos(68,928)
action NullAction()
imagebutton:
auto "gui/wheel%s.png"
pos(880,180)
action NullAction()
## this button can not be keyboard focused
image Solid("#800", xpos=368-32, ypos=368-32, xsize=128, ysize=128)
imagebutton:
auto "gui/wheel%s.png"
pos(368,368)
action NullAction()
imagebutton:
auto "gui/wheel%s.png"
pos(1602,683)
action NullAction()
label start:
scene black
## not allowed to be re-enable this!
$ quick_menu = False
"Why is it not possible to focus that one imagebutton with arrowkeys on the following screen?"
"You are {color=#F00}not{/color} allowed to move them!"
"You are {color=#F00}not{/color} allowed to add additional elements that can be keyboard-focused!"
label loop:
show screen keyboard_focus_problem
pause
jump loop
You must be registered to see the links
I've already had another example for this problem ... solved it by moving the imagebutton. But I cannot move this one!