Search found 509 matches

by Kinmoku
Fri May 08, 2020 11:59 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Have NVL mode fit in a box
Replies: 11
Views: 696

Re: Have NVL mode fit in a box

... Try viewport id "vp": #draggable True yinitial 1.0 This might be that game isn't progress 'cause it treats mouse click over the viewport as an attempt to drag it. Yes this works. It means I lose draggable, which is unfortunate, but I'm going for a retro-looking UI anyway, so I'll try adding a s...
by Kinmoku
Fri May 08, 2020 8:30 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Show a group of NVL entries at once?
Replies: 1
Views: 165

Re: Show a group of NVL entries at once?

Nevermind, I found this: https://www.renpy.org/doc/html/multiple.html

Final code:

Code: Select all

    z "Hey." (multiple=4)
    e "Hey dude." (multiple=4)
    z "How are you doing?." (multiple=4)
    e "Good thanks. You?" (multiple=4)
by Kinmoku
Fri May 08, 2020 6:48 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Show a group of NVL entries at once?
Replies: 1
Views: 165

[SOLVED] Show a group of NVL entries at once?

Hi all. Is it possible to show a group of NVL mode entries at the same time? I want the player to view a conversation that's already happened and not have it play out as normal i.e. one character per line. Below is a chunk of dialogue I want to show all together, with one mouse click. z "Hey." e "He...
by Kinmoku
Thu May 07, 2020 12:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Input text multiple times - How to make each input unique?
Replies: 3
Views: 172

Re: Input text multiple times - How to make each input unique?

Wow, thanks for the quick response both of you!
Milkymalk wrote:
Thu May 07, 2020 12:24 pm
Try
$ fflog.add_chat(msg=note, nick="Emmett", avatar="images/avatars/default.png", posttime="< 1 hour ago")
I did this and it works perfectly :) Thanks a bunch!
by Kinmoku
Thu May 07, 2020 12:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Input text multiple times - How to make each input unique?
Replies: 3
Views: 172

[SOLVED] Input text multiple times - How to make each input unique?

Hi all. I'm struggling to get my head around this... I have a custom input screen where the player can post on a "message board", and if they want to, they can post again (or later in the game). When they post, their message goes up and you can see it, but if you go back to the input screen, the tex...
by Kinmoku
Tue May 05, 2020 10:38 am
Forum: Ren'Py Questions and Announcements
Topic: Chat log - Adding like, message and report buttons
Replies: 0
Views: 152

Chat log - Adding like, message and report buttons

Hi all. I'm using the Ren'py Chat Log code https://poorlifechoices.itch.io/renpy-chatlog and have it working how I like. However, I want to add some buttons: like, message and report. Like simply adds a number to the one shown. Message opens up another screen where you can type a message and post. R...
by Kinmoku
Tue May 05, 2020 4:51 am
Forum: Ren'Py Cookbook
Topic: Mobile phone text-message system
Replies: 36
Views: 20132

Re: Mobile phone text-message system

Made an account after lurking for forever just to reply to this lmao. Wanted to know if you've seen this scrolling chat on itchio . Seems like one would be able to incorporate it into the sms gui to get scrolling sms! I'm not confident enough to try it out myself so if someone else succeeds it'd be...
by Kinmoku
Tue May 05, 2020 4:49 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Have NVL mode fit in a box
Replies: 11
Views: 696

Re: Have NVL mode fit in a box

Ah, I needed to change yinitial for it to work. However, it still had an issue which meant that the viewport didn't progress the dialogue when clicked on (clicking off it was fine, but because it's so big, it felt like the game was broken). I added a button for the shape/ position of the viewport to...
by Kinmoku
Mon May 04, 2020 5:00 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Have NVL mode fit in a box
Replies: 11
Views: 696

Re: Have NVL mode fit in a box

Alex wrote:
Thu Apr 23, 2020 3:47 pm
Try this sample
Hey, sorry it took me a while to try this out. It creates the frame but none of the dialogue shows, however, if I click enough times, the menu then appears as desired...So the dialogue is playing, it just cannot be seen :( The text is white on black so I don't think it's hiding.
by Kinmoku
Thu Apr 23, 2020 3:39 am
Forum: Ren'Py Questions and Announcements
Topic: FileTakeScreenshot - Showing screenshot back to player
Replies: 18
Views: 642

Re: FileTakeScreenshot - Showing screenshot back to player

Ugh... you're right. It works fine at the default window size, but in full screen it doesn't work at all... BUT, I think once again transforms will be our friend! I changed the thumbnail transform and added another one for full screen: # A thumbnail version of a full screen image transform thumbnai...
by Kinmoku
Wed Apr 22, 2020 4:49 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Have NVL mode fit in a box
Replies: 11
Views: 696

Re: Have NVL mode fit in a box

Try to put the nvl box with dialogues inside a viewport - viewtopic.php?f=8&t=23434#p293323 Oh cool :) Viewport works just like I want. Your previous post is just what I was looking for! However, I have a strange issue where I have to click several times (or skip) to progress the dialogue along. On...
by Kinmoku
Wed Apr 22, 2020 4:14 am
Forum: Ren'Py Questions and Announcements
Topic: FileTakeScreenshot - Showing screenshot back to player
Replies: 18
Views: 642

Re: FileTakeScreenshot - Showing screenshot back to player

The problem with statically declaring your image is that images get cached - Ren'Py loads them once and then keeps them around and doesn't reload them unless you haven't used them for a long time. This is also the reason that you can't declare images after your code starts. So you need to show your...
by Kinmoku
Tue Apr 21, 2020 12:48 pm
Forum: Ren'Py Questions and Announcements
Topic: FileTakeScreenshot - Showing screenshot back to player
Replies: 18
Views: 642

Re: FileTakeScreenshot - Showing screenshot back to player

This is similar to the method used by this cell phone emulationcode, so you might take a look at that if you need just a certain part of the screen. This post is awesome! I'll check over it in more detail soon. As you've both suggested, Crop is the best solution here. However, it doesn't display co...
by Kinmoku
Tue Apr 21, 2020 10:36 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Have NVL mode fit in a box
Replies: 11
Views: 696

Re: Have NVL mode fit in a box

The first seems to be the screen used for menus and the second for dialogue. I'd try going there and put the size and location of those screens where you want them. Thanks Trooper. I've tried changing all kinds of properties: "yfill False", "ysize 800", "yminimum 800", "bottom_margin 300" etc. I've...
by Kinmoku
Tue Apr 21, 2020 10:04 am
Forum: Ren'Py Questions and Announcements
Topic: FileTakeScreenshot - Showing screenshot back to player
Replies: 18
Views: 642

Re: FileTakeScreenshot - Showing screenshot back to player

u might need to replace the done action with the take_picture function CODE: SELECT ALL textbutton "Done" action Function(take_picture) Awesome :D Works like a charm! also why are you trying to show the canvas? doesn't that will cause the user to proceed to the next dialogues freely while drawing? ...