Search found 310 matches
- Thu Mar 07, 2019 4:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] What can be causing the game to show the deleted images?
- Replies: 3
- Views: 436
[Solved] What can be causing the game to show the deleted images?
I copied my game's folder to make another version of it translated to another language. I deleted the image that had texts in English and replaced it with the one that was translated to another language. The weird thing is that when I click on that label, for 1 second it shows the image in English t...
- Wed Mar 06, 2019 12:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Play/Pause audio with textbutton?
- Replies: 10
- Views: 766
Re: Play/Pause audio with textbutton?
Thank you so much everybody! I'll try those codes
- Tue Mar 05, 2019 3:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Play/Pause audio with textbutton?
- Replies: 10
- Views: 766
Re: Play/Pause audio with textbutton?
I had a quick look through the documentation https://www.renpy.org/doc/html/audio.html And there doesn't seem to be a function to toggle audio playing / paused. The preferences screen has the mute all button, but this stops the audio completely, which means when it starts again, it starts from the ...
- Tue Mar 05, 2019 10:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: Play/Pause audio with textbutton?
- Replies: 10
- Views: 766
Play/Pause audio with textbutton?
I created a menu with a few option that allow the player to play sounds like rain, etc. Like this: textbutton "Rain" action Play("sound_2", "rainsound.mp3") When you click the textbutton the audio plays (that's obvious hah). The thing is, I wanted the same button to sto...
- Thu Feb 28, 2019 7:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: What would be a way to "save game" on this case?
- Replies: 3
- Views: 650
Re: What would be a way to "save game" on this case?
(sorry for double post) I was trying a solution when I realized that, without knowing how variables are handled, it was not possible to know for sure if my solution will work. Anyway, you can try this: define persistent.started = False default _quit_slot = "mysave" label before_main_menu:...
- Sun Feb 24, 2019 2:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: What would be a way to "save game" on this case?
- Replies: 3
- Views: 650
What would be a way to "save game" on this case?
I've been working in a game that is like a cellphone. It's not a professional game. It's more like, just for fun. So there's no need to be "perfect" or anything. It's a 720x1280 game, and it's something like this: https://i.imgur.com/q0o40L3.png Instead of the game starting at the that scr...
- Thu Feb 21, 2019 7:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How can I add something with the imput?
- Replies: 2
- Views: 413
Re: How can I add something with the imput?
I'll try it. Thank you!Scribbles wrote: ↑Sun Feb 17, 2019 3:37 pmwhere char_name is the name you put in front of the textCode: Select all
define char_name = Character("[name]")
Is that what you were looking for?Code: Select all
char_name "I am fine"
- Thu Feb 21, 2019 7:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Textbox exceeding screen limit?
- Replies: 2
- Views: 392
Re: Textbox exceeding screen limit?
One way would be to place the input in a container and give the container an xmaximum A "fixed" or "hbox" or "vbox" etc should work Something like this screen day1(): fixed: xmaximum 500 text "[input text]." size 25 xpos 30 ypos 1105 This would limit the text...
- Sun Feb 17, 2019 11:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can I add something with the imput?
- Replies: 2
- Views: 413
How can I add something with the imput?
When I let the playrt type like this: $ answer1 = renpy.input("How are you?") I wanted the character's (that is also a default/imput) "[name]" to appear in front of the anwers. I mean, if the person answers "I'm fine, thanks." I wanted [answer1] to appear as (let's just...
- Sat Feb 16, 2019 6:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Textbox exceeding screen limit?
- Replies: 2
- Views: 392
Textbox exceeding screen limit?
My project is 720x1280. In a screen like: screen day1: text "[imput text]." size 25 xpos 30 ypos 1105 The text is exceeding the screen limit (horizontal). Is there a way I can put a limit, so that the text won't do this? This screen is showing an imput text a let the player write. Thanks.
- Thu Feb 14, 2019 7:26 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can I "block" a label according to real time?
- Replies: 2
- Views: 487
Re: Can I "block" a label according to real time?
Thank you! I'll give it a tryKarl_C wrote: ↑Wed Feb 13, 2019 11:04 pm TryIf the config.menu_include_disabled variable is set to True, it will be shown as a disabled button.Code: Select all
menu messageslist: "Read Christmas message" if month is 12 and day in [24,25]: jump christmasmessage
In-Game Menus
- Wed Feb 13, 2019 7:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How can I use it as an "action"?
- Replies: 6
- Views: 617
Re: [Solved] How can I use it as an "action"?
Thank you so much!Alex wrote: ↑Wed Feb 13, 2019 4:59 pm It would behttps://www.renpy.org/doc/html/screen_actions.html#IfCode: Select all
textbutton "Get coin" action If(Coins<10, SetVariable("Coins", Coins+1), None)
- Wed Feb 13, 2019 5:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Can I "block" a label according to real time?
- Replies: 2
- Views: 487
Can I "block" a label according to real time?
I'm using if statements to send messages in my game according to real time. Like this: if month is 12 and day in [24,25]: jump christmasmessage And there's an option the player can access to read those messages, in case they didn't play the game on the day they would receive them. Like: menu message...
- Wed Feb 13, 2019 9:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How can I use it as an "action"?
- Replies: 6
- Views: 617
Re: [Solved] How can I use it as an "action"?
It's working great! Thanks! Just one question. If I wanted to stablish a limit, how would it be? Like, if you could only get 10 coins, and after this imagebutton wouldn't add more coins when clicked. I tried a few things like "max_coins=10", etc and a few other codes, but they didn't work....
- Tue Feb 12, 2019 7:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How can I use it as an "action"?
- Replies: 6
- Views: 617
Re: How can I use it as an "action"?
Thank you so much guys!