The problem is that I can not show my dictionary in other screen. I am not such good at Renpy, so, could you help me `
define python:
heroes = { Someone : 1, Someone: 2}
screen showBio(id, dict):
frame:
xsize 300
ysize 300
vbox:
text "[dict[id]]"
screen characters():
tag menu
use game_menu(_("Heroes"), scroll="viewport"):
for i in heroes:
textbutton "[i]" action Show("showBio([i], [heroes])")
`
I had tried to search a solution, did not find them
source https://stackoverflow.com/questions/76058369/renpy-how-to-use-function-in-show
Comments
Post a Comment