Search found 1427 matches

by xavimat
Fri Oct 11, 2019 5:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 7.3.4 Released
Replies: 2
Views: 402

Re: Ren'Py 7.3.4 Released

I think the audio folder it's a very good idea. I've updated to 7.3.4.596 and created a new empty game.. and the "audio" directory is not there. Is this a bug or intended? Am I missing something? I think that, like the empty "images" directory is created, also an empty "audio" directory should be cr...
by xavimat
Mon Oct 07, 2019 11:50 am
Forum: Ren'Py Questions and Announcements
Topic: Open a URL
Replies: 4
Views: 1413

Re: Open a URL

And it is possible to embed the webbrowser into the screen? Wow, Chivone, that's asking too much to renpy. But, renpy can access the web and retrieve information and images and use them (for example in a screen). I do that importing urllib and urllib2. See also: https://www.patreon.com/posts/news-f...
by xavimat
Mon Oct 07, 2019 7:06 am
Forum: Ren'Py Questions and Announcements
Topic: RenPy alarm(?)
Replies: 8
Views: 196

Re: RenPy alarm(?)

isobellesophia wrote:
Sun Oct 06, 2019 10:45 pm
...the game itself will open...
Do you mean that the game was closed before?
That is not possible. Computers don't open programs on their own (yet), thanks God. You'd need another hidden program running that executes your game in a given time.
by xavimat
Sat Oct 05, 2019 9:48 am
Forum: Ren'Py Questions and Announcements
Topic: animated graphic timer using screens?
Replies: 2
Views: 153

Re: animated graphic timer using screens?

Try:

Code: Select all

add "greentimer60"
by xavimat
Thu Sep 26, 2019 1:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Create a loading screen when sending server request
Replies: 1
Views: 257

Re: Create a loading screen when sending server request

I haven't checked all your code, but you probably need renpy.show_screen() instead of renpy.call_screen().

Also, don't put "init python" inside a label. Renpy will execute all "init whatever" at init time, so it's wasting indentation and your code is more confusing.
by xavimat
Fri Sep 20, 2019 5:09 pm
Forum: Creator Discussion
Topic: How to make an app (like choices and Episode) to host my own Visual Novels?
Replies: 5
Views: 1101

Re: How to make an app (like choices and Episode) to host my own Visual Novels?

With renpy you can develop a game that downloads different parts as "DLC".
https://renpy.org/doc/html/build.html?highlight=dlc
https://renpy.org/doc/html/updater.html?highlight=dlc

(The launcher does it when you download a text editor, for example, or rapt.)
You'll need your own web host.
by xavimat
Fri Sep 20, 2019 4:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Spanish translations don't show accentuation
Replies: 6
Views: 291

Re: Spanish translations don't show accentuation

It seems your font has no accents, you need another font that supports them.
by xavimat
Tue Sep 17, 2019 4:52 pm
Forum: Ren'Py Questions and Announcements
Topic: double-clicks when using centered
Replies: 2
Views: 267

Re: double-clicks when using centered

That's strange. Can you show us your code? Have you put a pause?
by xavimat
Sun Sep 15, 2019 5:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Flying textbox
Replies: 4
Views: 323

Re: Flying textbox

You can apply transforms with "at" to the window in the "screen say" in screens.rpy. For example: transform fly: yoffset 0 xoffset 800 block: parallel: easein 1.0 yoffset -500 parallel: easeout 1.0 xoffset 400 block: parallel: easeout 1.0 yoffset 0 parallel: easein 1.0 xoffset 0 screen say(who, what...
by xavimat
Fri Aug 30, 2019 11:33 am
Forum: Ren'Py Questions and Announcements
Topic: Enabling Textbuttons to Add Duplicate Items to the Inventory
Replies: 8
Views: 411

Re: Enabling Textbuttons to Add Duplicate Items to the Inventory

My approach is slightly different: Instead of having two lists: inventory and shop_inventory, I have only one with all items in it. Also I add an attribute to items: quantity = 0. So, If you want to see/use your inventory, you can see/use only the items that have item.quantity > 0 . If you want to b...
by xavimat
Thu Aug 29, 2019 1:04 pm
Forum: Ren'Py Questions and Announcements
Topic: renpy.quit with if or label
Replies: 2
Views: 264

Re: renpy.quit with if or label

I'm not sure why do you want to relaunch. Relaunch means that renpy will close, so you can't put any line of code after it. It will relaunch to the main_menu. What you can do is to use a persistent variable and check it before the main menu, for example, in the before_main_menu special label: https:...
by xavimat
Wed Jul 31, 2019 9:59 am
Forum: Ren'Py Questions and Announcements
Topic: Language chooser loop error
Replies: 4
Views: 346

Re: Language chooser loop error

The "change language" function already restarts renpy (or something like that). It's possible that your lines after the menu are not executed. Be sure to change the persistent variable immediately before the change_language but not before the menu: if not persistent.lang_check: menu: "English": $ pe...
by xavimat
Wed Jul 31, 2019 9:47 am
Forum: Ren'Py Questions and Announcements
Topic: Jump to variable determined label?
Replies: 10
Views: 2100

Re: Jump to variable determined label?

You can add zfill to Alex's answer to add zeros to the left (in your post your labels have zeros):

Code: Select all

$ rand = str(renpy.random.randint(0, 13)).zfill(2)
Also, IMHO using"join" it's too much to join two simple strings. I'd use +

Code: Select all

jump expression "bla" + rand
by xavimat
Sun Jul 14, 2019 10:09 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Defining and calling custom functions in game and screens
Replies: 6
Views: 422

Re: defining and calling custom functions in game and screens

Creator defined statements are too advanced stuff for this, relatively simple, question. I haven't understood exactly what you need. But I guess some of these can be useful for you: 1. You can use labels and call them to repeat some renpy code. Labels will behave similar to functions. You can pass a...