Search found 302 matches
- Wed May 11, 2022 7:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: renpy reload got transparent background and no character(Solved)
- Replies: 9
- Views: 466
Re: renpy reload got transparent background and no character
This happens for me too for the first transition or so that occurs after using autoreload in game development. As Ocelot said, it's not important since it doesn't happen in normal games (where autoreload is not available).
- Wed May 11, 2022 7:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to make a progressive menu
- Replies: 3
- Views: 243
Re: Trying to make a progressive menu
I don't understand what you're doing with creating a set and then adding things to it, but that's not the question I suppose (use a normal integer for counting). If you use "jump" within the menu you won't be able to return to it, so just use "call". # define is for constants, default is for changin...
- Wed May 11, 2022 7:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Layer screens with displayables?
- Replies: 4
- Views: 287
Re: Layer screens with displayables?
I have no clue about the "plugin" you are using, but (invisible) imagemaps hotspots and invisible buttons on some kind of foreground layer work very fine for me when it comes to stuff the player may click on. Could it be you're not using them correctly? When creating an imagemap on a Solid() just co...
- Tue May 10, 2022 7:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: Error Jumping to Labels and Quick Menu Hidden
- Replies: 1
- Views: 311
Re: Error Jumping to Labels and Quick Menu Hidden
Okay it's too hard to go all of this, but your main problem (in my opinion) is that you overlooked that you can simply use a "call" instead of "show" to call a screen or jump to a label. That means that the screen is shown and the game won't advance until you return from that screen via the "Return(...
- Tue May 10, 2022 7:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: define textbox size based on dialogue ysize
- Replies: 1
- Views: 345
Re: define textbox size based on dialogue ysize
You should make yourself familiar with using frames. The Frame()-Displayable can adapt its size to their parent (e.g. a frame it is put in). "frame" as part of screens: https://www.renpy.org/doc/html/screens.html#frame Frame() as a Displayable: https://www.renpy.org/doc/html/displayables.html?highli...
- Tue May 10, 2022 6:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Toggling two preferences at once with textbuttons
- Replies: 4
- Views: 391
Re: Toggling two preferences at once
I read your text many times and still don't quite understand what it is you really want to do. Could you rephrase it please? You can make a button make multiple things at once by just comma-separating the commands. textbutton _("Show Side Images"): action ToggleField(...), StylePreference(...), etc.
- Tue May 10, 2022 6:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to change music volume when it plays?
- Replies: 1
- Views: 301
Re: How to change music volume when it plays?
Code: Select all
$ renpy.music.set_volume(0.9, channel='music')- Tue May 10, 2022 6:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help with Calendar Dates, adding and subtracting
- Replies: 2
- Views: 578
Re: Help with Calendar Dates, adding and subtracting
You can just use all the things Python is providing and then show it via renpy screens or dialogue or whatever you wanna do with it.
So just create a date object via:
https://www.w3schools.com/python/python_datetime.asp
So just create a date object via:
Code: Select all
import datetime
dob = datetime.datetime(y, m, d)
- Tue May 10, 2022 6:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Centered text not centered
- Replies: 10
- Views: 322
Re: Centered text not centered
You should provide us with some code, so we can actually have an idea about why it happens. Is it not centered inside the say screen (the part where all dialogue is happening) or just on some other screen you created? Or as part of a choice menu? There are many possible ways this can happen.
- Tue May 10, 2022 6:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: button to reset game
- Replies: 4
- Views: 441
Re: button to reset game
You should be more precise about what you want. Of course you can create a button, that can delete persistent data. Or just any data. So what do you mean by "reset the game". A game is reset to default values whenever you start a new game. Every game uses its own set of data, but persistent data is ...
- Mon May 09, 2022 4:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Preview of latest save
- Replies: 3
- Views: 310
Re: Preview of latest save
Well, if this is just about some chapter preview image, it's really simple. Whenever the game starts entering the new chapter, just save the current chapter inside a variable. In the main menu just read out this variable and show the preview image. You could even name the images according to the str...
- Thu May 05, 2022 2:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'py doesn't save a variable as expected. [fixed in 7.5/8.0]
- Replies: 3
- Views: 302
Re: Ren'py doesn't save a variable as expected.
you loading from the first line of the game so of course it's going to change every time you load from that save it's because you don't have nothing above that line but only a if statement you will need to use $ renpy.retain_after_load() it might work but it might not cause it's the first line of t...
- Thu May 05, 2022 10:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'py doesn't save a variable as expected. [fixed in 7.5/8.0]
- Replies: 3
- Views: 302
Ren'py doesn't save a variable as expected. [fixed in 7.5/8.0]
Okay, I suddenly feel like a noob again. I don't understand what Ren'py is doing here. Save the game at the moment the line says and then reload. The number will be different every time. Why isn't it saved? I understand, that Ren'py is repeating the python statement, but why is "number" None all of ...
- Mon Apr 11, 2022 5:24 am
- Forum: Ren'Py Questions and Announcements
- Topic: X-ray effect around cursor?
- Replies: 3
- Views: 594
Re: X-ray effect around cursor?
Hey, I just created a user defined Displayable, that acts as an x-ray device. It follows the mouse cursor and also allows an overlay (like a device). The Displayable refers to a frame when applying the x-ray effect, so you have to position the target image (like a person with clothes) at the same po...
- Wed Jan 26, 2022 7:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: [solved / fixed] Drag & Drop Overlap and Snap Function
- Replies: 1
- Views: 275
Re: [solved / fixed] Drag & Drop Overlap and Snap Function
I solved this problem differently, so no need to answer here. 