Is it possible to wrap text around an inset image?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
Kaji
Regular
Posts: 87
Joined: Thu Nov 17, 2022 10:17 pm
Github: Kaji01
Discord: Kaji#7767
Contact:

Is it possible to wrap text around an inset image?

#1 Post by Kaji »

I'm working on a character profile screen, and while I'm working on the layout for things I was wondering if it's possible to do something like add an image inline in a string and have the string wrap around it, or if the image would be required to occupy its own box.

So basically, what I'm wondering is if I can do this:

Code: Select all

|IMG TEXT|
|IMG TEXT|
|TEXTTEXT|
|TEXTTEXT|
Or if I'm limited to doing it in one of the following layouts using hbox or vbox

Code: Select all

|IMG|    | |IMG|TEXT|
|IMG|    | |IMG|TEXT|
|--------| |   |TEXT|
|TEXTTEXT| |   |TEXT|
|TEXTTEXT| |   |TEXT|

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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: Is it possible to wrap text around an inset image?

#2 Post by PyTom »

Unfortunately, no. This isn't something Ren'Py's text layout engine supports.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Kaji
Regular
Posts: 87
Joined: Thu Nov 17, 2022 10:17 pm
Github: Kaji01
Discord: Kaji#7767
Contact:

Re: Is it possible to wrap text around an inset image?

#3 Post by Kaji »

Thanks, Tom! Will plan accordingly, then.

Post Reply

Who is online

Users browsing this forum: Semrush [Bot]