How do I get [test_image] to read as "test'?
In essence, I want im.FactorScale("[test_image]/head_1.png", 0.3) to read as im.FactorScale("test/head_1.png", 0.3)
Simplified Sample Of The Problem:
default test_image = "test"
default test_file = im.FactorScale("[test_image]/head_1.png", 0.3)
label issue_test:
show image test_file
return
Error:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While loading <'FactorScale' <'Image' u'[test_image]/head_1.png'> 0.3 0.3 True>:
File "game/script.rpy", line 260, in script call
call unlockable_menu
File "game/script.rpy", line 386, in script
""
File "renpy/common/000window.rpy", line 98, in _window_auto_callback
_window_show()
File "renpy/common/000window.rpy", line 60, in _window_show
renpy.with_statement(trans)
IOError: Couldn't find file '[test_image]/head_1.png'.