Search found 715 matches

by Andredron
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: 247

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,...
by Andredron
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: 247

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...
by Andredron
Sun Mar 31, 2024 10:49 am
Forum: Ren'Py Questions and Announcements
Topic: can we make window icon dynamic?
Replies: 6
Views: 601

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...
by Andredron
Sun Mar 31, 2024 3:31 am
Forum: Ren'Py Questions and Announcements
Topic: can we make window icon dynamic?
Replies: 6
Views: 601

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...
by Andredron
Sun Mar 24, 2024 7:40 am
Forum: Ren'Py Cookbook
Topic: Shader
Replies: 5
Views: 18719

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...
by Andredron
Sun Mar 24, 2024 5:33 am
Forum: Ren'Py Cookbook
Topic: Imitation Baldur's Gate dice animation effect
Replies: 0
Views: 235

Imitation Baldur's Gate dice animation effect

Post - https://www.renpy.cn/thread-1508-1-1.html https://i.postimg.cc/QCpvqpJ1/1.gif A while ago, I imitated Baldur's Gate in the group to implement a random dice rolling effect on a whim. The code was poorly written. Finally, with the help of ZYKsslm boss, I finally made the code run normally witho...
by Andredron
Tue Mar 12, 2024 7:03 am
Forum: Ren'Py Cookbook
Topic: Scrolling Wheel Displayable
Replies: 1
Views: 386

Re: Scrolling Wheel Displayable

Forum rules Do not post questions here! This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum. Good afternoon, you have the wrong section to publish in. The cookbook publishes code, not a link to download code ...
by Andredron
Tue Feb 27, 2024 8:35 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 556
Views: 600720

Re: Ren'Py Gripes

Can this example be added to this section in the document, because there is no information other than references.

viewtopic.php?f=51&t=49196

https://www.renpy.org/doc/html/iap.html
by Andredron
Tue Feb 27, 2024 8:03 pm
Forum: Ren'Py Cookbook
Topic: Gestures (Detailed analysis)
Replies: 0
Views: 532

Gestures (Detailed analysis)

If you've ever tried to build a gesture system into a game and looked online for information about it, you realize how terrible its documentation is https://www.renpy.org/doc/html/gesture.html It gives very little information and unlike other pages in the documentation - there is no example of use, ...
by Andredron
Tue Feb 27, 2024 9:49 am
Forum: Ren'Py Questions and Announcements
Topic: How to create a search box function with imagebuttons?
Replies: 11
Views: 1255

Re: How to create a search box function with imagebuttons?

You also can search "on the fly", filtering searched strings while user types, starting maybe from 3 symbols. There's "changed" property of "input" that allows doing so: https://www.renpy.org/dev-doc/html/screens.html#input Here is a test script (function "search_...
by Andredron
Tue Feb 27, 2024 7:53 am
Forum: Ren'Py Questions and Announcements
Topic: There's a problem with the star system map.
Replies: 6
Views: 478

Re: There's a problem with the star system map.

map_planet.rpy [/code] I don't know why this even works (does it?), but your screen contains faulty code: - "scene" is not a valid statement for a screen, it's used in labels to clear the master layer - "image" is not a valid statement for a screen, it's used for defining images...
by Andredron
Tue Feb 27, 2024 5:56 am
Forum: Ren'Py Questions and Announcements
Topic: There's a problem with the star system map.
Replies: 6
Views: 478

Re: There's a problem with the star system map.

map_planet.rpy init python: # Initialize variables star_systems = { 'tatooine': { 'name': 'Tatooine', 'x': 300, 'y': 400, 'description': 'A desert planet on the Outer Rim Territories.', 'image': 'images/tatooine.png', }, 'alderaan': { 'name': 'Alderaan', 'x': 700, 'y': 200, 'description': 'A peacefu...
by Andredron
Tue Feb 27, 2024 12:49 am
Forum: Ren'Py Questions and Announcements
Topic: There's a problem with the star system map.
Replies: 6
Views: 478

There's a problem with the star system map.

Hi everyone, I'm making a star system map of the star wars universe, while I was making the map I ran into some problems on them that I'm not quite getting around to solving. Please help me. My code: map_planet.rpy init python: # Initialize variables star_systems = { 'tatooine': { 'name': 'Tatooine'...