Search found 297 matches

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: 290

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 (2 version)
Replies: 118
Views: 15114

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...
by Nanahs
Wed Jan 09, 2019 8:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] How to make a separate button to this function (textbutton/imagebutton)?
Replies: 6
Views: 290

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

sorry for my english, you just want to add some text to imagebuttons ? if yes, you can add text directly to images. Hello! Actually I'm trying to discover how to adjust the action from that imagebutton to a textbutton. I know this one: textbutton _("choice") action SetField(persistent, "variable", ...
by Nanahs
Wed Jan 09, 2019 7:59 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 118
Views: 15114

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 accordin...
by Nanahs
Tue Jan 08, 2019 7:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Game doesn't launch when I define the image like that?
Replies: 2
Views: 194

Re: Game doesn't launch when I define the image like that?

mitoky wrote:
Mon Jan 07, 2019 7:51 pm
Things should be defined outside of labels:

Code: Select all

image sunnypark1:
    "places/sunnypark1.png"
    pos (130,490) 
    zoom .3

label start:
    scene park
    show screen sunshine
    show sunnypark1
Also only show things by the names defined, hence only "show sunnypark1"
Thank you so much! :)
by Nanahs
Tue Jan 08, 2019 7:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] How to make a separate button to this function (textbutton/imagebutton)?
Replies: 6
Views: 290

[solved] How to make a separate button to this function (textbutton/imagebutton)?

I'm using this code to let the player choose their bedroom background: default bdr = 'a' image bedroom = 'bedroom[bdr].jpg' screen chosebedroom(): text 'Choose your bedroom.' align(.7, .3) hbox at truecenter: spacing 7 imagebutton idle im.FactorScale('bedrooma.jpg', .2) action SetVariable('bdr', 'a'...
by Nanahs
Mon Jan 07, 2019 7:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Reset game totally (going back to splashscreen)?
Replies: 4
Views: 217

Re: Reset game totally (going back to splashscreen)?

Karl_C wrote:
Mon Jan 07, 2019 1:42 am

Code: Select all

$persistent._clear(progress=True)
will also resets things like the list of seen statements (used for skipping) and the list of seen images (but not the saves).
Thank you so much! :)
by Nanahs
Mon Jan 07, 2019 7:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Game doesn't launch when I define the image like that?
Replies: 2
Views: 194

Game doesn't launch when I define the image like that?

I have some images that are really big. And I need to resize them on the game itself. So I tried: label start: image sunnypark1: "places/sunnypark1.png" pos (130,490) zoom .3 scene park show screen sunshine show image "sunnypark1" I need to set the position and the "zoom .3" to make it smaller. But ...
by Nanahs
Sun Jan 06, 2019 8:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Reset game totally (going back to splashscreen)?
Replies: 4
Views: 217

Re: Reset game totally (going back to splashscreen)?

Imperf3kt wrote:
Sun Jan 06, 2019 5:24 pm
Make a button with the action

renpy.full_restart()
Thank you so much! :)
by Nanahs
Sun Jan 06, 2019 3:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Reset game totally (going back to splashscreen)?
Replies: 4
Views: 217

Reset game totally (going back to splashscreen)?

If I wanted to let player to reset the game totally, going back to/from splashcreen. It it possible?
So that the person can read the story again.

I tried to add a buttom that jumps back to splashscreen, return, etc. Nothing worked.

Thanks.
by Nanahs
Sun Jan 06, 2019 10:50 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How do I make a pc game autosave and reload where the person stopped?
Replies: 3
Views: 228

Re: How do I make a pc game autosave and reload where the person stopped?

init python: config.has_autosave = True config.autosave_slots = 1 config.autosave_on_choice = True config.autosave_on_quit = True define config.auto_load = renpy.newest_slot(regexp="auto") # autoload newest save slot beginning with 'auto' # The game starts here. label start: "We're now in label sta...
by Nanahs
Sat Jan 05, 2019 5:35 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How do I make a pc game autosave and reload where the person stopped?
Replies: 3
Views: 228

[Solved] How do I make a pc game autosave and reload where the person stopped?

On Android the game "reloades". But Is there something similar for a pc game? Like, the person was playing "label park" when they quit the game. The game autosaves that. And when the person clicks on "start", the game automaticaly goes back to "label park" where they stopped. I was reading the docum...
by Nanahs
Sat Jan 05, 2019 4:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Including a notebook with player input [solved]
Replies: 3
Views: 274

Re: Including a notebook with player input

Hello! There's probably a better way to do it. But whenever I need to do something like this I use renpy.imput. For example. You create the label and in "scene" you use an image of a notebook as background. label notebook: scene notebook while chooseaname == "": $ chooseaname = renpy.input("Type You...
by Nanahs
Fri Jan 04, 2019 1:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] The "timer" function keeps on running even if the person is not playing the game?
Replies: 2
Views: 168

[Solved] The "timer" function keeps on running even if the person is not playing the game?

If I use this code: screen check_daytime(): timer 3600 repeat True action Jump("annahouse") The timer will make the game jump to "annahouse" label after 1h. But does that keep counting even when person is not playing? Like, if the person played the game for 15 minutes and left. When they click on th...