Search found 2981 matches

by Alex
Mon Oct 24, 2022 3:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Side Image Left/Right
Replies: 7
Views: 1811

Re: Side Image Left/Right

Guys that doesn't work and I don't know why... P is the short name of char which is supposed to be at the right. if not renpy.variant("small"): if who == "p": add SideImage() xalign 0.8 yalign 0.85 else: add SideImage() xalign 0.06 yalign 0.85 (found this topic in google and decided to up it here s...
by Alex
Sun Oct 23, 2022 4:42 am
Forum: Ren'Py Questions and Announcements
Topic: Why doesn't the game save state and return to the main screen?
Replies: 6
Views: 203

Re: Why doesn't the game save state and return to the main screen?

...What do I need to make the save work? Check this page about Ren'Py saving system - https://www.renpy.org/doc/html/save_load_rollback.html You could try 2 options: - create a game loop inside a label, so every turn/move will run some statement. Kind of sample - https://lemmasoft.renai.us/forums/v...
by Alex
Fri Oct 21, 2022 1:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Button Response Time - Rhythm Minigame
Replies: 7
Views: 262

Re: Button Response Time - Rhythm Minigame

How's the actual code of your game looks like?
Screen buttons are slow, so this might be better to track the mouse position when clicked and check if it was in 'right' place.
by Alex
Sat Sep 17, 2022 4:18 pm
Forum: Ren'Py Questions and Announcements
Topic: How to reset input value
Replies: 3
Views: 291

Re: How to reset input value

... if noart == "no art" or "no artwork" or "bare walls" or "empty walls" or "no paintings": ... I suspect that problem is in this line - the condition is incorrect. if noart == "no art" or "no artwork" will be true if ('noart' is equal to 'no art') is True or 'no artwork' is True. The last is alwa...
by Alex
Wed Sep 14, 2022 4:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Preventing additional points gained on rollback?
Replies: 5
Views: 339

Re: Preventing additional points gained on rollback?

How your points gaining system works? In most cases when player rolls back the value of variables changes to previous state, so rolling back and forth won't give any advantages.
by Alex
Thu Sep 08, 2022 2:27 pm
Forum: General Discussion
Topic: Help With Hover displayText & Custom Char Names
Replies: 2
Views: 629

Re: Help With Hover displayText & Custom Char Names

... "[m1_name]" - this is the Ren'Py-style data interpolation. https://www.renpy.org/doc/html/text.html#interpolating-data But in your case the python-style text formatting is required, so try it like # m1_name is the variable, so it doesn't need quotes Show("displayTextScreen", displayText = m1_na...
by Alex
Tue Aug 30, 2022 2:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Custom screen menu, return to previous
Replies: 2
Views: 273

Re: Custom screen menu, return to previous

...Is this in anyway feasible or do I have no choice but to rewrite the choice menu?.. 'Call' action is for labels. You can show another screen using 'Show' action. And to make screens replace each other give them the same tag, like screen select_training: tag my_menu # use any name you want frame:...
by Alex
Sun Aug 28, 2022 7:06 am
Forum: Ren'Py Questions and Announcements
Topic: Character sprites now won't auto hide after sub folder placement
Replies: 4
Views: 270

Re: Character sprites now won't auto hide after sub folder placement

GMHLee wrote:
Sun Aug 28, 2022 6:45 am
Ah I see, then there's a problem. Using spaces when in a sub folder will cause it to fail and not find the image.
Anyway, you can define images manually.
https://www.renpy.org/doc/html/displayi ... -statement
by Alex
Sun Aug 28, 2022 5:43 am
Forum: Ren'Py Questions and Announcements
Topic: Character sprites now won't auto hide after sub folder placement
Replies: 4
Views: 270

Re: Character sprites now won't auto hide after sub folder placement

Hi there, recently decided I wanted to tidy up the images folder. To do that apparently I needed to rename all image names with undcerscored to replace the spaces IF placed into a sub folder of the images folder. That works, but now all "show character x" will only display the character over the to...
by Alex
Thu Aug 25, 2022 5:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Menu with multiple say statements?
Replies: 2
Views: 294

Re: Menu with multiple say statements?

... Is this possible without creating custom buttons for every single menu? ... It's not that you need to create buttons for every single menu... but it might looks like screen onscreen_choices_scr(list_of_choices=None): style_prefix "choice" vbox: align(0.5,0.2) for (choice_text, label_to_jump_to,...
by Alex
Thu Aug 25, 2022 1:34 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] trigger vpunch and hpunch from python?
Replies: 15
Views: 686

Re: trigger vpunch and hpunch from python?

... Screens can be shown using transition. Since 'vpunch' affects the whole screen, you can show some empty screen using it. Like screen test_scr(): textbutton "ClickMe!" action Show("shake_scr", vpunch) align(0.5, 0.5) screen shake_scr(): timer 0.5 action Hide("shake_scr") # The game starts here. ...
by Alex
Thu Aug 25, 2022 1:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Help! my images not showing in RenPy
Replies: 2
Views: 278

Re: Help! my images not showing in RenPy

I just changed just single line of code and the images name "bg meadow" to "bg-meadow" and everything is fixed :| ... In Ren'Py you have two options: - use automatically defined images (name of each image will depend of file name), - manually define images (you could use any name). Check this secti...
by Alex
Tue Aug 23, 2022 2:22 pm
Forum: Ren'Py Questions and Announcements
Topic: "add" with dissolve
Replies: 10
Views: 413

Re: "add" with dissolve

...That view is supposed to stay the same until either the scene is over, or the player hits the button again. So changing the variable for the view inside the script is against it's purpose. ... I thought that since the images change by just changing the variables, and without showing the screen a...
by Alex
Mon Aug 22, 2022 3:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Screen not showing variables
Replies: 1
Views: 234

Re: Screen not showing variables

I've got this behavior when one of this variables are undefined.