Imagebutton to prompt dialogue?

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
kopitou
Newbie
Posts: 2
Joined: Tue Dec 12, 2017 12:59 am
Contact:

Imagebutton to prompt dialogue?

#1 Post by kopitou »

Hello! I'm rather new at using Ren'Py, so there's a lot I don't know...

I'd like to make an imagebutton that when clicked makes the character say something, so the player can investigate the rooms, but I can't figure out how to do this. I've been lead to believe this should be possible, right? But I can't figure it out;;

Like, when you click the window (which is the imagebutton) the character says "It's a window." or something like that.

User avatar
RicharDann
Veteran
Posts: 286
Joined: Thu Aug 31, 2017 11:47 am
Contact:

Re: Imagebutton to prompt dialogue?

#2 Post by RicharDann »

There are many ways to do this, but they require some knowledge of Ren'Py and screen language. You might want to take a look at the example here:

viewtopic.php?f=51&t=20541#p265137

It should give you a headstart.
The most important step is always the next one.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Majestic-12 [Bot], piinkpuddiin