Search found 710 matches
- Tue Apr 16, 2024 2:01 am
- Forum: Ren'Py Cookbook
- Topic: Randomness in renpy or Random number generators
- Replies: 0
- Views: 249
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: 1667
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: 166
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: 125
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: 229
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: 7255
- 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: 7255
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...
- Thu Apr 04, 2024 6:47 am
- Forum: Ren'Py Cookbook
- Topic: Little used features choice menu
- Replies: 1
- Views: 331
Little used features choice menu
1) Blur scene behind choice menu, fade choices in and out . https://patreon.renpy.org/dev-2020-09.html#menu-blurring And https://gist.github.com/dossy/cbb7b7ed18a292e4d9c51c8d63a15c69 screen choice(items): style_prefix "choice" $ renpy.show_layer_at(choice_bg_transform_show, layer='master...
- Thu Apr 04, 2024 1:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Repeat button action on mouse down
- Replies: 5
- Views: 248
- Tue Apr 02, 2024 6:45 am
- Forum: Ren'Py Cookbook
- Topic: Connect RenPy with Stable Diffusion(Сonfetti)
- Replies: 0
- Views: 284
Connect RenPy with Stable Diffusion(Сonfetti)
Connect RenPy with Stable Diffusion via ComfyUI https://github.com/unLomTrois/Confetti It is a Python script to connect your RenPy visual novels to Stable Diffusion via ComfyUI workflows What is a "workflow"? It is a file with step-by-step instructions for Stable Diffusion on what image yo...
- Mon Apr 01, 2024 4:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: cannot import name 'App' from 'kivy.app' (E:\renpy project\flashlight\game/python-packages/kivy/app.py)
- Replies: 5
- Views: 228
Re: cannot import name 'App' from 'kivy.app' (E:\renpy project\flashlight\game/python-packages/kivy/app.py)
😮💨😮💨😮💨 Then I can't help you, because it's not clear how you imported kivy into renpy, maybe you are trying to import the latest kivy in renpy version of python 2.7, which doesn't support ancient python, and vice versa. As Mr. Python rightly pointed out, kivy and renpy are a huge hassle to merge,...
- Sun Mar 31, 2024 11:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: cannot import name 'App' from 'kivy.app' (E:\renpy project\flashlight\game/python-packages/kivy/app.py)
- Replies: 5
- Views: 228
Re: cannot import name 'App' from 'kivy.app' (E:\renpy project\flashlight\game/python-packages/kivy/app.py)
First of all what version of kivy are you using and how did you import it in the first place? game/python-packages/kivy/__init__.py and finding the line starting with __version__ = make sure that the file game/python-packages/kivy/app.py is not corrupted and contains the correct definition of the Ap...
- Sun Mar 31, 2024 10:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: can we make window icon dynamic?
- Replies: 6
- Views: 592
Re: can we make window icon dynamic?
In Ren'Py, you can change the window icon at runtime using the renpy.display.set_window_icon() function. However, you must import the appropriate module before doing so. init python: import pygame #... That code doesn't really work. You can check how Ren'Py function set_icon() works, in renpy/displ...
- Sun Mar 31, 2024 3:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: can we make window icon dynamic?
- Replies: 6
- Views: 592
Re: can we make window icon dynamic?
https://lemmasoft.renai.us/forums/viewtopic.php?p=45633#p45633 In Ren'Py, you can change the window icon at runtime using the renpy.display.set_window_icon() function. However, you must import the appropriate module before doing so. init python: import pygame from renpy.display import core # Load th...
- Sun Mar 24, 2024 7:40 am
- Forum: Ren'Py Cookbook
- Topic: Shader
- Replies: 5
- Views: 16354
Re: Shader
https://github.com/CrossCouloir/renpy-blend-modes?tab=readme-ov-file Photoshop-style blend mode shaders for Ren'Py. This library adapts Jamie Owen's glsl-blend library to be used as Ren'Py shaders, allowing you to apply Photoshop-style image blending via a Ren'Py transform. Installation This project...