Search found 2221 matches

by Alex
Sat Jul 13, 2019 12:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Side images throwing error
Replies: 2
Views: 149

Re: Side images throwing error

show test emotion is not the proper way of showing side images. They will be shown when corresponding character is speaking, like scene testscene tst emotion "Hello..., uhm, you know..." This will work 'cause you've set the image property for character and create a set of 'side test ...' images. sh...
by Alex
Sat Jul 13, 2019 12:29 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Issue with imagebutton and jump as a child(?)
Replies: 2
Views: 129

Re: Issue with imagebutton and jump as a child(?)

You've got this error 'cause you didn't specified that 'Jump' is an action for the button - should be imagebutton auto "hud/button_%s.png" xalign 0.5 yalign 0.5 focus_mask True action Jump("street") https://www.renpy.org/doc/html/screens.html#imagebutton Also, check the list of actions ('Jump' actio...
by Alex
Sat Jul 13, 2019 12:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to you actually use screen side?
Replies: 5
Views: 171

Re: How to you actually use screen side?

Uhm, documentation has sample codes for side and viewport... Side can be used if you want to layout several things onscreen. You must know beforehand how many "things" there would be, then set places for them in quotes. The order is matters - the "things" you'll put inside the "side" will be placed ...
by Alex
Sat Jul 13, 2019 5:25 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Help with Showing Screens
Replies: 2
Views: 159

Re: Help with Showing Screens

You see, showing the screen doesn't stop the game flow, so clicking will proceed the game for next line of code. When you call the screen, the game flow stops and waits for user interaction, so just clicking doesn't make game procced - the screen must return a value. The other way, you can set the m...
by Alex
Fri Jul 12, 2019 6:31 pm
Forum: Ren'Py Questions and Announcements
Topic: How to include Ren'Py statements inside Python statement?
Replies: 5
Views: 178

Re: How to include Ren'Py statements inside Python statement?

... In your for loop, I'm quite confused... Because from what I can understand the first for loop will fill all the grids already with textbutton displayables. So does having the second loop there will cause error? Because the grid is full already with just the first loop. ... Well, this was an exa...
by Alex
Fri Jul 12, 2019 4:51 pm
Forum: Ren'Py Questions and Announcements
Topic: How to include Ren'Py statements inside Python statement?
Replies: 5
Views: 178

Re: How to include Ren'Py statements inside Python statement?

The issue is that while loop is not used in screens - use for loop instead. You can use while loop in ordinar Ren'Py script. Also, you can use while and for loops insyde a python block. As for choice menu, try it like screen choice(items): #style_prefix "choice" grid 3 3: align (0.5, 0.5) for i in i...
by Alex
Thu Jul 11, 2019 5:46 pm
Forum: Ren'Py Questions and Announcements
Topic: NES-era GUI
Replies: 1
Views: 176

Re: NES-era GUI

Those buttons are in a quck_menu screen (see screens.rpy). And for making borders check these threads
viewtopic.php?f=8&t=20699&hilit=layer+clip
viewtopic.php?f=8&t=31372&hilit=layer+clip
by Alex
Wed Jul 10, 2019 4:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Additional "aftersplash" screen with imagemap causing errors
Replies: 3
Views: 138

Re: Additional "aftersplash" screen with imagemap causing errors

The issue is that you must return from splashcreen label to enter to main menu. So, the action in your constent screen should be Return() to just return from called screen. Then the splashscreen should be label splashscreen: show splash image with fadesplashscreen with Pause(3.0) hide presplash with...
by Alex
Tue Jul 09, 2019 6:51 pm
Forum: Ren'Py Questions and Announcements
Topic: List containing positions
Replies: 5
Views: 308

Re: List containing positions

... If you don't plan to use fancy animation for moves, you could use a grid to layout all the tiles and to place player's token. Make a description of the game field as a matrix gf = [ [1,1,1], [1,1,1], [1,1,1] ] Then you can set player's position in it like gf[y][x] The advantage is that you coul...
by Alex
Tue Jul 02, 2019 5:03 pm
Forum: Ren'Py Questions and Announcements
Topic: How to add imagemap age verification after splashscreen and before main_menu screen?
Replies: 9
Views: 406

Re: How to add imagemap age verification after splashscreen and before main_menu screen?

Well, then in splashscreen label you can show logo and then show age verification screen or just use standard menu to ask player if (s)he 18+.
by Alex
Tue Jul 02, 2019 3:25 pm
Forum: Ren'Py Questions and Announcements
Topic: How to add imagemap age verification after splashscreen and before main_menu screen?
Replies: 9
Views: 406

Re: How to add imagemap age verification after splashscreen and before main_menu screen?

How did you do your splashscreen (game logo) - is it a presplash image or you've made it using splashscreen label?
You can put age verification inside a splashscreen label.

https://www.renpy.org/doc/html/label.ht ... ial-labels
by Alex
Sat Jun 29, 2019 8:37 am
Forum: General Discussion
Topic: Changing the keymap in the middle of runtime repeatedly
Replies: 1
Views: 329

Re: Changing the keymap in the middle of runtime repeatedly

Try to make a screen and reassign 'dismiss' there. So, later you simply could show and hide this screen. screen my_scr(): key 'dismiss' action NullAction() label start: show screen my_scr ################## # Animated Intro # ################## scene bg_sky_winter_sunny with dissolve300s hide screen...
by Alex
Thu Jun 27, 2019 3:59 pm
Forum: Ren'Py Cookbook
Topic: Simple minigames (Screen Language only).
Replies: 76
Views: 35232

Re: Simple minigames (Screen Language only).

Well, this part sets the positions for buttons # This will make the description for all buttons (numbers, values and positions) python: for i in range (0, len(buttons_values) ): numbers_buttons.append ( {"b_number":i, "b_value":buttons_values[i], "b_x_pos":(renpy.random.randint (10, 70))*10, "b_y_po...