Search found 123 matches
- Thu Oct 07, 2021 7:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: Character Callback not activating
- Replies: 2
- Views: 295
Re: Character Callback not activating
PS. To debug such things you can add print statements, like this: def my_zoom1(event, interact=True, **kwargs): print("callback") if not interact: return print("interact") if event == "begin": print("begin") if renpy.showing("player"): renpy.show("player", at_list=[close]) print("showing") elif even...
- Thu Oct 07, 2021 7:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: Character Callback not activating
- Replies: 2
- Views: 295
Re: Character Callback not activating
renpy.showing probably doesn't become True, at least in your example.
You are showing Maya1, it has no tag "m" (or "ma" or any other except "Maya1").
https://www.renpy.org/doc/html/displayi ... py.showing
You are showing Maya1, it has no tag "m" (or "ma" or any other except "Maya1").
https://www.renpy.org/doc/html/displayi ... py.showing
- Thu Oct 07, 2021 6:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side image position for different characters
- Replies: 2
- Views: 377
Re: Side image position for different characters
There are several ways to customize the appearance of different characters. We can assign different styles or even a different screen for a speaking character: https://www.renpy.org/doc/html/dialogue.html#Character (E.g. we can copy the "say" screen and modify it however we like, adding different te...
- Thu Oct 07, 2021 5:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: Saving during a non-movie cut-scene
- Replies: 12
- Views: 644
Re: Saving during a non-movie cut-scene
Perhaps look here: https://www.renpy.org/doc/html/save_load_rollback.html - Where Ren'Py Saves - Retaining Data After Load etc. If that wouldn't work, it's possible to use after_load or config.after_load_callbacks. https://www.renpy.org/doc/html/label.html?highlight=after_load https://www.renpy.org/...
- Wed Oct 06, 2021 5:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Voice audio versus the wait tag
- Replies: 11
- Views: 845
Re: Voice audio versus the wait tag
Is there some merit in trying something like this: init python: config.say_sustain_callbacks.append(my_text_paused) def my_text_paused(): # Try to play with various actions like: voice_sustain() # or maybe: renpy.music.set_pause(True, channel = 'voice') # in order to resume after the pause by some k...
- Wed Oct 06, 2021 5:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to improve keyboard navigation?
- Replies: 4
- Views: 305
Re: How to improve keyboard navigation?
And BTW, sometimes having pressed "up" I can't see any focused button. In case anyone is curious, here's the complete set of 13 buttons I use (12 clockwise + center). They do overlap, but with proper images and focus_mask True it's alright. There are some strange results; like from the lowest button...
- Wed Oct 06, 2021 4:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to improve keyboard navigation?
- Replies: 4
- Views: 305
Re: How to improve keyboard navigation?
Have you tried to hit 'up' and 'down' keys to choose inaccessible buttons? Of course. Here's my test example where you can see that the middle upper button is not accessible with single keypress from either side. Though with some esoteric sequences like "up-down" it can be focused; but then it beco...
- Wed Oct 06, 2021 12:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Voice audio versus the wait tag
- Replies: 11
- Views: 845
- Wed Oct 06, 2021 10:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: Issues with Alpha Mask for a Character Creaation Script
- Replies: 10
- Views: 395
Re: Issues with Alpha Mask for a Character Creaation Script
To add pictures, you: 1. Check if you are writing in "Quick Reply" form. In that case click the button below that says "Full Editor & Preview". 2. In Full Editor Reply form look below the text area and find the button that says "Attachments". Click "Attachments" and upload the files. Make sure they ...
- Wed Oct 06, 2021 10:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: dialogs depending on previous choices
- Replies: 6
- Views: 426
Re: dialogs depending on previous choices
Though there's probably a far tidier way of doing that... To make it more readable, use semantically meaningful names and think how to structure the code. For example: default goto_church = True default goto_airport = True default meet_benny = False default argued_with_sis = 0 ... label crossroads:...
- Wed Oct 06, 2021 9:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: Problem with button sliding animation [Solved]
- Replies: 4
- Views: 409
Re: Problem with button sliding animation
rufiangel, did you try to use my code as script.rpy in an empty project, without any other code there? If it works (it should) it means the problem is caused by some other piece of your code. Or, I don't know, make sure you use the latest Ren'Py version. Also delete all files in game/cache folder to...
- Wed Oct 06, 2021 9:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: Issues with Alpha Mask for a Character Creaation Script
- Replies: 10
- Views: 395
Re: Issues with Alpha Mask for a Character Creaation Script
PS. As an alternative to alpha masking, you can make 2 images for every hair type: one background, behind the head and the ears, and one foreground. (Just like I did in the beginning of the explanation in my previous post.)
- Wed Oct 06, 2021 9:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: Issues with Alpha Mask for a Character Creaation Script
- Replies: 10
- Views: 395
Re: Issues with Alpha Mask for a Character Creaation Script
How I understand "alpha mask" technique: I make a head and ears. head.png ears.png Putting them together just like that isn't the result I want: overlay.png So I put some foreground part on top of that: foreground.png And it gives the proper result: result.png Alpha mask is the same as placing some ...
- Wed Oct 06, 2021 7:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to improve keyboard navigation?
- Replies: 4
- Views: 305
How to improve keyboard navigation?
I'm exploring navigation with arrow keys, and there are problems in some screens. 1. For example, when there are imagebuttons like these: imagebuttons.jpg with "arrow left" focus jumps from Soldier to Yoga, totally ignoring Sports. imagebutton: auto "images/choices/c01_%s.png" pos (537, 16) xysize (...
- Wed Oct 06, 2021 7:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Issues with Alpha Mask for a Character Creaation Script
- Replies: 10
- Views: 395
Re: Issues with Alpha Mask for a Character Creaation Script
I'm not sure what you are trying to achieve. 1. Why do you use ear as the alpha mask for hair? If you just place the ear in front of hair, the hair would be visible through the transparent parts of the ear image. So it should be alright. Or if you place the hair picture on top of the ear picture, th...