I'm just starting out with Ren'py and trying to build a game with a permanent side panel that includes player stats, as well as the player portrait.
As the player progresses through the game, they will acquire new appearances based on two or three variables, and I would like to show the appearance changes on the side panel automatically.
Ideally I want to be able to add a ConditionSwitch Image to the side panel, so that the character will automatically be updated based on the variable changes. However I'm not having success doing so (I may just be dense here).
I've managed to get it working by adding the image to the frame via a variable:
Code: Select all
add player_portraitCode: Select all
$ player_portrait = "player_[outfit]_[health]_[status].png"Thank you in advance!