Search found 14711 matches

by PyTom
Fri Nov 16, 2018 1:02 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 7.1.2 Prereleased
Replies: 8
Views: 359

Re: Ren'Py 7.1.2 Prereleased

I've made another prerelease, Ren'Py 7.1.2.1090. This fixes a bug that would likely cause a built game to error out (because script_version was being checked incorrectly.) It also fixes a bug that was triggered when showing certain layered images. Lastly, I merged a ton of translations. This release...
by PyTom
Tue Nov 13, 2018 2:20 am
Forum: Ren'Py Questions and Announcements
Topic: Keybinding Syntax: K_UP + K_LEFT?
Replies: 2
Views: 63

Re: Keybinding Syntax: K_UP + K_LEFT?

Ren'Py's key input handling doesn't support multiple keys. You'd probably want to sue a CDD to keep track of what keys have been pressed down, and then do some kind of logic on it.
by PyTom
Mon Nov 12, 2018 8:14 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved)Translation is not displayed
Replies: 3
Views: 129

Re: Translation is not displayed

The translation is applied before the who_prefix and what_prefix are applied. So you're going to want to translate:

Code: Select all

    old "孝之"
    new "Такаюки"
Or something similar.
by PyTom
Sun Nov 11, 2018 12:02 am
Forum: Ren'Py Questions and Announcements
Topic: Choppy transform (subpixel rendering not working?)
Replies: 2
Views: 103

Re: Choppy transform (subpixel rendering not working?)

Write: transform breathing: subpixel True ypos absolute(720) yanchor 1.0 ease 0.4 ypos absolute(723) ease 1.0 ypos absolute(720) repeat If you give it an integer argument, you're only going to get integers. If you give it absolute, you'll get pixel floats, which are needed for such small movements.
by PyTom
Sat Nov 10, 2018 10:42 pm
Forum: Ren'Py Questions and Announcements
Topic: TGA Files Causing Build to Fail
Replies: 3
Views: 121

Re: TGA Files Causing Build to Fail

I'm guessing there's a limit on the updater of 2GB or so. Targa's a terrible format, and targa animations seems like the worst thing possible. IIRC, it's not compressed at all, so you're just wasting user disk space. Please consider using .webm movies, or even compressing the pictures into .jpgs as ...
by PyTom
Sat Nov 10, 2018 9:49 pm
Forum: Ren'Py Questions and Announcements
Topic: What does "expression" do?
Replies: 3
Views: 92

Re: What does "expression" do?

So, normally when you do: jump foo It will jump to the label foo. However, there are times where you want to jump to a label that's been stored in a variable. For example, one that's beenm computed. Take something like: default day = 0 label day_loop: $ day += 1 "The dawn of day [day]." $ day_label ...
by PyTom
Fri Nov 09, 2018 11:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 7.1.2 Prereleased
Replies: 8
Views: 359

Ren'Py 7.1.2 Prereleased

This is currently a prerelease, so you'll have to decide if you want to release a game with code that is not yet fully tested. I'm happy to announce Ren'Py 7.1.2. This is the second bug release for Ren'Py 7.1, which improves Ren'Py while fixing issues. There have also been a few feature additions: ...
by PyTom
Thu Nov 08, 2018 8:32 pm
Forum: We are offering Paid Work
Topic: Ren'Py Postcard Commission
Replies: 4
Views: 245

Ren'Py Postcard Commission

So, as part of my Patreon , I look for artists to do commissions of Eileen, the Ren'Py mascot for my Patreon. The cards have to be draw at 3750x2250 or 2250x3750. I tend to like to give the work to people involved with visual novels. I'm looking to let out a decent number of these, and I'm generally...
by PyTom
Thu Nov 08, 2018 4:24 pm
Forum: General Discussion
Topic: What's with all the "forum spam"
Replies: 2
Views: 85

Re: What's with all the "forum spam"

It's a way of discouraging people who hand been offering to write academic documents for money from spamming the forum.
by PyTom
Tue Nov 06, 2018 11:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Current Battery Level
Replies: 9
Views: 284

Re: Current Battery Level

A python block is fine, import is bad. init python: import pygame_sdl2 screen ancilliary(): python: battery_level = pygame_sdl2.power.get_power_info().percent zorder 1000 vbox: xalign 0.99 yalign 0.01 text "Battery:[battery_level]% color "#000" size 18 Is how I'd do it.
by PyTom
Sun Nov 04, 2018 7:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Animation laggy
Replies: 4
Views: 134

Re: Animation laggy

It's 300 MB worth, generally of uncompressed data, which takes up 4 bytes per pixel. (So, 75 megapixels of images.)

Worse here is that Ren'Py can't predict this image, since it's being done in Python.
by PyTom
Sun Nov 04, 2018 2:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing a word in the game after release with patching
Replies: 5
Views: 147

Re: Changing a word in the game after release with patching

Unless there's some reason to do it, why not just change the script? As long as you have the .rpyc files from the release version when you do so, Ren'Py should be able to figure out the change.
by PyTom
Sun Nov 04, 2018 2:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Question about iap.restore() [solved]
Replies: 1
Views: 69

Re: Question about iap.restore()

One button should be able to restore them all.
by PyTom
Sun Nov 04, 2018 2:46 pm
Forum: General Discussion
Topic: What is a good way to handle exceptions when trying to read a file in python?
Replies: 1
Views: 92

Re: What is a good way to handle exceptions when trying to read a file in python?

That seems like an okay way to do it. I'll point out that the open function isn't generally supported in Ren'Py. It won't work on Android, as files don't exist on Android.

You might want to look at renpy.file(), which works everywhere, including on Android.
by PyTom
Sun Nov 04, 2018 11:58 am
Forum: Ren'Py Questions and Announcements
Topic: Animation laggy
Replies: 4
Views: 134

Re: Animation laggy

This is not something Ren'Py supports. You have an unpredictable image load, and you're loading more images into the cache than it can handle. I'd suggest in this case, just using a Movie. Movie formats are intended for rapid display like this, and will be way smaller as they can compress between fr...