Can we put some simple images into dialogues?

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
bbs3223474
Regular
Posts: 33
Joined: Thu Apr 02, 2015 12:17 am
Contact:

Can we put some simple images into dialogues?

#1 Post by bbs3223474 » Wed Apr 08, 2015 10:08 am

I was working on creating a Ren'py version game which was made by krkr2 engine.
I found some of its dialogues contain a heart mark, and it's a image named "exch001.png"
If krkr2 script wrote like this:
I can't wait to see him again!\001
It will shows exch001.png at the end of dialogue in the game.

Can Ren'py also contain some simple images in dialogues just like that?
Opensource project of a Ren'py transplanted game: https://github.com/bbs3223474/HANA16_Renpy

User avatar
Yuuji
Regular
Posts: 96
Joined: Tue Jan 20, 2015 3:08 am
Location: Russia, Perm
Contact:

Re: Can we put some simple images into dialogues?

#2 Post by Yuuji » Wed Apr 08, 2015 10:24 am

http://www.renpy.org/doc/html/text.html#text-tag-image
I suppose something like that. I hope it helps :)
There's no point in standing around with your mouth open waiting for talent to fall from the sky. You make your own. No matter what you're doing, the most essential thing is not to give up.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Can we put some simple images into dialogues?

#3 Post by PyTom » Wed Apr 08, 2015 1:26 pm

That will work, or if the font supports it, you can just use one of the unicode heart marks.

♡♥❤
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users