Search found 26 matches
- Wed Mar 28, 2018 9:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can you interact with objects when touching or near them?
- Replies: 3
- Views: 694
Re: How can you interact with objects when touching or near them?
Are you talking about objects on an image? There is a "hover" state that you use to show the player that their cursor is near a clickable object or button. Here is a really great tutorial that shows how hover states work with menus. And here is a tutorial on making clickable objects on an ...
- Wed Mar 28, 2018 9:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: Creating a "form" for players to check
- Replies: 2
- Views: 351
Re: Creating a "form" for players to check
Use call screen to call a screen,full of buttons that SetVariable, with just one that instead just Return(),this one have execution proceed. Called screen stop execution until something Return. Maybe this is a silly question, but can I slap all the code for the screen in the script.rpy file, or do ...
- Wed Mar 28, 2018 12:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: Creating a "form" for players to check
- Replies: 2
- Views: 351
Creating a "form" for players to check
Hi! I'm not sure how to go about coding this and I'd like some help, please. At the beginning of my game, I have players take a short quiz that tests for personality traits. The answers are split into a dichotomy, (you HAVE to pick either A or B), and right now it is coded as a series of menu option...
- Sat Feb 24, 2018 12:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Player_name key error and quick menu broken (SOLVED)
- Replies: 11
- Views: 2118
Re: Player_name key error and quick menu broken
Ok. If you want persistent to work here, you must ensure that it always has value. Setting default value for persistent data is slightly different from normal variables: https://www.renpy.org/doc/html/changelog.html#define-improvements define persistent.palyer_name = 'Dante' define pov = Character(...
- Sat Feb 24, 2018 11:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: Player_name key error and quick menu broken (SOLVED)
- Replies: 11
- Views: 2118
Re: Player_name key error and quick menu broken
Please, show your code. Remix example should work well with saving and loading. First of all: delete all saved games. It is not a good idea to load saves from old versions in current one. Second: make sure that you cannot skip name setting. You should not be able to do anything before setting name....
- Sat Feb 24, 2018 11:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: Player_name key error and quick menu broken (SOLVED)
- Replies: 11
- Views: 2118
Re: Player_name key error and quick menu broken
Yet another update. I've solved the issue with the quick menu by using the Replay function in my chapter menus, so it looks like this now: if persistent.vincent_a1s1 == True: hotspot (272, 249, 146, 43) action Replay("vince_a1s1") instead of if persistent.vincent_a1s1 == True: hotspot (272...
- Sat Feb 24, 2018 10:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Player_name key error and quick menu broken (SOLVED)
- Replies: 11
- Views: 2118
Re: Player_name key error and quick menu broken
First step, declare default and setup Character: default player_name = "Dante" define pov = Character("[player_name]") Next include the input inside a label where wanted: label start: "Please input your name." $ player_name = renpy.input("What is your name?",...
- Sat Feb 24, 2018 2:46 am
- Forum: Ren'Py Questions and Announcements
- Topic: Player_name key error and quick menu broken (SOLVED)
- Replies: 11
- Views: 2118
Re: Player_name key error and quick menu broken
Update: I've been messing with this code for at least 5 hours and at this point I'm quite irritated. I changed my code for name input to: label set_name: if persistent.player == None: "Please input your name." $player_name = renpy.input("", "Dante") $player_name = playe...
- Sat Feb 24, 2018 1:33 am
- Forum: Ren'Py Questions and Announcements
- Topic: Player_name key error and quick menu broken (SOLVED)
- Replies: 11
- Views: 2118
Re: Player_name key error and quick menu broken
do you have the python: above the name input part? not in less you have it somewhere else I changed the code to input name: python: playername = renpy.input("Input your name.") playername = playername.strip() if not playername: playername = "Dante" Still have the same problem. Q...
- Sat Feb 24, 2018 12:07 am
- Forum: Ren'Py Questions and Announcements
- Topic: Textbox briefly appears when changing scene inside choice.
- Replies: 2
- Views: 412
Re: Textbox briefly appears when changing scene inside choice.
Try changing the scene before the menu comes up. So: scene cCooking with fade hide cWindowStare menu: "Chili": nar "I love the smell of boiling beans and legumes: pinto, lentils and kidney. With the hard work of soak and search done, I can watch them dance in the water while stirring ...
- Fri Feb 23, 2018 11:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Player_name key error and quick menu broken (SOLVED)
- Replies: 11
- Views: 2118
Player_name key error and quick menu broken (SOLVED)
I'll do my best to explain the problem because it is twofold. First, I have a quick menu that is an imagemap which I've coded and works fine. The map is a stack of four buttons from top to bottom: skip, save, load, and preferences. Both this menu and the player name work correctly when loading a pas...