when I play the game I click F4 can open save list but...

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
yuuri88
Newbie
Posts: 20
Joined: Fri Aug 02, 2019 11:58 am
Contact:

when I play the game I click F4 can open save list but...

#1 Post by yuuri88 »

I need some help. I define F4 is the key to save list, and F5 is the key to option
when I play the game I click F4 can open save list but if I click F5 again, it will jump to option.
I propose let two features seperate. As I click F4 and close it, then I can acturally click F5 and go to option, If you click F4 and then click F5 it won't jump to option.

User avatar
hell_oh_world
Miko-Class Veteran
Posts: 777
Joined: Fri Jul 12, 2019 5:21 am
Contact:

Re: when I play the game I click F4 can open save list but...

#2 Post by hell_oh_world »

yuuri88 wrote: Mon Aug 26, 2019 9:07 am I need some help. I define F4 is the key to save list, and F5 is the key to option
when I play the game I click F4 can open save list but if I click F5 again, it will jump to option.
I propose let two features seperate. As I click F4 and close it, then I can acturally click F5 and go to option, If you click F4 and then click F5 it won't jump to option.


I think the key property for screens might help you.

On your save list screen you could try this...

Code: Select all

screen save_list:
    key "K_F5" action NullAction()
    key "K_F4" action Hide("save_list")
I havent tried this though...

yuuri88
Newbie
Posts: 20
Joined: Fri Aug 02, 2019 11:58 am
Contact:

Re: when I play the game I click F4 can open save list but...

#3 Post by yuuri88 »

Thanks for your help!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]