Search found 678 matches

by Divona
Mon Nov 06, 2017 10:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Centering a Rotating Background
Replies: 2
Views: 212

Re: Centering a Rotating Background

Try:

Code: Select all

transform forward_spin:
    subpixel True
    rotate 0 xanchor 0.5 yanchor 0.5
    linear 60.0 rotate 360
    repeat
by Divona
Mon Nov 06, 2017 3:51 am
Forum: Ren'Py Questions and Announcements
Topic: Effects for text
Replies: 2
Views: 222

Re: Effects for text

You could begin by looking at this thread: viewtopic.php?f=8&t=23852
by Divona
Mon Nov 06, 2017 12:21 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved!)Disabling/hiding quick menu
Replies: 5
Views: 280

Re: Disabling/hiding quick menu

Ace94 wrote:
Mon Nov 06, 2017 12:18 am
Divona wrote:
Mon Nov 06, 2017 12:15 am

Code: Select all

$ quick_menu = False
I put it to false in the screens.rpy and pasted that code in my label credit screen but it's still showing.

Code: Select all

label start:

    "Now you see quick menu."
    
    $ quick_menu = False
    
    "Now you don't!"
    
    return
by Divona
Mon Nov 06, 2017 12:15 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved!)Disabling/hiding quick menu
Replies: 5
Views: 280

Re: Disabling/hiding quick menu

Code: Select all

$ quick_menu = False
by Divona
Sun Nov 05, 2017 1:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Disabling ctc sound during pauses/dissolves
Replies: 4
Views: 313

Re: Disabling ctc sound during pauses/dissolves

Look like one of a solution is to register CTC sound to another sound channel and mute such channel during dissolve and pause event.
viewtopic.php?f=8&t=34754&p=389910
by Divona
Sun Nov 05, 2017 1:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Highlight new text line in nvl mode
Replies: 2
Views: 198

Re: Highlight new text line in nvl mode

What you're looking for requires editing to existing NVL screen. Here is my quick prototype: screen nvl_dialogue(dialogue): # Make a note of how many dialogue in total. default dialogue_count = len(dialogue) for index, d in enumerate(dialogue): window: id d.window_id fixed: yfit gui.nvl_height is No...
by Divona
Sat Nov 04, 2017 12:52 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved)How to change mouse pointer when hovering over a button
Replies: 9
Views: 461

Re: How to change mouse pointer when hovering over a button

I can only assume that you're recreated the game menu screens and not using existing navigation screen? Add the line to "screen preferences" and other screens that user may click to it as well.
by Divona
Sat Nov 04, 2017 12:18 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved)How to change mouse pointer when hovering over a button
Replies: 9
Views: 461

Re: How to change mouse pointer when hovering over a button

My guess is that you're using Legacy theme? Then add the line to "screen navigation" should do the job: screen navigation(): # Add this line on "show" action Function(set_cursor_default) EDIT: I might have misread. You said "add the screen in"? You don't add the screen in. The screen should already ...
by Divona
Fri Nov 03, 2017 12:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to show alignment points after choices ?
Replies: 8
Views: 333

Re: How to show alignment points after choices ?

I took some liberty and adjusted the code to be more suitable to what you requested, and make it a bit more automatic: define e = Character('Eileen', color="#c8ffc8") default love_points = 0 init python: def adjust_love_points(points): global love_points love_points += points renpy.show_screen("love...
by Divona
Fri Nov 03, 2017 11:54 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to show alignment points after choices ?
Replies: 8
Views: 333

Re: How to show alignment points after choices ?

I was checking on it and i have tried a lot of things but i don't find how put fade :?: . It is something like a code with call or appear ? Use ATL for fade in and out. Use Timer to auto-hide screen. define e = Character('Eileen', color="#c8ffc8") default love_points = 0 screen test_screen(): vbox ...
by Divona
Fri Nov 03, 2017 8:57 am
Forum: Ren'Py Questions and Announcements
Topic: Chatroom-like layout in Ren'py?
Replies: 14
Views: 1410

Re: Chatroom-like layout in Ren'py?

Perhaps you could assign an image to Character() and use that to add the image in front of the NVL text? define d = Character("Divona", kind=nvl, icon="divona_avatar.png") Then in "screens.rpy" under "screen nvl_dialogue": screen nvl_dialogue(dialogue): for d in dialogue: window: id d.window_id fixe...
by Divona
Fri Nov 03, 2017 2:40 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Name Placement Keeps Moving Around?
Replies: 1
Views: 154

Re: Name Placement Keeps Moving Around?

My guess is that ATL is override the x and y anchor. Try:

Code: Select all

transform name_rotate:
    xanchor 0.5 yanchor 0.5
    rotate -15
by Divona
Thu Nov 02, 2017 11:38 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved)How to change mouse pointer when hovering over a button
Replies: 9
Views: 461

Re: How to change mouse pointer when hovering over a button

Alternatively, here is a work around: init python: def set_cursor_default(): config.mouse = { "default": [("gui/mouse_pointer.png", 8.8, 0.0)] } def set_cursor_hover(): config.mouse = { "default": [("gui/mouse_pointer2.png", 8.8, 0.0)] } set_cursor_default() screen button_test(): add "#000" textbutt...
by Divona
Thu Nov 02, 2017 11:08 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to display a choice but not make it clickable unless a condition is met?
Replies: 5
Views: 312

Re: How to display a choice but not make it clickable unless a condition is met?

Just to cover the case, if you're using new GUI, here is the code: screens.rpy : search for "screen choice" and replace it with the following: screen choice(items): style_prefix "choice" vbox: for i in items: if " (disabled)" in i.caption: $ newcaption = i.caption.replace(" (disabled)", "") textbutt...