Search found 165 matches

by MaydohMaydoh
Tue Sep 04, 2018 4:31 pm
Forum: Ren'Py Questions and Announcements
Topic: "Speech bubbles" with left and right variation? [SOLVED]
Replies: 5
Views: 1727

Re: "Speech bubbles" with left and right variation?

You could try this, whether it works or not or if it's the right way to do it or whatever, I don't know. Using two variables, one for left and one for right default left_speaker = "" default right_speaker = "" Put the name of each person into their respective variables label star...
by MaydohMaydoh
Mon Sep 03, 2018 3:23 am
Forum: Ren'Py Questions and Announcements
Topic: Allowing saving during splashscreen
Replies: 21
Views: 7278

Re: Allowing saving during splashscreen

I think Imperf3kt's method would work best. If you use a persistent variable in the main menu label to call the main menu screen if the prologue has been seen and use the start label as the prologue. label main_menu: if persistent.prologue: call screen main_menu else: return label start: "Prolo...
by MaydohMaydoh
Sun Sep 02, 2018 7:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Edgescrolling
Replies: 2
Views: 781

Re: Edgescrolling

"If present, the third element is a function that adjusts the scrolling speed, based on how close to the pointer is to an edge. The function should take a number between -1.0 and 1.0, and return a number in the same range." So just make a function that returns the value it's given for a s...
by MaydohMaydoh
Sun Sep 02, 2018 6:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Creating a custom name after pressing new game?
Replies: 2
Views: 434

Re: Creating a custom name after pressing new game?

Create a label with the input and call it from the start button. default player_name = "" label name_input(): python: player_name = renpy.input("", default="meme", length=20) player_name = player_name.strip() return screen main_menu(): textbutton "Start" actio...
by MaydohMaydoh
Sat Sep 01, 2018 8:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to make a point system like that?
Replies: 4
Views: 502

Re: Is it possible to make a point system like that?

First of all you want to declare a variable default points = 0 Then you want to make a screen to show the points screen score(): text "Points: [points]" align (1.0, 0.0) After that you want to show the screen and the questions, adding points to the variable when the answer is correct label...
by MaydohMaydoh
Sat Sep 01, 2018 8:23 am
Forum: Ren'Py Questions and Announcements
Topic: Change main menu music during the game? [Solved]
Replies: 7
Views: 3102

Re: Change main menu music during the game?

Use the label "before_main_menu" instead.
by MaydohMaydoh
Thu Aug 30, 2018 6:36 am
Forum: Ren'Py Questions and Announcements
Topic: Skip Main Menu to Start [Solved]
Replies: 4
Views: 918

Re: Skip Main Menu to Start

May be missing the gui init. Stick this in and see if it works.

Code: Select all

init python:
    gui.init(1360, 768)
by MaydohMaydoh
Tue Aug 28, 2018 5:02 am
Forum: Ren'Py Questions and Announcements
Topic: Calling LayeredImageProxy in a screen [SOLVED]
Replies: 4
Views: 1001

Re: Calling LayeredImageProxy in a screen

The error seems to be related to the layeredimage not being defined. So if you could the code for your layeredimage.
by MaydohMaydoh
Mon Aug 27, 2018 9:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Calling LayeredImageProxy in a screen [SOLVED]
Replies: 4
Views: 1001

Re: Calling LayeredImageProxy in a screen

Code: Select all

layeredimage illu1:
    ## etc...
    
image illu1_proxy = LayeredImageProxy("illu1")

screen illu1:

    add "illu1_proxy"
by MaydohMaydoh
Mon Aug 27, 2018 8:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Why are my character expressions not changing?
Replies: 3
Views: 818

Re: Why are my character expressions not changing?

You've defined the character image as something different from the image name. define c = Character("Call", image="call") image call standard = "temp_call_basic.png" ## etc... define Bel = Character("Receptionist", image="beluga") image beluga talkin...
by MaydohMaydoh
Mon Aug 27, 2018 2:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Change the buttons position in the main screen and preferences menu individually
Replies: 8
Views: 3886

Re: Change the buttons position in the main screen and preferences menu individually

My mistake, should be renpy.get_screen('main_menu').
Parenthesis not square brackets.
by MaydohMaydoh
Mon Aug 27, 2018 1:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Change the buttons position in the main screen and preferences menu individually
Replies: 8
Views: 3886

Re: Change the buttons position in the main screen and preferences menu individually

The main_menu variable will return true until you start the game.
Instead you'll want to use

Code: Select all

if renpy.get_screen['main_menu']:
    xalign 0.5
    ypos 400
else:
    xpos 90
    ypos 240
to ask if the main menu screen is currently showing.
by MaydohMaydoh
Sat Aug 25, 2018 1:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Error
Replies: 2
Views: 873

Re: Error

Renpy searches for files in the game folder. So if you put it in a sub folder called "music", you'll need to direct it there.
Just use define config.main_menu_music = "music/music.mp3"
by MaydohMaydoh
Sat Aug 25, 2018 12:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing sprite mid-sentence?
Replies: 2
Views: 2385

Re: Changing sprite mid-sentence?

You could use the no wait text tag to display the first part of the dialogue, change the image then display the full dialogue without the user having to click and use the fast tag to display what was already displayed instantly to make it look like it just continues without break. e "I see...{n...