Search found 3026 matches

by Imperf3kt
Wed Sep 30, 2020 3:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton Instructions
Replies: 2
Views: 33

Re: Imagebutton Instructions

https://www.renpy.org/doc/html/screens.html#imagebutton Still used, still quite simple. You can do the auto thing but the simplest instruction is: imagebutton: idle "images/someimage.png" #this is the button pos (20,50) #this is the x,y position of the button action NullAction() #what happens when ...
by Imperf3kt
Tue Sep 29, 2020 3:35 am
Forum: Ren'Py Questions and Announcements
Topic: Dynamic UI?
Replies: 5
Views: 120

Re: Dynamic UI?

Dont use persistent then, just your traditional default variables. default route = None screen my_ui(): if route is None: # default UI when a save is not loaded yet. pass elif route == "a": add "#f00" elif route == "b": add "#ff0" label start: show screen my_ui jump route_a label route_a: $ route =...
by Imperf3kt
Mon Sep 28, 2020 8:21 pm
Forum: Ren'Py Cookbook
Topic: A Tooltip whose x/y position follows the mouse's.
Replies: 10
Views: 2271

Re: A Tooltip whose x/y position follows the mouse's.

This whole thread has been super educational, thanks. Quick question, is there a way to add a background to the tooltip? Like a white box to make it easier to read? Might be a dumb question, I just can't figure out if it's possible due to the changing sizes. There's a solution for that posted near ...
by Imperf3kt
Mon Sep 28, 2020 1:28 am
Forum: Ren'Py Questions and Announcements
Topic: Coding snafu?
Replies: 7
Views: 204

Re: Coding snafu?

In python, str stands for string and is a function used to convert an integer into a string. https://www.w3schools.com/python/ref_func_str.asp Its also on the reserved names index for this reason. https://www.renpy.org/doc/html/reserved.html Changing it to anything other than "str" will work. (with ...
by Imperf3kt
Thu Sep 24, 2020 11:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Protect files from unpackers
Replies: 3
Views: 167

Re: Protect files from unpackers

This may also help. https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=50002&p=486050#p486049 While it does nothing to actually stop a player unarchiving the files, it does help confuse them when they cannot open a file they don't recognise (Although its not hard to get around if you know what yo...
by Imperf3kt
Mon Sep 21, 2020 10:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Can Renpy VNs be played on Nintendo Switch?
Replies: 5
Views: 318

Re: Can Renpy VNs be played on Nintendo Switch?

They're still posting on twitter, so I'd assume they're still around.
by Imperf3kt
Tue Sep 15, 2020 5:31 pm
Forum: Asset Creation: Music, Sound, and Movies
Topic: Can you still use Purgatory Garden's tracks?
Replies: 3
Views: 236

Re: Can you still use Purgatory Garden's tracks?

It depends what the original license was. Since the tracks were released for free use, I'm assuming something like CC3. 0, which would be fine to use. (guess only, check to be sure) Also note that copyright only does so much. If an individual / group has disappeared from the face of the planet, who ...
by Imperf3kt
Sun Sep 13, 2020 5:08 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center date/time in the save slots?
Replies: 5
Views: 170

Re: How to center date/time in the save slots?

From what I remember, the save slot buttons have the text as part of the button, so to edit its alignment you need to go to gui.rpy and edit the style "slot_button_text"
by Imperf3kt
Fri Sep 11, 2020 10:13 pm
Forum: Ren'Py Questions and Announcements
Topic: If Else Animation ATL
Replies: 2
Views: 159

Re: If Else Animation ATL

You probably want to use ConditionSwitch for this.
https://www.renpy.org/doc/html/displaya ... tionSwitch
by Imperf3kt
Fri Sep 11, 2020 1:37 am
Forum: Creative Commons
Topic: Free Portrait mode GUI template
Replies: 25
Views: 4151

Re: Free Portrait mode GUI template

Been rather busy and haven't worked on this in ages. Anyway, had a little free time over the last couple of days and used some of it to make a couple of edits. I've added a crude image gallery (reused code I made as an example for somebody else recently), it needs a fair amount of work to finish it,...
by Imperf3kt
Thu Sep 10, 2020 5:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Video with Text
Replies: 12
Views: 314

Re: Video with Text

There's several other ways you could achieve this as well.
You could use ATL or you could use movie sprites and an alpha mask or you could fudge around with the wait text tag, or (least desirable) you could just encode the subtitles into the video.
by Imperf3kt
Thu Sep 10, 2020 5:37 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make renpy ask for admin permission?
Replies: 1
Views: 163

Re: How to make renpy ask for admin permission?

The top answer here seems to do what you want. Whether it works in renpy, I can't say without testing. (which I cannot currently do) https://stackoverflow.com/questions/130763/request-uac-elevation-from-within-a-python-script Make sure you do the little edit for pythons 2.x mentioned. Note that this...
by Imperf3kt
Wed Sep 09, 2020 4:08 pm
Forum: Creator Discussion
Topic: Should you cite your sources when putting factual info in your VN?
Replies: 4
Views: 260

Re: Should you cite your sources when putting factual info in your VN?

If you've pulled info directly from somewhere, such as Wikipedia, it's actually a legal requirement to cite the source anyway. https://en.wikipedia.org/wiki/Wikipedia:Copyrights Re-use of text Attribution To re-distribute text on Wikipedia in any form, provide credit to the authors either by includi...
by Imperf3kt
Mon Sep 07, 2020 11:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Background with Borders
Replies: 2
Views: 168

Re: Background with Borders

To make it simpler, just create a black background in full resolution (scene black will do the trick) and make your other backgrounds smaller, centering them when shown.