Search found 2967 matches

by Imperf3kt
Thu Jun 18, 2020 12:47 am
Forum: Ren'Py Questions and Announcements
Topic: Is that possible to hide/unhide textbutton?
Replies: 7
Views: 225

Re: Is that possible to hide/unhide textbutton?

I'd simplify it further to

Code: Select all

screen testing():
    default var1 = True

    vbox:
        if var1:
            textbutton _("one") action ToggleScreenVariable("var1", False)
        else:
            textbutton _("two") action ToggleScreenVariable("var1", True)
by Imperf3kt
Tue Jun 16, 2020 5:01 am
Forum: Ren'Py Questions and Announcements
Topic: So, i added this video in my game...
Replies: 1
Views: 183

Re: So, i added this video in my game...

m2t is a raw MPEG stream.
You should pack it in a container that supports it, such as m2ts (MPEG-2 Transport Stream)
It's probably 704x540 by the way.

You'll need to check if your chosen file format is supported by renpy
https://www.renpy.org/doc/html/movie.html
by Imperf3kt
Tue Jun 16, 2020 12:47 am
Forum: General Discussion
Topic: Get that thing off your chest... Now...
Replies: 5264
Views: 404771

Re: Get that thing off your chest... Now...

"elective" surgery is now allowed again after the coronavirus pandemic, so my colonoscopy is rebooked for the 29th of July with a preop on the 14th to see if I'm compatible with anastaetics.

Why it's classified as elective, when it can potentially detect life threatening issues, I'll never know
by Imperf3kt
Mon Jun 15, 2020 8:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Invalid Syntax.
Replies: 4
Views: 216

Re: Invalid Syntax.

Some small problems. Try this. "I look into the fridge to get something to eat." menu: "Limón Cheetos.": $BP += 1 $Yummymeal += 1 jump after food # this should be the last thing done, not the first "Black Licorice.": jump afterfood label afterfood: # labels must be fully left aligned if Yummymeal ==...
by Imperf3kt
Mon Jun 15, 2020 4:42 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltip not working
Replies: 3
Views: 174

Re: Tooltip not working

I see you've put tooltips in places like a hbox.
A hbox or vbox or fixed etc are not displayable, they're containers.
If you want to use tool tips this way, place a button inside your container and place your text and other things inside that.
by Imperf3kt
Sun Jun 14, 2020 5:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Is there any anti-cheat code
Replies: 23
Views: 1189

Re: Is there any anti-cheat code

Config.developer has been automatic for years, there is no need to manually disable it.
by Imperf3kt
Sat Jun 13, 2020 7:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Moving the Preferences buttons and sliders
Replies: 4
Views: 205

Re: Moving the Preferences buttons and sliders

While I agree with PyTom, what you are looking for is the frame in the game_menu. It's size is set in gui.rpy

But after changing your resolution, you will need to change a lot more than just this frame. PyTom's advice is the best choice.
by Imperf3kt
Thu Jun 11, 2020 2:40 am
Forum: Ren'Py Questions and Announcements
Topic: Changing Main Menu Music
Replies: 2
Views: 182

Re: Changing Main Menu Music

A simpler way would be to play the music when the main menu screen shows and adjust it there - no need to mess with init
by Imperf3kt
Tue Jun 09, 2020 7:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Exception occurred while customizing History Menu
Replies: 3
Views: 207

Re: Exception occurred while customizing History Menu

As hell_oh_world says, you just need to change it to

if title != "History":

Right now you have

If title! = "History":
by Imperf3kt
Mon Jun 08, 2020 5:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Two voices
Replies: 2
Views: 234

Re: Two voices

Use the audio channel, but the downside is you can't pause the audio channel and any volume adjustments made to the voice channel won't affect the audio channel.

Or you could make a second voice channel.
by Imperf3kt
Mon Jun 08, 2020 5:41 pm
Forum: Creator Discussion
Topic: Videos don't work in the game on Android
Replies: 2
Views: 317

Re: Videos don't work in the game on Android

Are you using hardware or software decoding on the Android device?
Is your chosen video format supported by your device?
by Imperf3kt
Sat Jun 06, 2020 11:03 am
Forum: General Discussion
Topic: Forum error
Replies: 1
Views: 313

Re: Forum error

That's not an error on your end, it's an error within the internal database. It's been around for a couple of years now, nothing to be concerned about, really
by Imperf3kt
Fri Jun 05, 2020 7:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Adding a “Delete” Menu to Game menu screen
Replies: 1
Views: 195

Re: Adding a “Delete” Menu to Game menu screen

I've never used it, but I assume the FileDelete action can be used
https://www.renpy.org/doc/html/screen_a ... FileDelete

Something like

Code: Select all

Button:
    action FileDelete(1, confirm=True)
The number should reflect which slot to delete, change it through 1-6) for each button.