Search found 297 matches

by Nanahs
Thu Mar 07, 2019 5:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] What can be causing the game to show the deleted images?
Replies: 3
Views: 94

Re: What can be causing the game to show the deleted images?

After I renamed everything it worked. It's just weird :lol: :?:
Anyway, it worked. Thanks :)
by Nanahs
Thu Mar 07, 2019 4:34 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] What can be causing the game to show the deleted images?
Replies: 3
Views: 94

Re: What can be causing the game to show the deleted images?

Are you refreshing the game with shift + R or completely relaunching it? Images are read into RAM so if you're just refreshing, it might be that the cached image is still the one you deleted. No, I really relauched it. I even restarted my computer and nothing changed. It's like it doesn't matter wh...
by Nanahs
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: 94

[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...
by Nanahs
Wed Mar 06, 2019 12:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Play/Pause audio with textbutton?
Replies: 10
Views: 236

Re: Play/Pause audio with textbutton?

Thank you so much everybody! I'll try those codes :)
by Nanahs
Tue Mar 05, 2019 3:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Play/Pause audio with textbutton?
Replies: 10
Views: 236

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 ...
by Nanahs
Tue Mar 05, 2019 10:51 am
Forum: Ren'Py Questions and Announcements
Topic: Play/Pause audio with textbutton?
Replies: 10
Views: 236

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 stop the audio when clicked again...
by Nanahs
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: 270

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: if persis...
by Nanahs
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: 270

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 screen with t...
by Nanahs
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: 138

Re: How can I add something with the imput?

Scribbles wrote:
Sun Feb 17, 2019 3:37 pm

Code: Select all

define char_name = Character("[name]")
where char_name is the name you put in front of the text

Code: Select all

 
char_name  "I am fine"
Is that what you were looking for?
I'll try it. Thank you!
by Nanahs
Thu Feb 21, 2019 7:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Textbox exceeding screen limit?
Replies: 2
Views: 158

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 width to 500 pixels. If the text exceed...
by Nanahs
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: 138

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 say the person chose Jhon as ...
by Nanahs
Sat Feb 16, 2019 6:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Textbox exceeding screen limit?
Replies: 2
Views: 158

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.
by Nanahs
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: 126

Re: Can I "block" a label according to real time?

Karl_C wrote:
Wed Feb 13, 2019 11:04 pm
Try

Code: Select all

 menu messageslist: 
     "Read Christmas message" if month is 12 and day in [24,25]:
         jump christmasmessage 
If the config.menu_include_disabled variable is set to True, it will be shown as a disabled button.

In-Game Menus
Thank you! I'll give it a try :)
by Nanahs
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: 197

Re: [Solved] How can I use it as an "action"?

Alex wrote:
Wed Feb 13, 2019 4:59 pm
It would be

Code: Select all

textbutton "Get coin" action If(Coins<10, SetVariable("Coins", Coins+1), None)
https://www.renpy.org/doc/html/screen_actions.html#If
Thank you so much! :)
by Nanahs
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: 126

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...