Search found 678 matches

by Divona
Fri Oct 27, 2017 12:01 am
Forum: Ren'Py Questions and Announcements
Topic: Is there datetime, date, time... or anything like that.
Replies: 2
Views: 628

Re: Is there datetime, date, time... or anything like that.

If you mean Python datetime (local real time) then you can import it in: viewtopic.php?f=8&t=40687&p=430540#p430540
by Divona
Thu Oct 26, 2017 1:07 pm
Forum: Ren'Py Questions and Announcements
Topic: <<Resolved>> active changing "image[val].png" in a screen
Replies: 5
Views: 315

Re: active changing "image[val].png" in a screen

Variable interpret should work in screen "add":

Code: Select all

default hourTime = 8

screen sideClock():
    hbox:
        add "_clock_[hourTime].png"
by Divona
Thu Oct 26, 2017 12:14 pm
Forum: Ren'Py Questions and Announcements
Topic: <<Resolved>> text over an image, not a button...
Replies: 6
Views: 430

Re: text over an image, not a button...

Try: hbox: ypos 8 fixed: xmaximum 192 # width of _clock_8.png ymaximum 64 # height of _clock_8.png add "_clock_8.png" fixed: xmaximum 64 # width of _calendar.png ymaximum 64 # height of _calendar.png xpos 8 add "_calendar.png" text "{color=#000}WED{/color}" xalign 0.5 yalign 1.0 text "{color=#000}21...
by Divona
Thu Oct 26, 2017 12:40 am
Forum: Ren'Py Questions and Announcements
Topic: <<Resolved>> text over an image, not a button...
Replies: 6
Views: 430

Re: text over an image, not a button...

I'm still not quite see the picture of what the final result should look like. Do you have a sample image of what do you want the end result to be? For calendar, it should be something as simple as: hbox: fixed: xmaximum 192 ymaximum 192 add "#ff0000" text "Saturday" xalign 0.5 yalign 0.05 text "30"...
by Divona
Wed Oct 25, 2017 11:46 am
Forum: Ren'Py Questions and Announcements
Topic: Change textbutton color [SOLVED]
Replies: 2
Views: 205

Re: Change textbutton color

Code: Select all

    vbox:
        for i in items:
            if " (disabled)" in i.caption:
                $ newcaption = i.caption.replace(" (disabled)", "")
                textbutton "{color=#606060}[newcaption]{/color}" action None
            else:
                textbutton i.caption action i.action
by Divona
Mon Oct 23, 2017 11:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Preventing Self-Voicing from Activating
Replies: 11
Views: 645

Re: Preventing Self-Voicing from Activating

Code: Select all

init python:
    config.keymap['self_voicing'].remove('v')
    config.keymap['self_voicing'].remove('V')
by Divona
Sat Oct 21, 2017 9:40 am
Forum: Ren'Py Questions and Announcements
Topic: Patch for game help
Replies: 2
Views: 254

Re: Patch for game help

Fix typos in dialogue shouldn't affect or wipe the save files. If you're worried, you can just patch only "scripts.rpc" or just the archived file (*.rpa) if you archived the game.
by Divona
Sat Oct 21, 2017 9:30 am
Forum: Ren'Py Questions and Announcements
Topic: <<Solved>> Can I make a yes/no prompt before the main screen?
Replies: 7
Views: 660

Re: Can I make a yes/no prompt before the main screen?

Can I make the screen appear only once when the user starts the game for the very first time? Of course it won't appear again if he clicks Yes or Confirm, but if he clicks No it will appear again. Is this possible and how? Use persistent data . default persistent.show_confirm = False label splashsc...
by Divona
Sat Oct 21, 2017 9:12 am
Forum: General Discussion
Topic: Is it acceptable to flip and mirror a character portrait?
Replies: 2
Views: 363

Re: Is it acceptable to flip and mirror a character portrait?

If possible, I would prefer a new drawing or at least some editing on the sprite to be accurate. The mirror of the hair, the shirt buttons is bothering me. The hand, not so much. Then again, I have seen some commercial VNs does the flip anyway, so depending on the budget and the taste/standard I sup...
by Divona
Fri Oct 20, 2017 9:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Layers and Alpha Movie
Replies: 3
Views: 450

Re: Layers and Alpha Movie

show image Movie(channel="movie_effect", play="alpha.mpg") onlayer effect IIRC, alpha doesn't work in Ren'Py though. You have to use alpha mask, which is another black and white (only alpha channel) video on top of the existing movie. For more information, see Movie Displayables and Movie Sprites .
by Divona
Fri Oct 20, 2017 5:48 am
Forum: Ren'Py Cookbook
Topic: Logo Intro, Opening and Press to Start Screen [Tutorial]
Replies: 7
Views: 3765

Re: Logo Intro, Opening and Press to Start Screen

Thanks for sharing! For screen "press_to_start", if you want to avoid using imagemap and "transparent.png" you can use Button instead:

Code: Select all

    button:
        xysize (config.screen_width, config.screen_height)
        action Show("main_menu", transition=dissolve)
by Divona
Thu Oct 19, 2017 9:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Show Image with Random Choice? [solved]
Replies: 4
Views: 299

Re: Show Image with Random Choice? Help!

From the code, the rock should show, but behind the textbox. Try:

Code: Select all

    if result == "rock":
        show rock:
            xalign 0.5 yalign 0.5
by Divona
Tue Oct 17, 2017 6:58 am
Forum: Ren'Py Questions and Announcements
Topic: Display Text while renpy.pause() [SOLVED]
Replies: 4
Views: 602

Re: Display Text while renpy.pause()

I have no idea of the other way to do it, but from the description, it sounds like a work for the choice menu. All you have to do is style and re-position those choice buttons to be part of textbox. menu: "{i}You now have the option to move, talk and look around{/i}" "Move": jump move "Look around":...