Search found 15544 matches

by PyTom
Mon Nov 06, 2023 1:05 am
Forum: Ren'Py Questions and Announcements
Topic: How to update data without end_interaction
Replies: 4
Views: 1688

Re: How to update data without end_interaction

Can you check out the latest nightly, from https://nightly.renpy.org ? There have been a number of fixes in this area.
by PyTom
Sun Nov 05, 2023 6:57 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Pixel perfect upscaling
Replies: 7
Views: 2015

Re: Pixel perfect upscaling

Take a look at config.adjust_view_size . There's an example there in the documentation of how to force integer scaling, which can ensure that your game window is an integer multiple of the game size. (So it could be 1x, 2x, 3x, etc, but not between.) Ren'Py will add a black (by default) border aroun...
by PyTom
Thu Nov 02, 2023 7:55 pm
Forum: Ren'Py Questions and Announcements
Topic: [RESOLVED] Attempting to achieve smooth, lagless movement of screens
Replies: 8
Views: 2394

Re: Attempting to achieve smooth, lagless movement of screens

One big thing to do would be to precompute as much as possible. dungeon.GetTile looks expensive, and it seems like it has to be called a lot. What you probably want is a vpgrid that iterates over precomputed data, as much as possible. Assuming all the tiles are the same size, a vpgrid will ensure on...
by PyTom
Tue Oct 31, 2023 10:31 am
Forum: Ren'Py Questions and Announcements
Topic: Trouble optimizing a large viewport.
Replies: 10
Views: 4820

Re: Trouble optimizing a large viewport.

You might want to hit f4 to enable the image load log, and see if images aren't being predicted. If you're larger than the image cache size, that'll be a bit problem leading to unpredicted images. But fundamentally - your just putting a ton of things on the screen at once, and at some point, that's ...
by PyTom
Mon Oct 30, 2023 6:02 pm
Forum: General Discussion
Topic: variables working with vpgrids??
Replies: 5
Views: 3518

Re: variables working with vpgrids??

Sure. In that case, you can replace:

Code: Select all

           vbox:
with:

Code: Select all

         vpgrid:
        
            xalign 0.5
            yalign 0.5

            cols 1
            spacing 10

            mousewheel True
(Indented properly.)
by PyTom
Mon Oct 30, 2023 5:44 pm
Forum: General Discussion
Topic: variables working with vpgrids??
Replies: 5
Views: 3518

Re: variables working with vpgrids??

So. that's not really how you wanted to do this. I'll say that you probably don't want a vpgrid unless you have so many endings that it won't fit on one screen - if you have only a few, a vbox is fine. You also probably want a different structure to indicate which endings are unlocked. define ending...
by PyTom
Sun Oct 29, 2023 10:34 am
Forum: Ren'Py Questions and Announcements
Topic: Sending Data from RenPy-Web-App to Server
Replies: 6
Views: 2775

Re: Sending Data from RenPy-Web-App to Server

Can you try it with the new nightly? The first version didn't include working web support, and the nightly build process failed the day after, but hopefully things should work now.
by PyTom
Fri Oct 27, 2023 12:28 am
Forum: Ren'Py Questions and Announcements
Topic: Sending Data from RenPy-Web-App to Server
Replies: 6
Views: 2775

Re: Sending Data from RenPy-Web-App to Server

I just added the renpy.fetch function to Ren'Py. It handles contacting the server, and works the same way on desktop, mobile, and web.

It will be in tomorrow's nightly.
by PyTom
Thu Oct 26, 2023 11:06 am
Forum: Ren'Py Questions and Announcements
Topic: How to detect if game is running on touch device in web browser?
Replies: 4
Views: 2390

Re: How to detect if game is running on touch device in web browser?

If the ipad is lying about being an ipad, that's a bit of a problem. If you don't mind, please file an issue on github so I can track this one.
by PyTom
Thu Oct 26, 2023 11:02 am
Forum: General Discussion
Topic: Is Lemmesoft Dying
Replies: 50
Views: 29681

Re: Is Lemmesoft Dying

I'm considering re-opening the forums to direct registration again. The KS Forums have moved to a new server, and installed some plugins that have helped with the spam problem. I'm wondering if I appointed some new mods to take care of what remains, it would make the site more usable.
by PyTom
Thu Oct 26, 2023 10:58 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with keyboard (touch screen) in web version
Replies: 1
Views: 1950

Re: Problem with keyboard (touch screen) in web version

What version of Ren'Py are you using? It should be working in Ren'Py 8, at least.
by PyTom
Thu Oct 26, 2023 10:57 am
Forum: Ren'Py Questions and Announcements
Topic: Modernize splashscreen(Solved)
Replies: 1
Views: 1789

Re: Modernize splashscreen

Sorry, but this isn't likely to happen.

The presplash is designed to be incredibly simple, so Ren'Py can do its thing and and get the actual game loaded. I don't want to have some sort of complicated system that's used only for the presplash, and nowhere else in Ren'Py.
by PyTom
Thu Oct 26, 2023 10:55 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Something wrong with .webm videos in Ren'Py 8.1.3?
Replies: 3
Views: 2535

Re: Something wrong with .webm videos in Ren'Py 8.1.3?

What directory are the images in, and what's the old version you updated from. If you look into the Incompatible changes section, you'll see Ren'Py no longer looks for video files in images/ .
by PyTom
Wed Oct 25, 2023 11:45 am
Forum: Ren'Py Questions and Announcements
Topic: Sending Data from RenPy-Web-App to Server
Replies: 6
Views: 2775

Re: Sending Data from RenPy-Web-App to Server

This is kind of hard to do, because of the security implications of the web. What you have to do is to use the emscripten module to execute javascript that calls the fetch api. As a question, what sort of data are you trying to send? I'm wondering if I could come up with a fairly limited API that wo...
by PyTom
Mon Oct 23, 2023 8:17 pm
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 41
Views: 30733

Re: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

This could be a packaging or import issue, that needs to be fixed in Ren'Py. Can you put together a demo game so I can take a look?