Search found 2916 matches

by Imperf3kt
Fri May 29, 2020 4:54 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center text in a textbutton?
Replies: 8
Views: 35

Re: How to center text in a textbutton?

https://www.renpy.org/doc/html/style_pr ... text_align

Code: Select all

frame:
    xalign 0.5
    yalign 0.5
    xmaximum 400
    ymaximum 400

    textbutton "Click me":
        xpos 30
        ypos 30
        text_size 30
        text_align 0.5
by Imperf3kt
Fri May 29, 2020 7:13 am
Forum: Creator Discussion
Topic: [POLL!] What tutorial for this forum?
Replies: 3
Views: 39

Re: [POLL!] What tutorial for this forum?

I like A and was planning to make such a thing one day myself.
B seems too similar to the cookbook DSE, reinventing the wheel basically
C could be useful, but might not appeal to enough people to make it worth your while.
D seems to be the best choice though, but will take a loooooot of work.
by Imperf3kt
Thu May 28, 2020 5:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Icon stuck as ren'py default?
Replies: 5
Views: 157

Re: Icon stuck as ren'py default?

They've done that according to the opening post.
Only thing I can think of is it maybe the wrong file format?
by Imperf3kt
Wed May 27, 2020 10:57 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Turn conversation into a variable?
Replies: 1
Views: 45

Re: Turn conversation into a variable?

If you have something you want to repeat multiple times that'll never really change, you can just put it in its own label, put a return at the end, and use "call label_name" to make your script jump to the label, and back when it's done.
by Imperf3kt
Wed May 27, 2020 4:49 am
Forum: Ren'Py Questions and Announcements
Topic: Image not found in ANDROID_PUBLIC path
Replies: 9
Views: 92

Re: Image not found in ANDROID_PUBLIC path

I don't know exactly. Here's some posts by pytom that might help you work things out. https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=52334&p=498223&hilit=Android#p498223 https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=52718&p=500409&hilit=Android#p500409 https://lemmasoft.renai.us/forum...
by Imperf3kt
Wed May 27, 2020 4:40 am
Forum: Ren'Py Questions and Announcements
Topic: Image not found in ANDROID_PUBLIC path
Replies: 9
Views: 92

Re: Image not found in ANDROID_PUBLIC path

Oh, you didn't mention allowing the user/player to put the mod in the game.

As far as I'm aware, it's a permissions thing - Renpy doesn't have the required permissions to read outside its own directory.
by Imperf3kt
Tue May 26, 2020 10:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Linking to other script files?
Replies: 8
Views: 112

Re: Linking to other script files?

Yes that's correct. The script of a Ren'Py game is made up of all the files found under the game directory ending with the .rpy extension. Ren'Py will consider each of these files (in Unicode order), and will use the contents of the files as the script. Generally, there's no difference between a scr...
by Imperf3kt
Tue May 26, 2020 9:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Image not found in ANDROID_PUBLIC path
Replies: 9
Views: 92

Re: Image not found in ANDROID_PUBLIC path

What does your mod change, exactly? You can change the user interface without restarting the app and sprites / backgrounds can be adjusted also. I recently updated my Android GUI (link in signature) to do exactly this. The next planned update should extend the functionality to styles. Would this be ...
by Imperf3kt
Tue May 26, 2020 7:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Image not found in ANDROID_PUBLIC path
Replies: 9
Views: 92

Re: Image not found in ANDROID_PUBLIC path

I won't pretend to understand most of this as it's all new to me, but when does the image get defined, at what stage of init?
Does placing your code in a higher (lower?) init help?
by Imperf3kt
Tue May 26, 2020 6:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Position choice boxes based on order in a spaced circle
Replies: 5
Views: 92

Re: Position choice boxes based on their enumerate

I looked up the definition of 'enumerate', but I'm still confused. Do you want a fixed number of buttons positioned in a circle, or are you trying to make buttons only appear in certain positions and not all the buttons will be used sometimes so you need them to move one space clockwise / anticlockw...
by Imperf3kt
Tue May 26, 2020 6:10 pm
Forum: Ren'Py Questions and Announcements
Topic: [Questions] Help me, please.
Replies: 4
Views: 77

Re: [Questions] Help me, please.

DDLC does this at one point and the effect is pretty good because the player is caught off guard when it happens, yet it's part of the narrative, so it's not necessarily abusing the player. No example (on a mobile device, writing code is painfully hard) but you'd want to force save the game just bef...
by Imperf3kt
Tue May 26, 2020 12:05 am
Forum: Ren'Py Questions and Announcements
Topic: Adventures in video decoders: the quest for VP9a
Replies: 6
Views: 119

Re: Adventures in video decoders: the quest for VP9a

Ren'Py compiles ffmpeg without hardware acceleration support. See https://github.com/renpy/renpy-deps/blob/de14fdbb0bd291919d566199e0f9f7677534c6da/build.sh#L407 I was under the impression that it did/required it, like mentioned here by pytom. https://lemmasoft.renai.us/forums/viewtopic.php?f=32&t=...
by Imperf3kt
Mon May 25, 2020 10:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to get the textbox to remain visible during sprite transitions??
Replies: 9
Views: 366

Re: How to get the textbox to remain visible during sprite transitions??

You could fake it. The text box is merely an image in the say screen, and since you can't stop the say screen disappearing, then just show the images themself.
by Imperf3kt
Mon May 25, 2020 10:35 am
Forum: Ren'Py Questions and Announcements
Topic: Imagemap or what?
Replies: 3
Views: 92

Re: Imagemap or what?

To be honest, an image button would be easier / more convenient - you can set focus_mask to True and only the non-alpha regions of the image will respond, allowing for more shapes than just a rectangle