Ren'py 6.99.14.3 で楽しくプログラミングしていたところ、ゲームを起動するとエラーが発生しました。スクリプトでゲームが最後に機能したときまでさかのぼってみましたが、まだエラーが発生しています。しばらく調べてみたのですが、まったくわかりませんでした(初心者だったのかもしれません)。
これは「traceback.txt」の最初の部分です (完全なトレースバック部分ではありません)。
I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
File "game/screens.rpy", line 714, in prepare_screen
screen preferences():
File "game/screens.rpy", line 714, in prepare
screen preferences():
File "game/screens.rpy", line 718, in prepare
use game_menu(_("Preferences"), scroll="viewport"):
File "game/screens.rpy", line 718, in prepare
use game_menu(_("Preferences"), scroll="viewport"):
File "game/screens.rpy", line 720, in prepare
vbox:
File "game/screens.rpy", line 720, in prepare
vbox:
File "game/screens.rpy", line 722, in prepare
hbox:
File "game/screens.rpy", line 722, in prepare
hbox:
File "game/screens.rpy", line 725, in prepare
if renpy.variant("pc"):
File "game/screens.rpy", line 725, in prepare
if renpy.variant("pc"):
File "game/screens.rpy", line 727, in prepare
vbox:
File "game/screens.rpy", line 727, in prepare
vbox:
File "game/screens.rpy", line 730, in prepare
textbutton _("Window") action Preference("display", "window")
File "game/screens.rpy", line 730, in prepare
textbutton _("Window") action Preference("display", "window")
File "renpy/common/00preferences.rpy", line 454, in Preference
rv = get()
File "renpy/common/00preferences.rpy", line 211, in get
return __DisplayAction(1.0)
File "renpy/common/00preferences.rpy", line 27, in __init__
self.width = int(factor * config.screen_width)
Exception: Character expects its what argument to be a string, got 1280.0.
必要に応じて、より多くの情報を提供します。
ご協力いただきありがとうございます!