Search found 6 matches

by MuteSummer
Mon Mar 30, 2020 11:50 am
Forum: Ren'Py Questions and Announcements
Topic: How to better disable user's skip when show map screen?
Replies: 4
Views: 391

Re: How to better disable user's skip when show map screen?

Maybe this code will help me show my situation. When user click map button I show him Map screen (if he didnt visit all locations already) label map_of_spaceship: hide screen map_button if len(map_visits) < 4: show screen map_of_spaceship $ renpy.pause(hard=True) else: jump after_map
by MuteSummer
Mon Mar 30, 2020 11:31 am
Forum: Ren'Py Questions and Announcements
Topic: How to better disable user's skip when show map screen?
Replies: 4
Views: 391

Re: How to better disable user's skip when show map screen?

More than that, even $ renpy.pause(hard=True) not always working fine ._.
by MuteSummer
Mon Mar 30, 2020 11:22 am
Forum: Ren'Py Questions and Announcements
Topic: How to better disable user's skip when show map screen?
Replies: 4
Views: 391

Re: How to better disable user's skip when show map screen?

You don't have to SHOW, you have to CALL. Using CALL, execution stop until you'll pick a choice that use a Return() action. call screen map_of_spaceship And, instead of jump, Return a string in you buttons. textbutton _("Кают компания") action Return("cabin_company") Then after ...
by MuteSummer
Mon Mar 30, 2020 8:33 am
Forum: Ren'Py Questions and Announcements
Topic: How to better disable user's skip when show map screen?
Replies: 4
Views: 391

How to better disable user's skip when show map screen?

Hi. I want to show player screen with custom map: screen map_button(): hbox: yalign 0.0 xalign 1.0 textbutton _("Map") action Jump("map_of_spaceship") screen map_of_spaceship(): add 'images/backgrounds/map.png' vbox: align(1.0,0.0) if 'cabin_company' not in map_visits: textbutton...
by MuteSummer
Mon Jan 20, 2020 2:01 pm
Forum: Ren'Py Questions and Announcements
Topic: How to 'stop' game when I show player interactivemap?
Replies: 8
Views: 984

Re: How to 'stop' game when I show player interactivemap?

Hello. So, we got this: player read some text, and then in corner of screen appear button "Map" . Untill player click this button, game mustnt end, and no other text must appear (at least I try make it like this). Whats best way to solve this problem? I would use $ renpy.pause(hard=True) ...
by MuteSummer
Sun Jan 19, 2020 2:30 pm
Forum: Ren'Py Questions and Announcements
Topic: How to 'stop' game when I show player interactivemap?
Replies: 8
Views: 984

How to 'stop' game when I show player interactivemap?

Hello. So, we got this: player read some text, and then in corner of screen appear button "Map" . Untill player click this button, game mustnt end, and no other text must appear (at least I try make it like this). Whats best way to solve this problem?