Search found 2963 matches

by Imperf3kt
Wed Jun 03, 2020 3:45 am
Forum: Ren'Py Questions and Announcements
Topic: Quick button blinks while skipping
Replies: 4
Views: 262

Re: Quick button blinks while skipping

You have a section where you use a variable "persistent.skip" if persistent.skip == True : imagebutton idle "gui/button/quickmenu/skip_idle.png" hover "gui/button/quickmenu/skip_hover.png" selected_idle "gui/button/quickmenu/skip_hover.png" selected_hover "gui/button/quickmenu/skip_hover.png" action...
by Imperf3kt
Sat May 30, 2020 4:53 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center text in a textbutton?
Replies: 12
Views: 287

Re: How to center text in a textbutton?

Also text_align is wrong. Textbutton itself doesn't take text_align property. It also only positions the text within the text displayable not the container. What you want is to give the align property to the text, which in this case, is also text_align. textbutton "Click me": xpos 30 ypos 30 xysize...
by Imperf3kt
Sat May 30, 2020 11:16 am
Forum: Ren'Py Questions and Announcements
Topic: How to center text in a textbutton?
Replies: 12
Views: 287

Re: How to center text in a textbutton?

In your image, the background image is larger than the button. It isn't aligned top-left, it's just that the image extends beyond the boundaries of the button.

At least, I think.
by Imperf3kt
Fri May 29, 2020 4:54 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center text in a textbutton?
Replies: 12
Views: 287

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: [CLOSED POLL!] Winner: MAKE A RYTHM GAME!
Replies: 18
Views: 687

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? (SOLVED)
Replies: 12
Views: 545

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

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

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

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

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

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

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

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

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...