Hey, gang.
Is there something I can put in the character definition block to specify its gender?
Reason being... I code stuff out way before I have graphics to fill in the displayables, and it would be really handy if I saw the 'boy' sprite for male characters. Heck, it would be handy if I could just assign a default dummy sprite to each character, then it would be no problemo to code before the graphics are made.
... work flow kinda thing, you know.
Thanks.
Manually define character's gender for proper place holder?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Steffenator
- Regular
- Posts: 53
- Joined: Fri Feb 17, 2017 11:58 am
- Contact:
- 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: Manually define character's gender for proper place hold
Just do:
etc. Ren'Py should try to guess the gender from the name, if it's not available.
Code: Select all
image eileen = Placeholder("girl")
image tom = Placeholder("boy")
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
- Steffenator
- Regular
- Posts: 53
- Joined: Fri Feb 17, 2017 11:58 am
- Contact:
Who is online
Users browsing this forum: Bing [Bot]