Search found 37 matches

by Karrion
Tue Sep 01, 2020 9:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Making a scrollable/draggable start on top
Replies: 0
Views: 138

Making a scrollable/draggable start on top

I've been using this recently: https://poorlifechoices.itch.io/renpy-chatlog and while it works perfectly, the only problem I have right now is that every time I add a message, the log scrolls down automaticaly and as I have the chat in a different screen than main, I need to have the scroll start o...
by Karrion
Thu Aug 20, 2020 4:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Adding a frame to text messages
Replies: 0
Views: 323

Adding a frame to text messages

I've been tinkering with this script for text messages (https://poorlifechoices.itch.io/renpy-chatlog) and, while it seems pretty useful, I'd like to add a frame to each message to better separate each message and have a nicer UI in general. Is there an easy way to add a frame that will automaticall...
by Karrion
Tue Jul 14, 2020 12:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Mismatched sound assignation
Replies: 2
Views: 261

Re: Mismatched sound assignation

The mismatching was solved by putting the Play action before the ShowMenu, however, the sound not playing on some transitions (such as when exiting the game or when loading a save), still don't work, neither by putting Play before the other action, nor by using activate_sound
by Karrion
Sun Jul 12, 2020 3:44 pm
Forum: Ren'Py Questions and Announcements
Topic: Mismatched sound assignation
Replies: 2
Views: 261

Mismatched sound assignation

I'm having this very weird problem where if I put a play action on a button, it changes another button instead of the one it's supposed to change, while the button itself does not play any sound. The two button codes are like this: imagebutton idle "images/boton.png" action [ShowMenu("chat_menu"),Pl...
by Karrion
Wed Jul 08, 2020 12:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Translating a font for everything
Replies: 7
Views: 264

Re: Translating a font for everything

Ah yes, I just found about the function right now. Also, tried choice_button_text, did not work. Edit: I just looked at the style inspector to see if I could find what style I have to modify, and apparently it's "confirm_prompt_text". Now I have to look for the one in the date for the saveslots. Edi...
by Karrion
Wed Jul 08, 2020 12:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Translating a font for everything
Replies: 7
Views: 264

Re: Translating a font for everything

Is there no option to make the translate_font function to work or a similar alternative? I don't really understand what did you do.
by Karrion
Wed Jul 08, 2020 11:34 am
Forum: Ren'Py Questions and Announcements
Topic: Translating a font for everything
Replies: 7
Views: 264

Re: Translating a font for everything

Does not work, ren'py says the function is not defined I'm sorry, but an uncaught exception occurred. While running game code: File "game/language.rpy", line 1, in script init python: File "game/language.rpy", line 2, in <module> translate_font("japanese", "fonts/dougenzaka16.ttf") NameError: name '...
by Karrion
Wed Jul 08, 2020 11:06 am
Forum: Ren'Py Questions and Announcements
Topic: Translating a font for everything
Replies: 7
Views: 264

Translating a font for everything

Hello! Is there a way for the game to use the same font for everything when selecting another language? I want to have the game in japanese, however when I use the translate_font function, ren'py says it's not defined. Also, I tried putting gui.setpreference("font","nameofthefont.ttf") on the button...
by Karrion
Wed Jul 08, 2020 10:04 am
Forum: Ren'Py Questions and Announcements
Topic: Common.rpy does not translate
Replies: 2
Views: 233

Re: Common.rpy does not translate

Not only did that work, but also fixed the toggling languages problem. Thank you so much!
by Karrion
Tue Jul 07, 2020 6:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Common.rpy does not translate
Replies: 2
Views: 233

Common.rpy does not translate

So, I tried translating some strings in the common.rpy file to spanish, but for some reason it does not apply to the game. I tried recompiling, deleting persistent, etc, and it didn't work. I tried translating some of the other .rpy's to see if it was a general problem... It wasn't. Everything else ...
by Karrion
Tue Jul 07, 2020 5:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Time format on saveslots
Replies: 3
Views: 312

Re: Time format on saveslots

Ah, yes, thank you! I was looking for format options and couldn't find anything in the ren'py documentation. The all-caps thing is not important so we'll just leave it as-is.
by Karrion
Tue Jul 07, 2020 5:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Image does not load on android but yes on PC
Replies: 2
Views: 293

Re: Image does not load on android but yes on PC

That... was indeed the problem; only changing the extension didn't work but re-exporting the images did. Thank you!
by Karrion
Mon Jul 06, 2020 9:44 am
Forum: Ren'Py Questions and Announcements
Topic: How can I make a button to return to the main menu
Replies: 3
Views: 329

Re: How can I make a button to return to the main menu

The MainMenu() function also covers that, thankfully.
by Karrion
Sat Jul 04, 2020 12:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Image does not load on android but yes on PC
Replies: 2
Views: 293

Image does not load on android but yes on PC

So, for some reason, there are 2 images that won't load on my phone. On PC everything works perfectly and I tried the phone emulation from ren'py and it also works perfectly. However, when I run the game on my phone, I get a "JPEG Loading error", I changed the extension from .jpg to .png to see if t...
by Karrion
Sat Jul 04, 2020 11:27 am
Forum: Ren'Py Questions and Announcements
Topic: I can't load slots on one of my load screens
Replies: 2
Views: 218

Re: I can't load slots on one of my load screens

That worked perfectly! Thank you! :D