Hi, I cannot figure out how to vertically centered dialogue text in the textbox. In the textbox can be 1-3 lines of the text and I want to have the text always in the middle of the textbox. For better ilustration I add simple image to ilustrate, what I want to achieve. I use Ren'Py 7.0.0. Basic code...
Hi, thank you for this great script. I have one problem with it (don't know if it's bug or I'm doing something wrong). When I rotate 3D camera lets say I rotate 5 degrees. Rotation automatically jump to number like -5640 and it rotates like crazy. I'm usng renpy 7.0.0 so I don't know if it's because...
You need to update the screen, use https://www.renpy.org/doc/html/other.html#renpy.restart_interaction Not sure how to do it. I tried this: if hvyjednavaniaktivni == True: hotspot (702, 288, 100, 50) action [SetVariable("hvyjednavani", hvyjednavani+1), SetVariable("zlataky", zlataky-5), Function(re...
Hi, I have a problem with in-game menu. Code for menu: menu menupokoj: "-Ask Her How She's Doing- (10 gold) (ne)" if quest3 == True and quest3postup == 0 and zlataky < 10: "nejde" "-Ask Her How She's Doing- (10 gold)" if quest3 == True and quest3postup == 0 and zlataky >= 10: call quest3_0 If zlatak...
Ok I have a solution. That code I posted is wrong. All the "if" conditions has to be inside one "Action". I created multiple actions in one hotspot and that doesn't work.
Use if, and the other if, change it to elif and the last one is else. Well, I did this: hotspot (1770, 995, 112, 58): if rtenka > 1: action [SetVariable("rtenka", 1), SetVariable("extrapoints",extrapoints + 1)] elif makeup > 1: action [SetVariable("makeup", 1), SetVariable("extrapoints",extrapoints...
Hello, there is probably easy solution for this one but I cannot figure it out. I have a hotspot and I need to execute all actions at the same time (one click) if the condition is true. This is my code: hotspot (1770, 995, 112, 58): if rtenka > 1: action [SetVariable("rtenka", 1), SetVariable("extra...
Is it possible to combine areas? I want player to follow the path (minigame) you can see it on the image. If the player move the cursor outside of the area, minigame is closed. I'm trying to do it with mousearea but I don't know how to combine more areas to "describe" whole path. This is what I have...
I have this code for playing background music: init python: renpy.music.register_channel("Chan1", "sfx") init python: chan1play = True def queueChanCallback1(): if chan1play: randomswamp = renpy.random.choice( ("audio/den/1.mp3", "audio/den/2.mp3", "audio/den/3.mp3", "audio/den/4.mp3", "audio/den/5....