Search found 22 matches

by Cazad0ra
Fri Oct 29, 2021 3:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Textbutton remains "hovered"
Replies: 4
Views: 442

Re: Textbutton remains "hovered"

The base screen where the menu buttons are is always displayed, and some of the buttons show new screens indeed, but none should go over the buttons. I understand it can still affect them? :o

Also, updated the code to use a tooltip, quite cleaner >.<
by Cazad0ra
Fri Oct 29, 2021 2:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Textbutton remains "hovered"
Replies: 4
Views: 442

Re: Textbutton remains "hovered"

Ahh I forgot to put that, mostly a frame using an image

Code: Select all

style interfacebutton:
    background "interface/user/button_frame.png"
    maximum (443,87)
    minimum (443,87)
Yeah, that's what I was fearing... if it's the case, then I better work this with image buttons
by Cazad0ra
Fri Oct 29, 2021 11:55 am
Forum: Ren'Py Questions and Announcements
Topic: Textbutton remains "hovered"
Replies: 4
Views: 442

Textbutton remains "hovered"

Hi! I'm having a little issue in an in-game screen menu I built for my game. I have a list of text buttons and function wise they work perfectly, but for some reason they remain hovered even after unhovering them and moving to another button. I could throw in some imagebuttons instead, but I rather ...
by Cazad0ra
Fri Oct 22, 2021 9:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Is disabling and re-enabling rollback possible?[SOLVED]
Replies: 2
Views: 400

Re: Is disabling and re-enabling rollback possible?

Ahhh I had no idea I could use it like a variable in a screen, thanks!!!
by Cazad0ra
Fri Oct 22, 2021 6:23 am
Forum: Ren'Py Questions and Announcements
Topic: Is disabling and re-enabling rollback possible?[SOLVED]
Replies: 2
Views: 400

Is disabling and re-enabling rollback possible?[SOLVED]

Hi! I've been wondering for a while if it's possible to disable and enable rollback during the game, for example, in an in-game menu through a screen. I've seen you can set rollback points and limits, but I'm not sure it would do for these cases. I also have a combat system, so having a rollback the...
by Cazad0ra
Thu Jul 08, 2021 1:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Can you change a full layered image with a variable?
Replies: 1
Views: 1109

Can you change a full layered image with a variable?

Hi! I've been toying a lot with layered images and adding attributes with variables, for example to add cosmetics like crowns, etc, but I was also wondering if it's possible to change the entire set. The idea would be to unlock different appereances and even taking other character's looks, but I'm n...
by Cazad0ra
Tue Jul 06, 2021 10:16 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Getting the number of the same item inside a list
Replies: 2
Views: 741

[Solved]Getting the number of the same item inside a list

Hi! I was wondering if I could get the number of repetitions of a variable inside of a list and turn it into a text. So, for example, if I have a list bag = [potion1, potion1, potion2, potion3], could I get a text saying "you have 2 potion1" ?
by Cazad0ra
Mon Jun 28, 2021 8:29 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Can you change attributes in a duplicated class object independently?
Replies: 2
Views: 673

Re: Can you change attributes in a duplicated class object independently?

Doing a deep copy worked indeed!!! Thanks so much!!
I found this very clear and simple explanation on how it works and how to use it, if anyone else is interested!
https://www.educative.io/edpresso/how-t ... -in-python
by Cazad0ra
Mon Jun 28, 2021 5:24 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Can you change attributes in a duplicated class object independently?
Replies: 2
Views: 673

[Solved]Can you change attributes in a duplicated class object independently?

Hello! I'm not sure if I'm going to far with this but it's always worth to ask! I'm working on a combat system and the last thing I need to polish the structure is the buff and debuffing system, for example, poison effects. So far it works neatly, except for the fact that if two characters got the s...
by Cazad0ra
Thu Jun 24, 2021 7:23 am
Forum: Ren'Py Questions and Announcements
Topic: Showing a class argument within another argument in a text
Replies: 5
Views: 810

Re: Showing a class argument within another argument in a text

Ahh I saw the issue, I had loaded an unmodified ability set ^^"
It works, thanks :D
by Cazad0ra
Wed Jun 23, 2021 7:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Showing a class argument within another argument in a text
Replies: 5
Views: 810

Showing a class argument within another argument in a text

Hi! To explain myself better, I'm trying to show a text with an argument from a class: a description that includes another argument from that same class, in this case the value of damage done by an ability. This is the class set up and the ability class Ability: def __init__(self, img, name, desc, a...
by Cazad0ra
Tue Jun 15, 2021 3:47 am
Forum: Ren'Py Questions and Announcements
Topic: Changing an object's attribute on a specific list
Replies: 1
Views: 550

Changing an object's attribute on a specific list

Hi! I'm going to try to explain the situation as best as possible: I'm working on a storage system to go with an inventory system, so basically, I have those two different lists of game items. Transfering items is no big deal in general, my issue comes with a specific type of item that has an attrib...
by Cazad0ra
Wed Jun 09, 2021 6:08 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Recognizing a random quote
Replies: 4
Views: 752

Re: Recognizing a random quote

Actually, with these methods combined you solved three other doubts I had!!
Thanks a ton!