Search found 21 matches
- Fri Sep 09, 2022 5:18 am
- Forum: General Discussion
- Topic: Help With Hover displayText & Custom Char Names
- Replies: 2
- Views: 2161
Re: Help With Hover displayText & Custom Char Names
Alex Thank you so much for answering my question. I never learned to code, only pick up bits & pieces here & there until I get some sort of Frankenstein of what I want to work, ha ha. I used this one here: Show("displayTextScreen", displayText = "{}'s Car".format(m1_name)...
- Thu Sep 08, 2022 7:36 am
- Forum: General Discussion
- Topic: Help With Hover displayText & Custom Char Names
- Replies: 2
- Views: 2161
Help With Hover displayText & Custom Char Names
I have created custom names for characters & some hovers with the displayText. hovered Show("displayTextScreen", displayText = "[m1_name]") If I do this as shown above, it displays the name literally. [m1_name] If I remove the quotes & brackets, it works. However, it fail...
- Sat Nov 07, 2020 2:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Possible Now To Scale Image To Screen?
- Replies: 1
- Views: 371
Possible Now To Scale Image To Screen?
Hi all. I am using ver. 7.3.5 and am curious if there has been a change that allows one to scale image/s to fit to screen, without modifying the image outside of Renpy, or using size, zoom, etc. i.e. some code that just says "fit to screen," ha ha. Size is fine when using landscape images,...
- Sat Mar 14, 2020 12:02 pm
- Forum: Creator Discussion
- Topic: Find & Replace {t}{/t} (RegEx) Question [SOLVED]
- Replies: 15
- Views: 7427
Re: Find & Replace {t}{/t} (RegEx) Question [Semi SOLVED]
Update:
After taking a looong break from this, ha haha.
I decided to take another look & this is how it should look.
Find:
jm "\{mt\}(.*?)\{\/mt\}"
Replace:
jm "{ft}$1{/mt}"
Yes this is an old post now, but I said that if I found a solution, I would post it.
After taking a looong break from this, ha haha.
I decided to take another look & this is how it should look.
Find:
jm "\{mt\}(.*?)\{\/mt\}"
Replace:
jm "{ft}$1{/mt}"
Yes this is an old post now, but I said that if I found a solution, I would post it.
- Tue Jun 25, 2019 7:01 pm
- Forum: Creator Discussion
- Topic: Find & Replace {t}{/t} (RegEx) Question [SOLVED]
- Replies: 15
- Views: 7427
Re: Find & Replace {t}{/t} (RegEx) Question [Semi SOLVED]
https://www.renpy.org/doc/html/dialogue.html#Character The descriptions of what_prefix and what_suffix seems self-explanatory, tbh. Thanks for the link. After taking a look, it currently is not what I am looking for, nor does it resolve my current situation, since I am only doing this for inner tho...
- Sat Jun 22, 2019 1:26 am
- Forum: Creator Discussion
- Topic: Find & Replace {t}{/t} (RegEx) Question [SOLVED]
- Replies: 15
- Views: 7427
Re: Find & Replace {t}{/t} Question [UNSOLVED]
I tried it both in Sublime & Notepad++, unfortunately it does not work. I have tried that one before, or something very similar. Does that site work for Python, because I don't see it as an option in the pulldown? Or does it not matter? Appreciate your time & the links! :) Got it, it looks ...
- Fri Jun 21, 2019 7:45 pm
- Forum: Creator Discussion
- Topic: Find & Replace {t}{/t} (RegEx) Question [SOLVED]
- Replies: 15
- Views: 7427
Re: Find & Replace {t}{/t} Question [UNSOLVED]
I mean, the ACTUAL answer is you shouldn't be doing that anyway and should be using what_prefix and what_suffix instead... Can you please elaborate? I used to use Autohotkey to stylize text. e.g. {i}{color=#76e6f7}TEXT{/color}{/i} Later I found a piece of code like this init python: def male_though...
- Fri Jun 21, 2019 7:44 pm
- Forum: Creator Discussion
- Topic: Find & Replace {t}{/t} (RegEx) Question [SOLVED]
- Replies: 15
- Views: 7427
Re: Find & Replace {t}{/t} Question [UNSOLVED]
Oh, if it's like actual regex then this should be what you want: (jm "{mt})(.)+({/mt}") (Oh and if it complains about the backslash then use this one, but I think the first one should be fine probably) (jm "{mt})(.)+({\/mt}") Whenever I have to do regex stuff, I find RegExr real...
- Thu Jun 20, 2019 8:15 am
- Forum: Creator Discussion
- Topic: Find & Replace {t}{/t} (RegEx) Question [SOLVED]
- Replies: 15
- Views: 7427
Re: Find & Replace {t}{/t} Question [UNSOLVED]
What I do in these situations is bust out notepad and replace all instances of jm "{mt} Then either manually look for .{/mt}" and replace them all, or, if not shared by multiple characters, replace just that bit. Copy/paste back into your preferred editor and done. Yeah, I can do that in ...
- Thu Jun 20, 2019 3:11 am
- Forum: Creator Discussion
- Topic: Find & Replace {t}{/t} (RegEx) Question [SOLVED]
- Replies: 15
- Views: 7427
Re: Find & Replace {t}{/t} Question [UNSOLVED]
Not without the proper input for regular expressions, which I don't know.
I have to search for:
jm "{mt}But Leave This.{/mt}"
& replace the {mt}{/mt} but leave the dialog.
- Mon Jun 03, 2019 4:49 am
- Forum: Creator Discussion
- Topic: Find & Replace {t}{/t} (RegEx) Question [SOLVED]
- Replies: 15
- Views: 7427
Find & Replace {t}{/t} (RegEx) Question [SOLVED]
Hello. :) I know this isn't exactly a RenPy specific question, but after searching, I cannot find what I need. So hopefully some one here knows how, if possible. I am using Sublime Text. In my script I have a bunch of dialog that goes, e.g. pc "{mt}dialog{/mt}" jm "{mt}dialog{/mt}&quo...
- Sun Mar 24, 2019 3:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: Auto Text/Dialog Box? [Solved - Thank You!]
- Replies: 4
- Views: 589
Re: Auto Text/Dialog Box? [Not Solved]
How about OK, I first want to make some notes on your code & if I am wrong, please correct me. Merely for educations purposes. :) window show b "Some text... {w=5.0} i should expand it instead.{nw=5.0}" #I will get to this window hide #Not sure the purpose of this as pause will hide t...
- Sat Mar 23, 2019 9:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Auto Text/Dialog Box? [Solved - Thank You!]
- Replies: 4
- Views: 589
Re: Auto Text/Dialog Box?
window hide $ renpy.pause (2.0, hard=True) window show m "Some text." or window show $ renpy.pause (5.0, hard=True) <This will keep the textbox appear. m "Some text." This code tells the game to wait x seconds before showing dialog. What I am trying to find is a way for the dial...
- Sat Mar 23, 2019 2:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Auto Text/Dialog Box? [Solved - Thank You!]
- Replies: 4
- Views: 589
Auto Text/Dialog Box? [Solved - Thank You!]
Hello!
On occasion, I would simply like the dialog box to pop up with some text, then disappear on its own.
Is this possible?
I have tried the {nw} & even tried adding something like {nw=5.0}
But it disappears in a split second.
Thank you for your time.
On occasion, I would simply like the dialog box to pop up with some text, then disappear on its own.
Is this possible?
I have tried the {nw} & even tried adding something like {nw=5.0}
But it disappears in a split second.
Thank you for your time.
- Thu Mar 21, 2019 10:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do I add an outline to text? (SOLVED)
- Replies: 13
- Views: 25442
Re: How do I add an outline to text? (SOLVED)
put this in your script, where you define your characters etc. define gui.dialogue_text_outlines = [ (0, "#00000080", 2, 2) ] define gui.charaters_text_outlines = [ (0, "#00000080", 2, 2) ] It's actually define gui.name_text_outlines = [ (0, "#00000080", 2, 2) ] Not ch...