Search found 23 matches

by Lutka
Thu Apr 19, 2018 4:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Float value to integer?
Replies: 1
Views: 171

Re: Float value to integer?

Okay sorry, I got it. If anyone is interested in the solution

Code: Select all

text "{color=#ff88ba}Character Per Second: {/color}"
                    $ val = int(round(preferences.text_cps))
                    $ val = '∞' if val == 0 else val
                    text "{color=#ff88ba}[val]{/color}"
by Lutka
Thu Apr 19, 2018 4:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Float value to integer?
Replies: 1
Views: 171

Float value to integer?

This is better to explain by just showing you Here's my code vbox: label _("Text Speed \n") bar value Preference("text speed") hbox: text _("{color=#ff88ba}Character Per Second: {/color}") text "{color=#ff88ba}[preferences.text_cps]{/color}" That's in the preferences menu. I like how it shows the te...
by Lutka
Wed Sep 06, 2017 4:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Translation for custom screen
Replies: 5
Views: 420

Re: Translation for custom screen

That did it, you're a god Don, I bloody love ya' m9
by Lutka
Wed Sep 06, 2017 2:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Translation for custom screen
Replies: 5
Views: 420

Re: Translation for custom screen

Sorry for the late answer, I was away from my computer for a while before I could try it out. It worked, thank you so much :) One other thing I'm having issues with is image translations. So I read through this part of the documentation https://www.renpy.org/doc/html/translation.html#image-and-file-...
by Lutka
Tue Sep 05, 2017 12:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Translation for custom screen
Replies: 5
Views: 420

[SOLVED] Translation for custom screen

So, a while back, I made these custom choice button menus for my game, for a long time, there was no issue, but now I'm looking in to making a translation version of my game, and the custom menu choices do not show up in the translation files as things to translate Here's what they look like in code...
by Lutka
Thu Aug 31, 2017 10:37 am
Forum: Ren'Py Questions and Announcements
Topic: Displaing preference variables
Replies: 2
Views: 233

Re: Displaing preference variables

Thanks for the quick reply, that worked :)
by Lutka
Thu Aug 31, 2017 9:57 am
Forum: Ren'Py Questions and Announcements
Topic: Displaing preference variables
Replies: 2
Views: 233

Displaing preference variables

So the default bar you drag to change the text speed is quite bare bones, I was thinking would it be possible to display the text speed variable as a number next to the bar? For the life of me I can't figure out what the variable would even be called, let alone how to call it in to text. Where are t...
by Lutka
Wed Aug 16, 2017 4:19 am
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton hover transitions
Replies: 3
Views: 581

Re: Imagebutton hover transitions

Well maybe I'm just not suited for this stuff but I tried this stuff from your link, like so transform bdiss: on hover: dissolve(0.3) on idle: dissolve(0.1) and then gave the imagebutton this imagebutton auto "/gui/start_%s.png" action Start() at bdiss This just gives me the error Attribute error: '...
by Lutka
Mon Aug 14, 2017 2:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Character statements auto-span multiple clicks?
Replies: 1
Views: 176

Re: Character statements auto-span multiple clicks?

Don't know if that is possible, but i have an idea about having to guess the amount of characters that would look good, one thing you could try is looking up the good amount of characters once, and then using the column number to always find that amount of characters. At least in Editra v0.6.99 whic...
by Lutka
Mon Aug 14, 2017 2:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton hover transitions
Replies: 3
Views: 581

Imagebutton hover transitions

Hi

I'd like to have my imagebutton instead of immediately turning in to the hovered image when hovered, have it transition to the hovered image with a dissolve animation

How could I get something like that for a basic imagebutton like this

Code: Select all

imagebutton auto "/gui/start_%s.png" action Start()
by Lutka
Sun Jul 30, 2017 10:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Scrollbars in viewports are acting very strangely
Replies: 2
Views: 327

Re: Scrollbars in viewports are acting very strangely

Well that was an easy fix hahhah :D thank you
by Lutka
Sun Jul 30, 2017 8:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Scrollbars in viewports are acting very strangely
Replies: 2
Views: 327

Scrollbars in viewports are acting very strangely

So I'm trying to redo my games "about" page so there's two different ones, one for in game and one for when in the main menu My problem is, when I try to make the about page's text look nice and scrollable like it was before I started messing with it, this happens http://i.imgur.com/7yYNys6.png If y...
by Lutka
Thu Jun 08, 2017 1:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]Possible infinite loop. Even though there isn't one
Replies: 3
Views: 414

Re: Possible infinite loop. Even though there isn't one

In the part when the loop is finished and you actually jump to the next label, or maybe at the start of the next label, you should reset the value of your counter. if cuntpoints >= 50: $cuntpoints = 0 jump animsexcont This seems to be working! I'll also try the other method if this does start givin...
by Lutka
Tue Jun 06, 2017 5:12 pm
Forum: Ren'Py Questions and Announcements
Topic: My screen script won't work suddenly
Replies: 2
Views: 352

Re: My screen script won't work suddenly

So this probably doesn't have anything to do with the screens.rpy file if you didn't change it. Instead, I'd venture to guess whatever you just changed is the issue and renpy is just giving you an unclear error message. Can you remember what you were doing when this issue popped up? Edit: It's also ...
by Lutka
Tue Jun 06, 2017 5:02 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]Possible infinite loop. Even though there isn't one
Replies: 3
Views: 414

[solved]Possible infinite loop. Even though there isn't one

Hey I tried doing something a little wild and I made a looping scene changing screen monstrosity Here's the code from script.rpy $ cuntpoints = 0 label animsex: show screen onechoice("Continue", "animsexcont") scene img130 pause 0.5 scene img131 with vpunch pause 0.5 $ cuntpoints += 1 if cuntpoints ...