Search found 80 matches
- Wed May 22, 2024 12:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Return viewport to previous position
- Replies: 6
- Views: 370
Return viewport to previous position
I've looked for the answer to this, but all I can find is people saying to use the xinitial value to set the initial position of the viewport - and this is all well and good, except that I can't find anything telling me how to actually get the current position vertical scroll position of the viewpor...
- Wed May 22, 2024 11:48 am
- Forum: Development of Ren'Py
- Topic: Change to syntax to compile?
- Replies: 5
- Views: 2217
Re: Change to syntax to compile?
Thanks everyone, I've only just seen this. Glad it wasn't just me. I'll try this out tonight, because I really would like to be using the latest version of RenPy - mainly because I need the "retain" feature of speech bubbles which my current version doesn't support...
- Wed May 22, 2024 10:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Outlining only certain text in dialog
- Replies: 7
- Views: 366
Outlining only certain text in dialog
As per the title, how do I outline only a certain word in a say dialog. Take the following code: John "This card has {outlinecolor=#000000}{color=#FFD700}GOLD{/color}{/outlinecolor} rarity." What I want this to do is display all the text normally, except for the word GOLD which should be d...
- Tue Mar 26, 2024 12:35 pm
- Forum: Ren'Py Cookbook
- Topic: How to color speech bubbles
- Replies: 4
- Views: 1109
Re: How to color speech bubbles
Just answered my own question - it doesn't work. Just an excuse to work out what's changed in the latest version of RenPy that messes with my code and fix it so I can upgrade, I suppose. I also hate Visual Studio with the intensity of a thousand suns and it won't let me choose Atom which may be old ...
- Tue Mar 26, 2024 12:26 pm
- Forum: Ren'Py Cookbook
- Topic: How to color speech bubbles
- Replies: 4
- Views: 1109
Re: How to color speech bubbles
Well... I've just got through writing my own multicolour bubble code so now I want to slap myself in the face for not waiting. Still, at least I exercised a few brain cells. Out of interest, does this require the latest version of RenPy or will it work in 8.1.3? I know all the bubble functionality w...
- Mon Mar 25, 2024 3:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Different colour speech bubble per character
- Replies: 4
- Views: 890
Re: Different colour speech bubble per character
Wow, these are great answers - thank you. Something to play with tomorrow :) Jeffster: Quite a lot of my program is "hacks" to make things happen. Luckily I've been programming for decades so making things work is my middle name (lol), but it would definitely be nice to have these features...
- Mon Mar 25, 2024 12:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Speech bubble padding
- Replies: 4
- Views: 859
Re: Speech bubble padding
Thanks Jeffster, That's what I was doing, but for some reason it hadn't occurred to me that the padding would automatically size according to the size of the bubble. Duh. I just assumed it would be fixed. Having said that, I've had to change the granularity (interesting use of that word, there) of t...
- Mon Mar 25, 2024 10:20 am
- Forum: Development of Ren'Py
- Topic: Change to syntax to compile?
- Replies: 5
- Views: 2217
Change to syntax to compile?
I know I've seen this in an update log somewhere, but I can't for the life of me find it now. Moving up from RenPy 8.1.3 to the latest version, I get this error in the inventory code. I think it's something to do with the way the -> format has changed and simply requires a syntax change to some line...
- Mon Mar 25, 2024 9:26 am
- Forum: Ren'Py Questions and Announcements
- Topic: Speech bubble padding
- Replies: 4
- Views: 859
Re: Speech bubble padding
Thanks, but I don't know which property to change and there doesn't seem to be one for padding anyway. The only properties I can see are for top left, bottom right, etc - and they are presumably concerned with the transformation of the bubble itself according to where the trail is.
- Mon Mar 25, 2024 9:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: Different colour speech bubble per character
- Replies: 4
- Views: 890
Different colour speech bubble per character
Sorry to post again, but I'm new to the speech bubble system. I've already make extensive changes to the default say screen to support multiple text boxes on screen at once, different colour and style say windows for each character, etc, but the same sort of thing doesn't seem to work with bubbles. ...
- Mon Mar 25, 2024 8:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: Speech bubble padding
- Replies: 4
- Views: 859
Speech bubble padding
Hi all, I'm just starting to convert the dialogue text in my game to the new(ish) speech bubble system, and would like to know how to change the padding within the bubbles themselves. I'm having a lot of trouble with this and nothing seems to work. Basically, I consider the space between my text and...
- Sun Jan 14, 2024 9:07 am
- Forum: Ren'Py Questions and Announcements
- Topic: Saving and restoring screen state
- Replies: 2
- Views: 22634
Re: Saving and restoring screen state
It's too late to implement the virtual computer as a screen, because I'd have to rewrite thousands of lines of code. Welcome to the reality of software development. But if you want a qick fix, you can call you label in new context which should create a basically a new game state: https://www.renpy....
- Sat Jan 13, 2024 7:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: Saving and restoring screen state
- Replies: 2
- Views: 22634
Saving and restoring screen state
Hello all, I have an issue I'm trying to resolve, but don't really know where to start on this one. In my game, there is a button permanently displayed which displays an inventory screen. On the inventory screen, there is another button which calls (not jumps) to code which displays a virtual comput...
- Sun Jul 16, 2023 6:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Problems with text alignment in say box
- Replies: 3
- Views: 246
Re: Problems with text alignment in say box
Thank you. So simple. As you can imagine, I achieved this through the most convoluted method - on the other hand, it's now coming in useful elsewhere
- Fri Jul 14, 2023 10:26 am
- Forum: Ren'Py Questions and Announcements
- Topic: scope of variables in screen
- Replies: 1
- Views: 148
scope of variables in screen
I'm having real difficulty understanding (and changing) the value of a variable inside a screen, and hoping someone can explain what I'm doing. This is going to be pseudocode because I don't have the code in front of me, but hopefully it'll be clear what I'm saying: health=50 show screen testscreen ...