How can I wrap text around a non-rectangular image? Any solution is appreciated, may it be Transform or Python. I know it has to be possible because Python is Turing-complete.
Please note that I have a lot of images and one solution for all is the only way I could do it.
And because a picture says more than a thousand words:
I thank everyone who spends their time reading this in advance.
Wrapping text around non-rectangular images
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.
- 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: Wrapping text around non-rectangular images
Ren'Py basically can't do this in a way that would work - the text layout engine just isn't designed for non-rectangular layouts like this.
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
Re: Wrapping text around non-rectangular images
Thank you for your help. I'm sure it is somehow possible using Python, but that might be a question I have to ask on StackOverflow. I'll share my solution here, but it might take a while.
Who is online
Users browsing this forum: No registered users