Search found 105 matches

by span4ev
Sun Nov 26, 2023 9:34 am
Forum: Ren'Py Questions and Announcements
Topic: Creating simple dynamic objects.
Replies: 2
Views: 598

Creating simple dynamic objects.

Please help, I'm desperate. How can I create a simple object (rectangle) that I can move with visible movement animation? I used RoundRect() but I couldn't get the movement animation. I am not interested in ATL animation like "transform", animation of objects in "label" via "...
by span4ev
Tue Apr 11, 2023 3:40 pm
Forum: General Discussion
Topic: Is a missing # in a color tag an error?
Replies: 1
Views: 1691

Is a missing # in a color tag an error?

I accidentally discovered that in one game in the original scripts there are almost two hundred tags with a missing # character after the equal sign. It looked like this: {color=fff} However, there has never been an exception in the entire game. Does this mean that this error is not critical? I also...
by span4ev
Mon Jan 30, 2023 2:24 pm
Forum: Ren'Py Questions and Announcements
Topic: No module named 'names'
Replies: 1
Views: 319

No module named 'names'

I recently reinstalled Windows and formatted my hard drive with all my projects... Yes I installed the 'names ' module, it works fine in a normal python file. But when I import it into a Renpy project I get the error: No module named 'names'. I think I forgot something about installed python modules...
by span4ev
Thu Dec 01, 2022 7:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Pass a parameter to a renpy's Web version game? Get, store, use
Replies: 8
Views: 983

Re: Pass a parameter to a renpy's Web version game? Get, store, use

Unfortunately, I don't know python and don't know if renpy's web games are fully support it. It's hard for me to imagine a web build of a game, but it's easy for me to imagine a string that contains characters. As I wrote earlier, you need slices or search for the occurrence of a substring in a str...
by span4ev
Wed Nov 30, 2022 4:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Pass a parameter to a renpy's Web version game? Get, store, use
Replies: 8
Views: 983

Re: Pass a parameter to a renpy's Web version game? Get, store, use

If I understand you correctly, you need HTTP requests? It took me a couple of days recently to get Renpy and the requests library working together, but in the end I gave up. If you can do it, let me know. I didn't have a specific goal in mind, I just wanted to see if I could use Renpy to query a sit...
by span4ev
Wed Nov 30, 2022 3:58 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How do I initialize the module first (before init)?
Replies: 2
Views: 302

Re: How do I initialize the module first (before init)?

Thank you so much, I'm happy! (I should have asked that a long time ago...)
by span4ev
Wed Nov 30, 2022 1:48 am
Forum: Ren'Py Questions and Announcements
Topic: Renpy input lag when making choices and saving
Replies: 2
Views: 417

Re: Renpy input lag

I think this question needs to be clarified: are you sure that the problem is with Renpy games? If the problem is not only in renpy games, there may be many different causes, from RAM, CPU, to broken sectors on the hard drive, viruses, etc. Check other games (not Renpy). Too early to advise yet, fir...
by span4ev
Wed Nov 30, 2022 1:40 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How do I initialize the module first (before init)?
Replies: 2
Views: 302

[SOLVED] How do I initialize the module first (before init)?

I have a basic scripts.rpy file in which I create an instance of the class: init: $ game = Game() And there is a separate file (game.rpy) in which this class is described: init python: class Game: def __init__(self): pass I get the error that "name 'Game' is not defined". The Init in the m...
by span4ev
Mon Nov 21, 2022 5:40 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Very, very, very small font for 4k resolution
Replies: 2
Views: 623

Re: Very, very, very small font for 4k resolution

doesn't matter anymore. I found a place where the font size changes
by span4ev
Mon Nov 21, 2022 4:37 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Very, very, very small font for 4k resolution
Replies: 2
Views: 623

[SOLVED] Very, very, very small font for 4k resolution

Is there anything I can do about it, or did Renpy not take this into account? The font is incredibly small, and you have to put your face against the monitor and squint to read the exception... I would assume that the problem is with my Full HD monitor and 4k resolution, but that doesn't explain why...
by span4ev
Mon Nov 21, 2022 8:21 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]"Missing required positional arguments"
Replies: 2
Views: 264

Re: "Missing required positional arguments"

Show the code where you pass these arguments to label when you call it. Most likely they are not passed to label time_config label time_config(args): '[time_start]' '[time_max]' '[interval]' label start: $ time_start = 110 $ time_max = 220 $ interval = 330 call time_config([time_start,time_max,inter...
by span4ev
Fri Nov 11, 2022 1:44 pm
Forum: Ren'Py Questions and Announcements
Topic: Renpy custom Positions changing randomly [closed]
Replies: 3
Views: 303

Re: Renpy custom Positions changing randomly

Each time I show the sprite, he'll be in a different location on the screen, even though it's the same position. I tried to do it with a transform: Have you tried creating another project and testing the alignment in it? Are you sure there are no more variables named "cen" in your code? C...
by span4ev
Fri Nov 11, 2022 2:16 am
Forum: Ren'Py Questions and Announcements
Topic: Renpy 8.0.2 VP9 framerate issues
Replies: 14
Views: 1633

Re: Renpy 8.0.2 VP9 framerate issues

Mmm, I don't see the difference. First animation - no significant difference. Second animation - 10% increase in CPU load (VP9) The third and fourth animation - Increasing CPU load by 15-20%. At some point there is a sharp peak of load up to 20% or higher. For VP9 animation playback is not as stabl...
by span4ev
Mon Nov 07, 2022 7:47 am
Forum: Ren'Py Questions and Announcements
Topic: Processor load problem with animations
Replies: 4
Views: 411

Re: Processor load problem with animations

What do you have in the log file in the project folder? Nothing that strikes me as interesting. The last part is: Performance test: Interface start took 0.66s Initializing gl2 renderer: primary display bounds: (0, 0, 1440, 900) swap interval: 1 frames Windowed mode. Vendor: 'Intel Inc.' Renderer: '...
by span4ev
Sun Nov 06, 2022 4:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Processor load problem with animations
Replies: 4
Views: 411

Re: Processor load problem with animations

What do you have in the log file in the project folder?