Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello,

When adding the base image_tools to my files, everything worked fine, but I received this error when adding the image_tint_tool.rpy file. I'm not sure what went wrong or how to define 'spectrum,' here. Any help would be appreciated.

I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
  File "renpy/common/00start.rpy", line 83, in _init_language
    renpy.change_language(language)
  File "game/image_tools/image_tint_tool.rpy", line 515, in <module>
    spectrum(horizontal=False))
NameError: name 'spectrum' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "A:\renpy-8.0.0-sdk\renpy\bootstrap.py", line 274, in bootstrap
    renpy.main.main()
  File "A:\renpy-8.0.0-sdk\renpy\main.py", line 660, in main
    run(restart)
  File "A:\renpy-8.0.0-sdk\renpy\main.py", line 76, in run
    renpy.translation.init_translation()
  File "A:\renpy-8.0.0-sdk\renpy\translation\__init__.py", line 583, in init_translation
    renpy.store._init_language() # type: ignore
  File "renpy/common/00start.rpy", line 83, in _init_language
    renpy.change_language(language)
  File "A:\renpy-8.0.0-sdk\renpy\translation\__init__.py", line 667, in change_language
    new_change_language(tl, language)
  File "A:\renpy-8.0.0-sdk\renpy\translation\__init__.py", line 629, in new_change_language
    i.apply()
  File "A:\renpy-8.0.0-sdk\renpy\ast.py", line 2887, in apply
    value = renpy.python.py_eval(expr)
  File "A:\renpy-8.0.0-sdk\renpy\python.py", line 1080, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "A:\renpy-8.0.0-sdk\renpy\python.py", line 1073, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/image_tools/image_tint_tool.rpy", line 515, in <module>
    spectrum(horizontal=False))
NameError: name 'spectrum' is not defined

Hey there! Did you also download the required color picker tool? It is necessary for this one to work.

Thank you for the quick response! Yes, that was what I needed. Thanks for the heads up!