Using An Image File Instead Of A Name?
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
- BlackFurushima
- Newbie
- Posts: 17
- Joined: Fri Jan 18, 2013 10:00 pm
- Location: east coast
- Contact:
Using An Image File Instead Of A Name?
I'm trying to show a headshot of the character instead of a name in defining a character on Renpy, but it isn't working! I guess the tutorial I'm using was outdated. Can anyone give me a quick template of a newer version?
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Using An Image File Instead Of A Name?
Code: Select all
define e = Eileen(None, show_who_image="eileen.jpg")
Code: Select all
text who id "who"
Code: Select all
if who_image:
add who_image
else:
text who id "who"
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users