Search found 720 matches
- Sun May 05, 2024 4:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Eyes following the mouse cursor in the main menu.
- Replies: 7
- Views: 694
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: 160
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: 225
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: 225
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: 225
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: 486
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: 650
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: 1888
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: 873
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: 5884
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: 502
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...
- Thu Apr 11, 2024 3:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help with a "connect the dots" mini game?
- Replies: 3
- Views: 1750
Re: Help with a "connect the dots" mini game?
Hey there everyone! I wanted to try and create some kind of "connect the dots" minigame in my VN but I have no idea what I should be trying to do to make it happen. The game must be able to register if the user hit all the correct points Something like if the user can connect point A to p...
- Thu Apr 11, 2024 3:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to Update Outdated Shake Effect
- Replies: 1
- Views: 216
Re: How to Update Outdated Shake Effect
transform shake2(rate=0.090): linear rate xoffset 2 yoffset 0 linear rate xoffset -2.8 yoffset 2 linear rate xoffset 2.8 yoffset 0 linear rate xoffset -2 yoffset 2 linear rate xoffset +0 yoffset +0 repeat transform shake3(rate=0.090): linear rate xoffset 2 linear rate xoffset -2.8 linear rate xoffs...
- Thu Apr 11, 2024 12:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How from a joystick to a gamepad, to create a mouse analog?
- Replies: 0
- Views: 238
How from a joystick to a gamepad, to create a mouse analog?
How to create a joystick, I know how to move images and object I know, but I do not get to make a joystick analogy
viewtopic.php?t=50655
https://www.renpy.org/doc/html/keymap.html
viewtopic.php?t=50655
https://www.renpy.org/doc/html/keymap.html
- Tue Apr 09, 2024 2:09 am
- Forum: Ren'Py Cookbook
- Topic: Entering the character's name on Renpy
- Replies: 0
- Views: 427
Entering the character's name on Renpy
1)Plain define g = Character("[name]") label start: python: name = renpy.input(_("What's your name?")) name = name.strip() or __("Zhora!t") "hello [name]" g "Hello to you too" - define g = Character("[name]") - we write the name of the cha...