Hello, I'm making a sort of ace attorney style game and something I'm having trouble with is how to make the player able to move back and forth between a section of 'say' statements. I only want to do it in certain sections, the way ace attorney does with testimony, and if possible can this be done without a separate screen?
If anyone can help, thanks in advance!
How to move back and forth between dialogue?
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.
- finnlawrence
- Newbie
- Posts: 11
- Joined: Mon Dec 24, 2012 11:35 am
- Contact:
Re: How to move back and forth between dialogue?
Ren'Py already have rollback. Is there any reason that was not sufficient? Or that you want to disable it for some part of the game?
- finnlawrence
- Newbie
- Posts: 11
- Joined: Mon Dec 24, 2012 11:35 am
- Contact:
Re: How to move back and forth between dialogue?
I was hoping to disable it for most of the game, and re-enable it only for certain parts.
Re: How to move back and forth between dialogue?
You could try this:
1. Make a new keymap's key. Move everything from the "rollback" key to this new key.
2. Declare a variable at the game start the indicate whether rollback is allowed.
3. Add a keymap to the say screen which receive the new key and perform action Rollback(). This keymap is only there if the variable let it.
1. Make a new keymap's key. Move everything from the "rollback" key to this new key.
2. Declare a variable at the game start the indicate whether rollback is allowed.
3. Add a keymap to the say screen which receive the new key and perform action Rollback(). This keymap is only there if the variable let it.
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: How to move back and forth between dialogue?
Maybe this thread could be of interest: http://lemmasoft.renai.us/forums/viewto ... =8&t=23582
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot]