Search found 678 matches

by Divona
Thu Nov 02, 2017 11:00 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: 546

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

Ah, the legacy code. Just to be clear, are you using new GUI or Legacy? Please explains about the "mess up", as I have tried the code in Legacy mode and it's working fine. screens.rpy screen choice(items): window: style "menu_window" xalign 0.5 yalign 0.5 vbox: style "menu&q...
by Divona
Thu Nov 02, 2017 10:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Chatroom-like layout in Ren'py?
Replies: 14
Views: 4772

Re: Chatroom-like layout in Ren'py?

madocallie wrote: Thu Nov 02, 2017 4:49 pm also just a quick question: where do i find the "text d. what:" parts of the code..?
That will be under "screen nvl_dialogue" in "screens.rpy" file.
by Divona
Wed Nov 01, 2017 11:41 pm
Forum: Ren'Py Questions and Announcements
Topic: How do I make a character slide down offscreen?
Replies: 3
Views: 385

Re: How do I make a character slide down offscreen?

Code: Select all

    "Line of dialog"
    
    pause 0.5

    ## character quickly sliding down offscreen
    show character:
        linear 0.3 yoffset config.screen_height

    pause 0.2

    ## immediately transitioning to:
    scene vcg1 with vpunch
by Divona
Wed Nov 01, 2017 11:13 pm
Forum: General Discussion
Topic: How do you find motivation
Replies: 17
Views: 4749

Re: How do you find motivation

Find team members who will keep constantly nagging you to get out of bed and finish the project. Joke aside, when you're in a team environment, it's not just you now but a whole team to see the project through. Most important thing, though, is to step one foot into the door, or one step up the ladde...
by Divona
Wed Nov 01, 2017 10:59 pm
Forum: Ren'Py Questions and Announcements
Topic: How to change the color for dialogue choices?
Replies: 1
Views: 318

Re: How to change the color for dialogue choices?

Under "gui.rpy" search for:

Code: Select all

define gui.choice_button_text_idle_color = "#cccccc"
define gui.choice_button_text_hover_color = "#ffffff"
by Divona
Wed Nov 01, 2017 10:10 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved!)How to make custom character color names appear correctly in the history?
Replies: 13
Views: 3072

Re: How to make custom character color names appear correctly in the history?

Can a character name that is given by the player be implemented in this? This should work in Ren'Py 6.99.12+. If you have player name store like this: default player_name = "Divona" define p = Character('[player_name') label start: $ player_name = renpy.input("What is your name?"...
by Divona
Wed Nov 01, 2017 12:48 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved!)How to make custom character color names appear correctly in the history?
Replies: 13
Views: 3072

Re: How to make custom character color names appear correctly in the history?

Judging from the code, it's from Legacy Theme, which has been removed from Ren'Py latest version (6.99.13). From my memory, Legacy Theme doesn't include Log or History like the new GUI. So the colour of character name from the Log or History would depend on which code you use for them. The line of c...
by Divona
Wed Nov 01, 2017 8:49 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Round corners in new GUI
Replies: 4
Views: 3218

Re: Round corners in new GUI

Here is a quick CDD button that changes color when a mouse hovers above it: init python: class myButton(renpy.Displayable): def __init__(self, xpos=0, ypos=0, width=160, height=160 **kwargs): super(myButton, self).__init__(**kwargs) self.color = "#000" self.xpos = xpos self.ypos = ypos sel...
by Divona
Wed Nov 01, 2017 3:54 am
Forum: Ren'Py Cookbook
Topic: Logo Intro, Opening and Press to Start Screen [Tutorial]
Replies: 7
Views: 12053

Re: Logo Intro, Opening and Press to Start Screen

@Divona Just a small question from my side since its the first time i have heared of "contains": show gamebackground at pstart_intro I know images with the same tag get overwritten. But if one were to use "show" with an image not included in the transformation, the image would n...
by Divona
Wed Nov 01, 2017 1:59 am
Forum: Ren'Py Cookbook
Topic: Logo Intro, Opening and Press to Start Screen [Tutorial]
Replies: 7
Views: 12053

Re: Logo Intro, Opening and Press to Start Screen

for the label buffer, i want to make the whole block running without any interruption. in other word, player cant click the mouse button. some people suggest me to use ATL, but it take me a month or more for me to understand them. transform pstart_intro: contains: "gamebackground" alpha 0...
by Divona
Tue Oct 31, 2017 8:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Round corners in new GUI
Replies: 4
Views: 3218

Re: Round corners in new GUI

Basic Ren'Py draw function is rather limited. Can't even draw a circle. You will have to stick with the image for round corners, I'm afraid. Here is the List of Transform Properties . For more advance drawing, I would suggest look at Creator-Defined Displayables . Here is a thread about drawing shap...
by Divona
Mon Oct 30, 2017 9:19 pm
Forum: Ren'Py Questions and Announcements
Topic: <Solved>Side image for main character
Replies: 14
Views: 1946

Re: Side image for main character

Alert. Character and player name use the same variable "mc". Here is the fix:

Code: Select all

default player_name = "John"

define mc = Character("[player_name]", color = "#85B200", image = "mc")
image side mc serious = "side_image/side_mc_serious.png"
by Divona
Mon Oct 30, 2017 11:59 am
Forum: Ren'Py Questions and Announcements
Topic: How to handle user inputs?
Replies: 3
Views: 406

Re: How to handle user inputs?

I test out your code and it working as expected. What do you mean it always returns true? If player misspells the text outside true statement, it passed on to "else". Here is the code I used in a new project to test out: define e = Character("Eileen") label start: scene bg room ...
by Divona
Mon Oct 30, 2017 11:47 am
Forum: Ren'Py Questions and Announcements
Topic: Change the "choices" format, completely.
Replies: 9
Views: 1808

Re: Change the "choices" format, completely.

Sound like the need to create your own choice menu screen. I did a quick prototype here: screen new_choice(question="", answers): style_prefix "new_choice" fixed: xmaximum 550 ymaximum 320 xalign 0.0 yalign 1.0 add "#00000099" text question vbox: for k, v in answers.ite...