Search found 310 matches

by Nanahs
Wed Jan 23, 2019 8:59 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to make a label playable only once a day?
Replies: 6
Views: 546

Re: Is it possible to make a label playable only once a day?

I'm not a pro but the simpliest thing I could think of if you DON'T want to make this depending on realtime, is you could simply add a variable that stores if the messages was read and reset it every day: if message_read==0: "Lucky Message" $ message_read = 1 else: "You've already re...
by Nanahs
Wed Jan 23, 2019 8:55 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to delete/add borders around textbutton?
Replies: 2
Views: 433

[Solved] How to delete/add borders around textbutton?

I thought of changing the borders on gui, but I think it would change all borders, right? First I have this screen: screen leavechangeroom(): textbutton '{size=30}Leave{/size}' action Jump("menu2") textbutton '{size=30}Configuration{/size}' action Jump("configurationmenu") On pc ...
by Nanahs
Mon Jan 21, 2019 6:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to make a label playable only once a day?
Replies: 6
Views: 546

Is it possible to make a label playable only once a day?

I created a "special menu" on my game. I was thinking of adding an option (button) called like "Read Today's luck", something like this. When you clicked, you would play a label that would show you a message. Something like "It's a good day to send flowers to Anna." I'd...
by Nanahs
Fri Jan 18, 2019 6:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Textbox size/dimensions on Android game?
Replies: 2
Views: 395

Re: Textbox size/dimensions on Android game?

rayminator wrote: Fri Jan 18, 2019 5:49 pm In gui.rpy look for

line434

Code: Select all

gui.textbox_height = 240
adjust the 240 to what you want it to be

line 442

Code: Select all

gui.choice_button_width = 1240
adjust the 1240 to what you want it to be
Thank you so much! :)
by Nanahs
Fri Jan 18, 2019 5:00 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Textbox size/dimensions on Android game?
Replies: 2
Views: 395

[Solved] Textbox size/dimensions on Android game?

On pc the choice menu looks alright. Like this: https://i.ibb.co/KL3B2CL/1a.png But on Android it looks like that: https://i.ibb.co/G09MV5d/1a2.png It there a way to "fix" the Android version and make it look like the pc one? That wouldn't be a problem at all, but there are images and bord...
by Nanahs
Sun Jan 13, 2019 7:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Is there a way I can let the player choose the background they want?
Replies: 4
Views: 1100

Re: [solved] Is there a way I can let the player choose the background they want?

A little help? between textbutton's action and imagebutton's action is no special difference. https://renpy.org/doc/html/screens.html#imagebutton https://renpy.org/doc/html/screens.html#textbutton https://renpy.org/doc/html/screens.html#button screen choscene(): modal True text 'Choose your bedroom...
by Nanahs
Fri Jan 11, 2019 10:34 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (4 version)
Replies: 123
Views: 41877

Re: telegram messenger (2 version)

Do you know what this error means? While running game code: File "game/script.rpy", line 456, in script python: File "game/script.rpy", line 457, in <module> msg (None, sound="opening.mp3", who=1) TypeError: unsupported operand type(s) for -: 'ATLTransform' and 'float'...
by Nanahs
Fri Jan 11, 2019 2:39 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (4 version)
Replies: 123
Views: 41877

Re: telegram messenger (2 version)

Do you know what this error means? While running game code: File "game/script.rpy", line 456, in script python: File "game/script.rpy", line 457, in <module> msg (None, sound="opening.mp3", who=1) TypeError: unsupported operand type(s) for -: 'ATLTransform' and 'float' ...
by Nanahs
Fri Jan 11, 2019 12:13 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (4 version)
Replies: 123
Views: 41877

Re: telegram messenger (2 version)

So the message would be: python: msg("Hello Anna!", p=3, who=1) And I did the same thing in this new code: def msg(txt, who=False, sound=False, pic=False, hm=False): if message_time: h,m = message_time hm = hm if hm else '%s:%s'%(h,m) time_update() hm = get_current_time() if message_time_...
by Nanahs
Thu Jan 10, 2019 3:16 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (4 version)
Replies: 123
Views: 41877

Re: telegram messenger (2 version)

Oh, ok. Got it. Thamk you! :) But now how I show the image inside the message? Because the messages are working this way, like the older code like: python: msg("Hello Anna!!", who=1) But in the new code it's like this (image and sound): $ msg (None, audio="opening", who=1) $ msg...
by Nanahs
Thu Jan 10, 2019 1:36 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (4 version)
Replies: 123
Views: 41877

Re: telegram messenger (2 version)

Oh, ok. Got it. Thamk you! :) But now how I show the image inside the message? Because the messages are working this way, like the older code like: python: msg("Hello Anna!!", who=1) But in the new code it's like this (image and sound): $ msg (None, audio="opening", who=1) $ msg ...
by Nanahs
Thu Jan 10, 2019 8:04 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] How to make a separate button to this function (textbutton/imagebutton)?
Replies: 6
Views: 700

Re: How to make a separate button to this function (textbutton/imagebutton)?

textbutton "The Text Bit": # maybe some styles or style name to adjust positions of each part idle_background "background_image.png" # maybe with hover_ etc etc # this goes below the text idle_foreground "bedrooma.png" # maybe with hover_ as well etc # this goes above ...
by Nanahs
Thu Jan 10, 2019 7:52 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] How to make a separate button to this function (textbutton/imagebutton)?
Replies: 6
Views: 700

Re: How to make a separate button to this function (textbutton/imagebutton)?

The action should be identical. A textbutton is a button, and am imagebutton is a button. Any action a textbutton can use, an imagebutton can too, since they're both buttons. Alternatively, you could use a button and supply both an image and text (if desired) and use it in the same way. Oh, ok. I j...
by Nanahs
Thu Jan 10, 2019 7:14 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (4 version)
Replies: 123
Views: 41877

Re: telegram messenger (2 version)

Sorry to bother you for the 100000000th time :oops: :lol: But is it possible to add that function that opens the image when you click on it + the time the message was sent/received, to the older messenger code? Only this two things. It's because I had already edited many labels and pictures accordi...