How to add a User Agreement?
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.
How to add a User Agreement?
Is there a way by which to add a pop-up user agreement that has to be clicked on before access to the larger game file itself will launch? I haven't seen any other topics that cover any examples for this style of code. Thank you.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: How to add a User Agreement?
Sounds like you just make a screen with your text and two buttons, agree and disagree. You then call the screen. If they press the agree button you continue on with the story, if they don’t, you end the game. You could even do this with just a menu.
This doesn’t need special code. It is just basic Ren’Py menu coding.
I’m on my phone so I can’t test this but:
This doesn’t need special code. It is just basic Ren’Py menu coding.
I’m on my phone so I can’t test this but:
Code: Select all
label start:
“Welcome to the game!”
menu:
“But first, definitely you agree you are over 18 and are allowed to play games like this in your country?”
”Yes”:
pass
”No”:
return
“The game continues.”
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
Re: How to add a User Agreement?
I was looking for a way to have a separate pop-up for both time and space needs. For a full length user agreement with all the legalese that doesn't really seem like the cleanest option.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: How to add a User Agreement?
Then go what I first suggested. Make a screen with text and two buttons (an Agree and a Disagree). Call the screen.
Side note...a VN with huge amounts of legalese is likely to make me suspicious and not play the game.
Side note...a VN with huge amounts of legalese is likely to make me suspicious and not play the game.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
Who is online
Users browsing this forum: No registered users