Search found 169 matches

by mikolajspy
Fri Jun 09, 2017 1:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Hover effect for a button:? [solved]
Replies: 2
Views: 420

Re: Hover effect for a button:?

Try this: https://www.renpy.org/doc/html/style_properties.html#style-properties I guess this code might work, but I didn't test it: for i in contact_list: button: xsize 300 idle_background Solid("#000000") #black when idle hover_background Solid("b01107") #red when hovered text _...
by mikolajspy
Tue Jun 06, 2017 4:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Click to "Reset Settings to Default" button [SOLVED]
Replies: 8
Views: 2370

Re: Click to "Reset Settings to Default" button

Or try just

Code: Select all

action ResetToDefaults
it works for textbutton as I checked.

And I reccomend to add

Code: Select all

style.rebuild()
in the end of function definition, it could make changes in sliders nicer.
by mikolajspy
Tue Jun 06, 2017 2:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Display seen/total number over Gallery button? [SOLVED]
Replies: 2
Views: 714

Re: Display seen/total number over Gallery button?

Wow, I didn't expected the RenPy creator himself to answer my question! That code after changes didn't work as it should, but it gave me great idea to base on! If someone will have the same question in future, here's what I come up with: screen gallery_button(name, thumbnail): vbox: add g.make_butto...
by mikolajspy
Sun Jun 04, 2017 12:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Display seen/total number over Gallery button? [SOLVED]
Replies: 2
Views: 714

Display seen/total number over Gallery button? [SOLVED]

Hello, I'm finishing technical aspects of my first RenPy game, so far I managed to do everything with documentation, forum search, and figuring it out myself, but now I have problem. Is it possible to add unlocked/total number of images over gallery image button? For example in bottom right corner. ...