Making the character interactive?

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
dexoey
Newbie
Posts: 8
Joined: Sun Apr 17, 2016 11:38 pm
Contact:

Making the character interactive?

#1 Post by dexoey » Sat Jun 18, 2016 5:43 pm

Hi guys!

Attach you can find my background image + character.

Currently user can click anywhere of the page, so girl1 transits into girl2. But I want the game to be interactive: user should click only on girls's leg, so girl1 turns into girl2. How can I do that?
Attachments
girl2.png
girl1.png
background.png

User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Re: Making the character interactive?

#2 Post by namastaii » Sat Jun 18, 2016 10:17 pm

Have you looked into hotspots?

dexoey
Newbie
Posts: 8
Joined: Sun Apr 17, 2016 11:38 pm
Contact:

Re: Making the character interactive?

#3 Post by dexoey » Sun Jun 19, 2016 6:23 am

namastaii wrote:Have you looked into hotspots?

Yes, but the tutorials I found were just focusing on the main menu, they were outdated tutorials though. And Didn't find anything practical for other slides. Attach you can find my tiny project:

From 3rd slides, her legs starts going down and I want this to happen by clicking on her leg.

1. Exactly which part of which rpy file is designed for this slide?
2. Apparently I dont have have any Ground and Hover. So what shall assign for them?
3. Seems that the hostpost can be only a rectangular area. But leg is not rectangular :p So, how shall I do that?

Can you please make full coding of hotspot, only for one slides so I can take it as a guide?
Attachments
Pilot.zip
(1.16 MiB) Downloaded 15 times

Post Reply

Who is online

Users browsing this forum: Ocelot