Code: Select all
transform move_smooth:
alpha 0 ypos .04
linear .3 alpha 1 ypos 0.0
screen preferences:
tag menu
imagemap:
use navigation
at move_smooth
auto "pref_%s.png"
hotspot (82, 156, 70, 20) clicked Preference("display", "window")
hotspot (156, 156, 110, 20) clicked Preference("display", "fullscreen")
hotspot (82, 240, 20, 20) clicked Preference("transitions", "all")
hotspot (112, 240, 40, 20) clicked Preference("transitions", "none")
hotspot (82, 319, 40, 20) clicked Preference("skip", "all")
hotspot (126, 319, 50, 20) clicked Preference("skip", "seen")
hotspot (82, 403, 50 , 20) clicked Preference("after choices", "skip")
hotspot (135, 403, 50 , 20) clicked Preference("after choices", "stop")
hotbar (325, 210, 180, 30) value Preference("sound volume")
hotbar (325, 270, 180, 30) value Preference("music volume")
hotbar (325, 325, 180, 30) value Preference("voice volume")
Code: Select all
TypeError: 'MixerValue' object is not callable
While running game code:
- script at line 784 of renpy-6.11.0/common/00library.rpy
- python at line 788 of renpy-6.11.0/common/00library.rpy.
- script at line 11 of /home/tom/ab/renpy/common/_layout/screen_preferences.rpym
- python at line 304 of E:\RP_Project\example/game/script.rpy.
(....)
File "E:\renpy-6.11.0\renpy\python.py", line 957, in py_exec_bytecode
File "E:\RP_Project\example/game/script.rpy", line 304, in <module>
File "E:\renpy-6.11.0\renpy\ui.py", line 411, in __call__
File "E:\renpy-6.11.0\renpy\ui.py", line 900, in _hotbar
TypeError: 'MixerValue' object is not callable
Ren'Py Version: Ren'Py 6.11.0l
edited: ah, I've found new ui.py in download renpy page and replacing it. This problem solved.
edited:
3. Here comes another problem.
Code: Select all
transform choice_appear:
yanchor 0.0 ypos .9 alpha 0
on show:
linear .24 yalign 1.0 alpha 1.0
on hide:
linear .24 yanchor .0 ypos .9 alpha 0
screen choice:
window:
at choice_appear
style_group "choice"
yalign 1.0
has vbox
$ k = 1
for label, action in items:
$ nkey = "%s" %k
$ nLabel = nkey +'. ' + label
key nkey action action
textbutton nLabel:
action action
xfill True
$ k += 1
label start:
menu:
'Foo Fighters - Everlong':
pass
'Hoobastank - So Far, So Close':
pass
'The All-American Rejects - I Wanna':
pass
'......'
(I just removed at clause in screen choice block, enter key behavior was back to normal.)