Search found 718 matches
- Tue Apr 30, 2024 6:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Minigame domino eror
- Replies: 2
- Views: 203
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: 203
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: 203
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: 273
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: 573
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: 1801
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: 805
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: 5799
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: 408
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: 1731
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: 198
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: 171
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: 336
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...
- Mon Apr 08, 2024 3:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to make a Database?
- Replies: 4
- Views: 9297
- Mon Apr 08, 2024 3:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to make a Database?
- Replies: 4
- Views: 9297
Re: Is there a way to make a Database?
Only the old renpy python version used to make a base like this. Download and install python 2.7.10 (https://www.python.org/downloads/release/python-2710/) Copy: C:\Program Files (x86)\Python\Python 2.7.10\Lib\sqlite3 C:\Program Files (x86)\Python\Python 2.7.10\DLLs\_sqlite3.pyd C:\Program Files (x8...