How to make a textbutton that jumps to a label?
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.
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.
-
- Regular
- Posts: 46
- Joined: Tue Nov 08, 2011 3:55 pm
- Contact:
How to make a textbutton that jumps to a label?
Umm... Care to help a newbie? I have no experience in programming and I only know few ren'py commands.. Can you help me make a textbutton on the main menu that will jump to a label? thanks!
Last edited by ZaqazDeath on Sat Nov 12, 2011 12:18 pm, edited 2 times in total.
Re: How to make a textbutton that jumps to a label?
Screens and screen actions are your friends for this.
Open the screens.rpy file, look for the Main Menu screen, and amongst the textbuttons defining the menu, add something like:
Open the screens.rpy file, look for the Main Menu screen, and amongst the textbuttons defining the menu, add something like:
Code: Select all
textbutton "Chapter 2" action Jump("chapter2")
-
- Regular
- Posts: 46
- Joined: Tue Nov 08, 2011 3:55 pm
- Contact:
Re: How to make a textbutton that jumps to a label?
Thanks! How do you people respond so quickly... Also how do you make the post solved?
How to make the post solved?
I think you have to edit your original post and modify its subject manually (just add a [Solved] tag at the beginning).
-
- Regular
- Posts: 46
- Joined: Tue Nov 08, 2011 3:55 pm
- Contact:
Re: How to make a textbutton that jumps to a label?
how do you edit the topic? xD I'm really new, this is like my first time in Lemma Soft.
Re: How to edit the topic?
Once you've logged in, an "Edit" button will appear under every post you've made.
Click on the "Edit" button corresponding to the first post of this topic, where you asked your original question.
The subject of the topic will now appear in a text field. Just change it and click on the "Submit" button.
If LemmaSoft works like other forums I've joined, this should be enough (I'm not 100% sure, I've never started a topic here... ).
Click on the "Edit" button corresponding to the first post of this topic, where you asked your original question.
The subject of the topic will now appear in a text field. Just change it and click on the "Submit" button.
If LemmaSoft works like other forums I've joined, this should be enough (I'm not 100% sure, I've never started a topic here... ).
-
- Regular
- Posts: 46
- Joined: Tue Nov 08, 2011 3:55 pm
- Contact:
Re: How to make a textbutton that jumps to a label?
Nope. Can't find an edit button... Sorry... I also tried putting [solved] in the beginning of the first post (not the question you see in the forum) and it didn't work.. Also, YOU NEVER STARTED A TOPIC?
Re: How to make a textbutton that jumps to a label?
And no, I've never started a topic on LemmaSoft... So far, all my posts are answers or comments and belong thus to already existing topics.
So, you've been able to edit your first post twice, but adding [solved] to its subject had no effect on the topic's subject? Mmmm... I'm sorry, I have no more idea...
Oh, don't worry too much, you may forget it. LemmaSoft has not many rules, and mentioning that a topic has been solved is definitely not one of them (the advisability of the Solved tag is even debatable, in truth).
So, you've been able to edit your first post twice, but adding [solved] to its subject had no effect on the topic's subject? Mmmm... I'm sorry, I have no more idea...
Oh, don't worry too much, you may forget it. LemmaSoft has not many rules, and mentioning that a topic has been solved is definitely not one of them (the advisability of the Solved tag is even debatable, in truth).
Who is online
Users browsing this forum: Google [Bot]