Calling a label with a screen? [solved]

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
Greeny
Miko-Class Veteran
Posts: 921
Joined: Sun Dec 20, 2009 10:15 am
Completed: The Loop, The Madness
Projects: In Orbit, TBA
Organization: Gliese Productions
Location: Cantankerous Castle
Contact:

Calling a label with a screen? [solved]

#1 Post by Greeny » Sun Jan 27, 2013 2:12 pm

I was wondering if, and how, it would be possible to call a label, using a screen.
There's no Call action in screen language, but perhaps there's a workaround?

Or maybe I'm going about this wrong - what I'm trying to achieve is displaying a button on the screen (using a screen with an imagebutton) that allows the player to call a certain label when clicked. That label will run certain actions then return to wherever the player was.
Last edited by Greeny on Mon Jan 28, 2013 5:37 pm, edited 1 time in total.
In Orbit [WIP] | Gliese is now doing weekly erratic VN reviews! The latest: Halloween Otome!
Gliese Productions | Facebook | Twitter
Image

User avatar
Ayutac
Regular
Posts: 150
Joined: Thu Oct 18, 2012 2:23 pm
Projects: Pokémon Dating Sim
Organization: A Breeze Of Science
Deviantart: Ubro
Location: Mayence, Germany
Contact:

Re: Calling a label with a screen?

#2 Post by Ayutac » Sun Jan 27, 2013 3:56 pm

Up next: An original, open source, text-based Dating Sim. Stay tuned ;)

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Calling a label with a screen?

#3 Post by nyaatrap » Sun Jan 27, 2013 7:54 pm

It seems the bug of renpy.call has been fixed, so you could wait for the next ren'py update.

User avatar
Greeny
Miko-Class Veteran
Posts: 921
Joined: Sun Dec 20, 2009 10:15 am
Completed: The Loop, The Madness
Projects: In Orbit, TBA
Organization: Gliese Productions
Location: Cantankerous Castle
Contact:

Re: Calling a label with a screen?

#4 Post by Greeny » Mon Jan 28, 2013 5:39 pm

Alright, thanks! I have a better understanding of the source of the problem now, I think.
More importantly, I got it to work.
In Orbit [WIP] | Gliese is now doing weekly erratic VN reviews! The latest: Halloween Otome!
Gliese Productions | Facebook | Twitter
Image

Post Reply

Who is online

Users browsing this forum: Google [Bot], _ticlock_