Search found 50 matches

by Braydxne
Thu Dec 10, 2020 1:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Move Namebox Offscreen Before Updating Name
Replies: 2
Views: 602

Re: Move Namebox Offscreen Before Updating Name

This thread might help you so you don't have to show a screen on every name change! viewtopic.php?f=8&t=60059&p=534036#p534036
What I would do also is use a transform that starts with it offscreen that slides/fades in ^^
by Braydxne
Fri Nov 27, 2020 12:46 am
Forum: Ren'Py Questions and Announcements
Topic: Buttons on a Button
Replies: 2
Views: 429

Re: Buttons on a Button

Hi, Braydxne , I am not sure if that is an optimal solution, but you can try to use a variable to additionally control background when other elements gain/lose focus: screen test_screen(): default hov = False button: xysize(1804, 106) if hov: background "gui/pause/settings_button_hover.png&quo...
by Braydxne
Thu Nov 26, 2020 10:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Buttons on a Button
Replies: 2
Views: 429

Buttons on a Button

I'm trying to put two text buttons on top of a button, so the background button will change colour when hovered. This works but then when you hover over one of the text buttons the background button loses focus and then goes back to the idle image. Is there a way to make it so the text buttons won't...
by Braydxne
Fri Sep 11, 2020 10:43 am
Forum: We are a Free Project looking for Partners
Topic: Danganronpa: Chains of Trust [Mystery/Horror][Voice actors and artists needed!]
Replies: 0
Views: 325

Danganronpa: Chains of Trust [Mystery/Horror][Voice actors and artists needed!]

INTRODUCTION Hello! I'm Braydon, and I'm here to show you all the Danganronpa fangame I'm helping to make! We're still very early in development. Below is an early image of what trials will look like! https://cdn.discordapp.com/attachments/587820931884384257/753985412246143047/unknown.png STORY DR:...
by Braydxne
Thu Sep 10, 2020 12:15 am
Forum: Ren'Py Questions and Announcements
Topic: How can I display something different if the same person talks more than once in a row?
Replies: 5
Views: 467

Re: How can I display something different if the same person talks more than once in a row?

I found a solution! If anyone else needs it you can use

Code: Select all

if (len(_history_list) == 0) or (len(_history_list) > 0 and _history_list[-1].who != who):
! I got it from https://lunachai.com/blog/loony-renpy-c ... ransitions! Thank you for your help hell_oh_world! ^^
by Braydxne
Wed Sep 09, 2020 10:49 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I display something different if the same person talks more than once in a row?
Replies: 5
Views: 467

Re: How can I display something different if the same person talks more than once in a row?

try to do this instead. not really familiar with the two variables that I said so I thought that it would return the exact name. you can use the getattr function if it returns the variable name instead. init python: def getLastSayWhoName(): # returns an empty string if the character is not found or...
by Braydxne
Wed Sep 09, 2020 10:07 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I display something different if the same person talks more than once in a row?
Replies: 5
Views: 467

Re: How can I display something different if the same person talks more than once in a row?

If it helps, renpy already automatically stores the last say's who and what. it should be stored in the _last_say_who and _last_say_what variables. Also might be better to use character callbacks i guess and append to a list the characters then check if its already in the list or not to see if it i...
by Braydxne
Wed Sep 09, 2020 6:58 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I display something different if the same person talks more than once in a row?
Replies: 5
Views: 467

How can I display something different if the same person talks more than once in a row?

For my game, I want to have it where an animation will play if it's the characters first time talking. I have that set up and everything but now I'm unsure how to make it so it stores who spoke last and won't use the animation if they speak multiple times in a row. This is what I have in screens.rpy...
by Braydxne
Sat Nov 17, 2018 8:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Using a Button to Display an Image and Text?
Replies: 6
Views: 523

Re: Using a Button to Display an Image and Text?

What syntax are you using? selected_idle_background or what? Plus, are you sure the selected state is properly being set? ( just add " selected True " as an attribute to test) Yes! I am using selected_idle_background! When I tested it as you said, it's all set up properly. But I'm didn't ...
by Braydxne
Sat Nov 17, 2018 3:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Using a Button to Display an Image and Text?
Replies: 6
Views: 523

Re: Using a Button to Display an Image and Text?

Although, for some reason the selected states aren't working. Do I have to do something to make it work?
by Braydxne
Sat Nov 17, 2018 3:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Using a Button to Display an Image and Text?
Replies: 6
Views: 523

Re: Using a Button to Display an Image and Text?

As you are only using two children (an image and a text) you could just use background and foreground (or just use a textbutton with background states as images) screen btn(): fixed: button: area (0,0, 128, 108) action NullAction() hover_background Transform("images/bg 0.png", zoom=0.1) i...
by Braydxne
Fri Nov 16, 2018 8:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Using a Button to Display an Image and Text?
Replies: 6
Views: 523

Using a Button to Display an Image and Text?

I'm trying to use a button that has both image and test. This code works fine for hovering over it, as the text changes. But how can I make it so a) the image changes states as well b) the text and image both have a selected state? button: action episode.Action("Prologue") has vbox add &qu...
by Braydxne
Tue Nov 06, 2018 3:51 pm
Forum: Demos & Beta Testing
Topic: ERA [Sci-Fi][Thriller][Horror][Teen-Drama][DEMO (sometime) SOON, LOOKING FOR PLAYTESTERS!]
Replies: 0
Views: 636

ERA [Sci-Fi][Thriller][Horror][Teen-Drama][DEMO (sometime) SOON, LOOKING FOR PLAYTESTERS!]

Hi everyone! I'm looking for some people who would be willing to playtest the demo for my game, ERA! I'm expecting the demo to be ready early 2019, but along the way I'll be asking for people to test things for me. Here's a bit about the game: ERA is a thriller/sci-fi interactive novel centered arou...
by Braydxne
Mon Aug 27, 2018 1:24 am
Forum: Ren'Py Questions and Announcements
Topic: Changing the Color of the Bar in the Game Menu?
Replies: 5
Views: 773

Re: Changing the Color of the Bar in the Game Menu?

That is the file game_menu.png which you find in the overlay folder which is inside the gui folder. The file is a full screen image with a line in it...not the line by itself. Thank you! I had passed by it every time I looked for it, because the dark pink kind of blended into the black-- I didn't e...
by Braydxne
Sun Aug 26, 2018 9:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing the Color of the Bar in the Game Menu?
Replies: 5
Views: 773

Re: Changing the Color of the Bar in the Game Menu?

When you choose the colors for your theme, a number of image files are generated. If you want something different you can't get by changing the theme, you should replace the image itself. Go into the gui folder. Inside the gui folder go into the overlay folder. In the overlay folder you will see tw...