Search found 777 matches
- Sat Aug 31, 2019 11:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying ingame variables in the save/load screen
- Replies: 5
- Views: 590
Re: Displaying ingame variables in the save/load screen
Let's say the player has to make a choice between 5 characters and that determines which route he'll take for the rest of the VN. When he makes the branching decision i'd set a variable, for example, $chosenCharacter = 'Mary' Is there a way to display the value of the chosenCharacter variable under...
- Sat Aug 31, 2019 4:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Implement a user controlled jump mechanic
- Replies: 2
- Views: 446
Re: Implement a user controlled jump mechanic
Hi everyone, I want to implement a mechanic where player is sometimes prompt to input a number, and if it's correct it will take player to the number (kinda like a choose your path book puzzle), I tried to start with a python code but I have no idea how to combine python code with renpy statements,...
- Sat Aug 31, 2019 3:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: Editing the script.rpy at any ways.
- Replies: 7
- Views: 565
Re: Editing the script.rpy at any ways.
Hello. I just want to ask about editing the script.rpy, because when i tested out my game, the error came about tab characters errors. I know how to solve it already, but i was just worried about one thing. Is it okay to edit the script.rpy in other types of edit apps in android? Like i edit my scr...
- Sat Aug 31, 2019 2:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: Editing the script.rpy at any ways.
- Replies: 7
- Views: 565
Re: Editing the script.rpy at any ways.
Hello. I just want to ask about editing the script.rpy, because when i tested out my game, the error came about tab characters errors. I know how to solve it already, but i was just worried about one thing. Is it okay to edit the script.rpy in other types of edit apps in android? Like i edit my scr...
- Fri Aug 30, 2019 8:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Present certain item when certain text is displayed?
- Replies: 4
- Views: 466
Re: Present certain item when certain text is displayed?
Hi everybody, I'm stuck again, this time on how to make a mechanism where one can present certain item in the middle of a text (while a character is talking) to trigger an event that shows a hidden text line for that character. It's been giving me headaches, if someone has an idea please let me kno...
- Fri Aug 30, 2019 6:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Present certain item when certain text is displayed?
- Replies: 4
- Views: 466
Re: Present certain item when certain text is displayed?
Hi everybody, I'm stuck again, this time on how to make a mechanism where one can present certain item in the middle of a text (while a character is talking) to trigger an event that shows a hidden text line for that character. It's been giving me headaches, if someone has an idea please let me kno...
- Fri Aug 30, 2019 6:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: $ renpy.show and image directory
- Replies: 31
- Views: 1659
Re: $ renpy.show and image directory
I'm actually using this command to display images, because it's the only way to show image with the filter which the player will chose. $ renpy.show("ch1intro1"+persistent.filter) I don't use 'image x' or basic 'show' command at all. I updated all of the names, so now they are all unique to not mak...
- Fri Aug 30, 2019 4:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: to assign definitions to both variables randomly at the same time
- Replies: 2
- Views: 425
Re: to assign definitions to both variables randomly at the same time
I want to assign definitions to both variables randomly at the same time. If it worked, it would look like this: renpy.random.choice([inj = "none"]*20 + [inj = "light"][l_inj += 1]*30 + [inj = "serious"][s_inj += 1]*40 + [inj = "death"]*10) But surely it is not working. Perhaps there is a function ...
- Fri Aug 30, 2019 4:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice Menu Background and Textbox [SOLVED]
- Replies: 26
- Views: 4363
Re: Choice Menu Background and Textbox [SOLVED]
have you tried this?: screen choice(items): style_prefix "choice" add "choice_overlay.png" @Kia: Holy crap. That totally works! It even works with rollback. Thanks so much! @hell_oh_world: I really, really appreciate all your help on this, I have learned a ton about Ren'Py and Python from this. Wel...
- Fri Aug 30, 2019 4:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: $ renpy.show and image directory
- Replies: 31
- Views: 1659
Re: $ renpy.show and image directory
Honestly, I did everything the way it supposed to be done, it didn't work and trust me, I tried few different combinations, well... it's bad for me, but screw it, I can't let myself sit and wonder for the whole day why simple code is not working. So, I changed the names and everything seems working...
- Fri Aug 30, 2019 12:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: Class name is not defined ?
- Replies: 2
- Views: 411
Re: Class name is not defined ?
Hi everyone, after studying a lot about classes I finally thought that i was understanding it... but when I tried to use them I got this error. While running game code: File "game/script.rpy", line 14, in script python: File "game/script.rpy", line 15, in <module> manzana = Objeto('manzana', img='a...
- Fri Aug 30, 2019 12:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Enabling Textbuttons to Add Duplicate Items to the Inventory
- Replies: 8
- Views: 753
Re: Enabling Textbuttons to Add Duplicate Items to the Inventory
Sorry! I don't think I was clear enough about my issue haha. I want to be able to add multiple of the same item into the inventory, but the issue is that if a certain item is already in it, it won't allow me to add another. So if I already have an apple in my inventory and I want to buy another app...
- Thu Aug 29, 2019 11:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice Menu Background and Textbox [SOLVED]
- Replies: 26
- Views: 4363
Re: Choice Menu Background and Textbox [SOLVED]
So... this is weird. When I copy that over exactly, absolutely nothing happens when the choice menu comes up, but also, the 'hide' line stops doing anything as well. But if I remove the 'on show' bit from the transform: ## Choice screen ##############################################################...
- Thu Aug 29, 2019 10:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Wrong inheritance about save and persistent data
- Replies: 4
- Views: 461
Re: Wrong inheritance about save and persistent data
Yes, that's the part of what I want. All in all is to prevent the old version influence the newer version That's a bit tricky... I'm sure others have their own much easier workaround for this but this is mine... Assuming that youre still using the default file_slots screen in screens.rpy.... **YOU ...
- Thu Aug 29, 2019 10:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice Menu Background and Textbox [SOLVED]
- Replies: 26
- Views: 4363
Re: Choice Menu Background and Textbox [SOLVED]
Again, I'm just also messing around here with the codes based from what I know :D For sure, I really appreciate it. And no matter what thank you for showing me where those fade durations were set, that was very helpful. It seems like the problem is no matter what you put in the Function, the 'on "s...