Search found 102 matches

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: 167

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: 167

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: 114

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: 142

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: 114

[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 main file l...
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: 132

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: 132

[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: 123

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: 192

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? Can the siz...
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: 1051

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: 269

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: 269

Re: Processor load problem with animations

What do you have in the log file in the project folder?
by span4ev
Sun Nov 06, 2022 7:46 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Renpy and while + time.sleep()
Replies: 9
Views: 349

Re: Renpy and while + time.sleep()

Still need to figure out all the nuances to apply it. Thank you very much for the detailed example! You can also check other CDD examples for more ideas and a better understanding. Here are some links to topics that I managed to remember: 1) There is pong game inside the Ren'Py Tutorial (Ren'Py lan...
by span4ev
Sat Nov 05, 2022 9:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Renpy and while + time.sleep()
Replies: 9
Views: 349

Re: Renpy and while + time.sleep()

init python: class Bullet(renpy.Displayable): def __init__(self, child, x, y, **kwargs): super().__init__(**kwargs) self.x = x self.y = y self.child = renpy.displayable(child) self.speed = 1 self.old_st = None def render(self, width, height, st, at): if self.old_st == None: self.old_st = st dt = st...
by span4ev
Sat Nov 05, 2022 11:17 am
Forum: Ren'Py Questions and Announcements
Topic: Variable incompability
Replies: 7
Views: 258

Re: Variable incompability

I could use it but it would require me to list all the materials whenever adding a new recipe, aslso I'd have to continuously update the if's part, as well as other recipes to avoid colliding with materials it doesn't require. I updated my answer above, read it again. There I explained why your met...