Search found 15 matches

by FlipTopBin
Tue Jul 28, 2020 5:38 am
Forum: Ren'Py Questions and Announcements
Topic: Text wrapping and button growth direction
Replies: 4
Views: 292

[solved]Text wrapping and button growth direction

Thanks for all the help guys. This worked for me:

Code: Select all

screen choice(items):
    style_prefix "choice"

    hbox:
        xalign 0.5
        yalign 0.9
        xanchor 0.5
        yanchor 0.0

        for i in items:
            textbutton i.caption action i.action
by FlipTopBin
Mon Jul 27, 2020 4:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Text wrapping and button growth direction
Replies: 4
Views: 292

Re: Text wrapping and button growth direction

OK, looked at the docs and very confused by "anchor". Currently I have my screen defined as 2560x1440 and this for my choice box screen choice(items): style_prefix "choice" hbox: xalign 0.5 yalign 0.9 for i in items: textbutton i.caption action i.action How would I alter this so ...
by FlipTopBin
Sun Jul 26, 2020 12:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Text wrapping and button growth direction
Replies: 4
Views: 292

Text wrapping and button growth direction

I am messing around with choice button styles at the moment and have all my choices arranged in a nice horizontal line (hbox) now instead of the usual virtical list (vbox) The problem I am having is that if the text for a particular choice wraps then its button grows both up and down to accomodate t...
by FlipTopBin
Mon Nov 18, 2019 8:36 am
Forum: Ren'Py Questions and Announcements
Topic: Wait for a mouse click function
Replies: 1
Views: 434

Wait for a mouse click function

Hi All, I am looking for a way to wait for a mouseclick and then see the coordinates of the click. I was hoping for something nice and easy like: $ x, y = renpy.waitForMouseClick() But no such luck it seems. I found pause and get_mouse_pos() but pause will continue after a keypress as well and I nee...
by FlipTopBin
Mon Jul 23, 2018 2:01 am
Forum: Ren'Py Questions and Announcements
Topic: movie_cutscene stops working
Replies: 4
Views: 1022

[SOLVED] movie_cutscene stops working

If you turn off the sound in options.rpy then movies stop working!
by FlipTopBin
Sun Jul 22, 2018 2:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Case Sensitive Image names
Replies: 4
Views: 665

Re: Case Sensitive Image names

My VN already has 100s of images and will be well into the 1000s by the time I am done so I have to give them descriptive multi-word names like: BobAlleyJumpsLeftFiresGun I could write bob_alley_jumps_left_fires_gun but this would involve me re-writing several hundred names at this point as I used t...
by FlipTopBin
Sun Jul 22, 2018 9:58 am
Forum: Ren'Py Questions and Announcements
Topic: Case Sensitive Image names
Replies: 4
Views: 665

Re: Case Sensitive Image names

Yeah. I am trying to get away from having to define everything through an image object which is what I do now. Lets put this another way then: If Renpy is going to convert all my file names to lowercase before processing them, then there should be some corresponding behaviour you can switch on to co...
by FlipTopBin
Sun Jul 22, 2018 6:20 am
Forum: Ren'Py Questions and Announcements
Topic: Case Sensitive Image names
Replies: 4
Views: 665

Case Sensitive Image names

My apologies for this question which must have been asked 1000 times but I just can't find the answer at the moment: I understand that scene test will match test.jpg and Test.jpg, but scene Test will match neither Is there any way to make the image name in the scene statement case insensitive so tha...
by FlipTopBin
Sat Apr 28, 2018 12:00 am
Forum: Ren'Py Questions and Announcements
Topic: movie_cutscene stops working
Replies: 4
Views: 1022

Re: movie_cutscene stops working

6.99.14.2.3333
by FlipTopBin
Sun Apr 22, 2018 10:18 am
Forum: Ren'Py Questions and Announcements
Topic: movie_cutscene stops working
Replies: 4
Views: 1022

movie_cutscene stops working

I start my game with a short cut_scene and if I create a new renpy project and paste in this code it works fine: label start: $ version = 0.0 call initialisation scene lobby2 show SophieSmile114 window hide $ renpy.movie_cutscene("01/SophieSmile.webm") pause window auto Then after some tim...
by FlipTopBin
Thu Apr 12, 2018 2:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Saved game woes
Replies: 2
Views: 321

Re: Saved game woes

Worked a treat.

Thanks!
by FlipTopBin
Thu Apr 12, 2018 12:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Saved game woes
Replies: 2
Views: 321

Saved game woes

I have the say window set to auto which is working well. When I get to my main screen with my own UI the say window disappears and everything is cool. If I now save the game with the window in this hidden state then restart the game and load the save file, the say window appears all across the botto...
by FlipTopBin
Thu Apr 12, 2018 9:48 am
Forum: Ren'Py Questions and Announcements
Topic: Ms Windows style text buttons
Replies: 3
Views: 455

Ms Windows style text buttons

I am wondering if there is an easy way to make microsoft windows style clicky text buttons or do I have to handcraft imagebuttons every time?
by FlipTopBin
Thu Apr 12, 2018 8:59 am
Forum: Ren'Py Questions and Announcements
Topic: screen image issue
Replies: 2
Views: 345

Re: screen image issue

Star!

add icon pos (90, 60)

did the trick. Thanks for putting me out of my misery so quickly.
by FlipTopBin
Thu Apr 12, 2018 6:14 am
Forum: Ren'Py Questions and Announcements
Topic: screen image issue
Replies: 2
Views: 345

screen image issue

Hi All, I am trying to write a simple screen which shows an information page for each character/subplot in my novel and it almost but not quite works. Everything is working apart from the icon. The story name and hint are displayed correctly and change correctly when you hit Prev/Next, the exit butt...