Search found 724 matches
- Sun May 19, 2024 11:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Making Multiple Player Profiles Work
- Replies: 25
- Views: 1289
Re: Making Multiple Player Profiles Work
Awesome! This could be a recipe for the cookbook if you don't mind sharing your code. Yeah, good call! I've made a few more quality-of-life changes to the system in the past few days, so once I feel satisfied that there isn't anything else I can think of to iron out, I'll put together a post. :) 👍👍👍
- Mon May 13, 2024 7:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: Collapsible lists for a RenPy screen? [SOLVED]
- Replies: 7
- Views: 442
- Sat May 11, 2024 5:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: the number of dice and the modifier do not change the value
- Replies: 3
- Views: 222
Re: the number of dice and the modifier do not change the value
Thanks a lot, changed both in action and def, didn't help. init python: import json import random # Dictionary for storing the results of rolls roll_history = {} # Function for rolling dice def roll_dice(dice_type, dice_count, modifier): result = random.randint(dice_count, dice_type * dice_count) + ...
- Sat May 11, 2024 2:24 am
- Forum: Ren'Py Questions and Announcements
- Topic: the number of dice and the modifier do not change the value
- Replies: 3
- Views: 222
the number of dice and the modifier do not change the value
I am trying to create a dice roll calculator for renpy but I encountered an error that the number of dice does not change and the modifier does not change either init python: import json import random # Dictionary for storing the results of rolls roll_history = {} # Function for rolling dice def rol...
- Sun May 05, 2024 4:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Eyes following the mouse cursor in the main menu.
- Replies: 8
- Views: 862
Re: Eyes following the mouse cursor in the main menu.
Ai code . init python: eye_angle = 0 screen Eyes(): add "eyes.png" # Replace "eyes.png" with the name of your eye sprite timer 0.1 repeat True action Jump("update_eye_angle") label update_eye_angle: python: mouse_x, mouse_y = renpy.get_mouse_pos() eye_x, eye_y = # Eye c...
- Sun May 05, 2024 9:50 am
- Forum: Ren'Py Questions and Announcements
- Topic: I can't get the path to the folder right
- Replies: 0
- Views: 210
I can't get the path to the folder right
I prescribe for the cookbook of this forum recipe for creating a race and character by the rules of dnd. and encountered a problem when I kind of prescribed in the code to take a file from the race or class folder, but instead it complains constantly that in the folder game, does not see the file, w...
- Tue Apr 30, 2024 6:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Minigame domino eror
- Replies: 2
- Views: 275
Re: Minigame domino eror
NlQxkFu_wKQ init python: import random ###This code defines a class Domino, representing a single domino tile. It has an initializer (__init__) that sets the values of value1 and value2 for a domino tile. The __str__ method returns a string representation of the domino tile. The valid_move method c...
- Tue Apr 30, 2024 7:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Minigame domino eror
- Replies: 2
- Views: 275
Re: Minigame domino eror
init python: import random class Domino: def __init__(self, value1, value2): self.value1 = value1 self.value2 = value2 def __str__(self): return f"[{self.value1}|{self.value2}]" dominoes = [Domino(0, 0), Domino(0, 1), Domino(0, 2), Domino(0, 3), Domino(0, 4), Domino(0, 5), Domino(0, 6), D...
- Mon Apr 29, 2024 4:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Minigame domino eror
- Replies: 2
- Views: 275
Minigame domino eror
Hi everyone, I need your help. I'm doing code minigame dominoes, before I wrote the code, the screen displayed what dominoes at the player and the computer, worked without problems, tried to add conditions, consider the rules of the real game, like too the screen started. I wrote more improvements a...
- Wed Apr 24, 2024 2:09 am
- Forum: Ren'Py Cookbook
- Topic: Animated application icon
- Replies: 0
- Views: 973
Animated application icon
https://boosty.to/7dots/posts/242cd9cb-8e41-4428-ad8d-b49e5dd5b1b4 https://images.boosty.to/image/b3a12770-c82c-4bb7-88e0-e784146c8759?change_time=1700936473&mw=545 set_icon.rpy ## HOW TO USE: # set static icon (only works with files) # $ set_icon(filename) # return the default icon # $ set_icon...
- Fri Apr 19, 2024 8:24 am
- Forum: Ren'Py Questions and Announcements
- Topic: Implementing TTS in Android (for self voicing)
- Replies: 3
- Views: 696
Re: Implementing TTS in Android (for self voicing)
Good afternoon, has there been any progress since the fast? I'm curious to know the result.
- Fri Apr 19, 2024 7:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
- Replies: 13
- Views: 2051
Re: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
Also interested since bublé came up.... I should check out the info on this...
- Fri Apr 19, 2024 7:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: Type out predetermined word when player types?
- Replies: 4
- Views: 895
Re: Type out predetermined word when player types?
Awesome! Been looking for something like this to create a screen by hacker man type, http://tentaculus.ru/hackerman/
- Fri Apr 19, 2024 12:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: Reading randomized dialogue from file [SOLVED]
- Replies: 22
- Views: 5964
Re: Reading randomized dialogue from file [SOLVED]
Wow! Thank you!
- Tue Apr 16, 2024 2:01 am
- Forum: Ren'Py Cookbook
- Topic: Randomness in renpy or Random number generators
- Replies: 0
- Views: 707
Randomness in renpy or Random number generators
if you've rollbacked this code and click it through once again then you should get the same result. That's how renpy.random works. If you need different values after rollback, try to use random.randint(1, 5) instead. https://www.renpy.org/doc/html/other.html#renpy-random # return a random float betw...