Search found 1457 matches

by xavimat
Sat Apr 03, 2021 12:35 pm
Forum: Development of Ren'Py
Topic: Non-Obfuscation Asset DRM: Steam and/or Honeypots.
Replies: 2
Views: 2871

Re: Non-Obfuscation Asset DRM: Steam and/or Honeypots.

I don't think renpy assets can be protected in any way. Not only rpa can be opened, but also rpyc can be reversed into rpy files. So, any blocker in the code, can be read and bypassed. Say you have a function that calls a web server passing a key and, after checking against the database returns (or ...
by xavimat
Wed Mar 10, 2021 7:39 am
Forum: Development of Ren'Py
Topic: Keymap Help
Replies: 1
Views: 2127

Re: Keymap Help

This is the "Development of Ren'Py" subforum.
Your post should go to the "Ren'PY Questions and Announcements" subforum: viewforum.php?f=8
by xavimat
Thu Jan 21, 2021 4:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Say something from a screen
Replies: 6
Views: 462

Re: Say something from a screen

Amethysts wrote:
Mon Jan 18, 2021 2:11 pm

Code: Select all

  action Function(renpy.say(choix_resume, i.caption)
I don't know if this will work to do what you want, but this is not how the action Function is used. Parameters must be passed to Function, not to renpy.say.
by xavimat
Fri Jan 15, 2021 6:10 pm
Forum: Ren'Py Questions and Announcements
Topic: renpy.input length not working?
Replies: 8
Views: 561

Re: renpy.input length not working?

I can't see any error in the input line. It should work.
Are you sure you have restarted your game after adding the "length" parameter?

On a side note, try to avoid using the same name for different things. You have "name" as a string and also as the name of the menu.
by xavimat
Fri Jan 15, 2021 5:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Dynamic Data for a class attribute
Replies: 3
Views: 330

Re: Dynamic Data for a class attribute

I guess this is an XY problem. It seems that you are using renpy without using renpy. I mean, you want to do something (that renpy can do in its own way) but using python classes and functions. I'd suggest you to explain what do you want to do and probably there will be a way to do it in renpy. Assu...
by xavimat
Fri Jan 15, 2021 5:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Extracting dialogue from the script and importing it back
Replies: 4
Views: 394

Re: Extracting dialogue from the script and importing it back

Te replacement won't be copied to the original script, but it will be used in the actual game instead of the text in the original script. Anyway. I'd suggest to actually correct the errors in the original script. It's a lot of work, yes. Probably, correcting is the biggest work of doing... well, any...
by xavimat
Fri Jan 15, 2021 8:21 am
Forum: Ren'Py Questions and Announcements
Topic: Extracting dialogue from the script and importing it back
Replies: 4
Views: 394

Re: Extracting dialogue from the script and importing it back

Curiously, two very similar questions in two days. Short answer is no. Dialogue can be extracted, but not imported. A workaround (probably ugly), is to create a None translation and send that to your proofreader. So: - They don't get all the code, only the text lines - They can correct directly in t...
by xavimat
Wed Jan 13, 2021 6:58 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 7.4.x Prereleases
Replies: 47
Views: 23941

Re: Ren'Py 7.4.x Prereleases

Checked the side image issue (https://lemmasoft.renai.us/forums/viewtopic.php?p=537851#p537851 , addressed in https://github.com/renpy/renpy/commit/4e3d951d26478bebe71f033f42a9592904e6cd0d ) in 7.4.1 It works fine now with all say lines with attributes. It also keeps former attribute in the next say...
by xavimat
Sat Jan 02, 2021 7:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Layered image actual size and anchor?
Replies: 3
Views: 319

Re: Layered image actual size and anchor?

Internally, renpy defines truecenter this way: transform truecenter: xpos 0.5 xanchor 0.5 ypos 0.5 yanchor 0.5 So both position and anchor are on the center of the screen. The image I've attached is actually at truecenter. The problem are the calculations of the size of the layeredimage. Layeredimag...
by xavimat
Fri Jan 01, 2021 5:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Layered image actual size and anchor?
Replies: 3
Views: 319

Layered image actual size and anchor?

Ok. I have a weird question. How are total size and anchor position of a layeredimage calculated? This code: transform spining: rotate 0 linear 2 rotate 360 repeat layeredimage things: always: align (0.5, 0.5) rotate 12 "red" always: align (0.5, 0.5) "green" always: at spining align (0.5, 0.5) "blue...
by xavimat
Fri Jan 01, 2021 11:37 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 7.4.0 Released
Replies: 8
Views: 1864

Re: Ren'Py 7.4.0 Released

I'm trying to understand the incompatible change about side images. Ren'Py will now only show side images if with at least one attribute in addition to the image tag. https://www.renpy.org/doc/html/incompatible.html#incompatible-7-4 So I did a few tests. First block of tests with a defined side imag...
by xavimat
Fri Jul 03, 2020 1:26 am
Forum: Development of Ren'Py
Topic: Language 'None' dialogue translation
Replies: 3
Views: 3985

Re: Language 'None' dialogue translation

Renpy translation system is designed to translate games that are completed in the original language. Developing a game in several languages at the same time causes those problems. What I do, as rames44 has suggested, is a "translation " also for the original language. And, if I need to correct somet...
by xavimat
Sat May 09, 2020 7:51 am
Forum: Ren'Py Questions and Announcements
Topic: How to center text?
Replies: 6
Views: 355

Re: How to center text?

xalign is always relative to the container. Here you have label and text inside a vbox. So your xalign 0.5 probably is working Ok: centering the elements inside the vbox. The vbox is not centered in its container. What is the vbox container? The vbox is inside another screen (see the "use"). So you ...
by xavimat
Fri Apr 17, 2020 1:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Adding persistent data to images [SOLVED]
Replies: 11
Views: 773

Re: Adding persistent data to images [HELP]

Are you sure you need persistent variables at all? Can't you use normal variables, default them, change them in the screen and save them as a normal save? That should work. Note that "persistent" variables are shared between saves. So, if you start a new game, you'll find the values of the persisten...