Search found 34 matches
- Fri Sep 02, 2022 9:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: Animated scrolling in text window? Animated window resizing?
- Replies: 0
- Views: 486
Animated scrolling in text window? Animated window resizing?
Hi, all! I've got a little thing I've been playing with and I was hoping for a little help. Inspired by some text games I've seen, I was curious if I could customize Ren'Py's UI to have a scrolling NVL window with stylized text boxes. I have something that looks like this so far: text_window_1.jpg E...
- Mon Aug 22, 2022 2:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Using MatrixColor Opacity Matrix in a python function?
- Replies: 4
- Views: 468
- Sat Aug 20, 2022 11:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using MatrixColor Opacity Matrix in a python function?
- Replies: 4
- Views: 468
Re: Using MatrixColor Opacity Matrix in a python function?
You really shouldn't create more dynamic images inside a function for dynamic images. What's the point? The function gets called after every interaction and you can calculate the changes of all the images it contains inside it. Also your dynamic images would be local variables, that won't get execu...
- Sat Aug 20, 2022 10:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Creating complex alpha masks in real-time?
- Replies: 5
- Views: 541
Re: Creating complex alpha masks in real-time?
I tried it like this: # renpy will normally load those images automatically, and you can use their file names, but let's do it manually for clarity image body_pale = "images/avatar/pale.webp" image body_tan = "images/avatar/tanned.webp" image mask_one = "images/avatar/1p_msk...
- Fri Aug 19, 2022 5:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Using MatrixColor Opacity Matrix in a python function?
- Replies: 4
- Views: 468
Using MatrixColor Opacity Matrix in a python function?
This question is a bit of a follow-up to my post here : The suggestion from m_from_space was to use im.MatrixColor, but I was pretty sure that image manipulators were not the recommended way to go forward. Is there a way to use OpacityMatrix from inside a python function for a DynamicDisplayable? My...
- Thu Aug 18, 2022 9:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: Creating complex alpha masks in real-time?
- Replies: 5
- Views: 541
Re: Creating complex alpha masks in real-time?
Okay that's helpful. And it's possible with the suggestion I gave you. I would try the following: Thanks for the suggestion! I'm going to have to spend a little time with it and see how it works for me. # apply current opacity levels to masks (maybe there is a better way to apply opacity I don't kn...
- Wed Aug 17, 2022 2:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Creating complex alpha masks in real-time?
- Replies: 5
- Views: 541
Re: Creating complex alpha masks in real-time?
I know what I'm trying to do is difficult to convey in text. I've got some images that I help will clear it up a bit more. I'm starting with the pale and tan images: Start Images.jpg I've got three mask images that I'm using for the tan-lines (though the third is technically just a solid color): 3 m...
- Tue Aug 16, 2022 1:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Creating complex alpha masks in real-time?
- Replies: 5
- Views: 541
Creating complex alpha masks in real-time?
Creating complex alpha masks in real-time? Ren’Py has advanced a lot since I last tackled this, and I was hoping someone here might be able to put me on the path towards a reasonably optimized way of doing this: I’ve been using a paper-doll system for the player character in my game where the charac...
- Fri Mar 11, 2022 7:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Can images in text tags be scaled to look better full-screen?
- Replies: 0
- Views: 1069
Can images in text tags be scaled to look better full-screen?
Quick question: I've been making images that appear in front of menu options using the image text tag as described here: https://www.renpy.org/doc/html/text.html#text-tag-image g "Good to see you! {image=heart.png}{alt}heart{/alt}"g "Good to see you! {image=heart.png}{alt}heart{/alt}&...
- Wed Jul 21, 2021 9:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: layeredimage with variable = "not defined"?
- Replies: 5
- Views: 1020
Re: layeredimage with variable = "not defined"?
Given the way I was doing it, I'm obviously unfamiliar... :lol: Can I get an example of how to do it with a dynamic image? ( Is this what we're talking about? ) My instinct was to do this: default avatar_directory = "mirror_full_2" image hair_front_green = Transform("/images/avatar/[a...
- Tue Jul 20, 2021 11:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: layeredimage with variable = "not defined"?
- Replies: 5
- Views: 1020
Re: layeredimage with variable = "not defined"?
Ah, I missed a section. default avatar_directory = "mirror_full_2" layeredimage hair_front: if pc_hair_color == 1: ## brown "/images/avatar/[avatar_directory]/hair_[pc_hair_length]_brown.png" elif pc_hair_color == 2: ## blonde "/images/avatar/[avatar_directory]/hair_[pc_hair...
- Tue Jul 20, 2021 10:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: layeredimage with variable = "not defined"?
- Replies: 5
- Views: 1020
layeredimage with variable = "not defined"?
Any suggestion on what I'm doing wrong here? default avatar_directory = "mirror_full_2" layeredimage hair_front: if pc_hair_color == 1: ## brown "/images/avatar/[avatar_directory]/hair_[pc_hair_length]_brown.png" elif pc_hair_color == 2: ## blonde "/images/avatar/[avatar_dir...
- Sat Apr 17, 2021 1:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Using multiple types of "Say" windows?
- Replies: 2
- Views: 571
Re: Using multiple types of "Say" windows?
Ah, okay. That gives me an idea of where to start researching. I've never been very clear on how Styles work (and I'm pretty sure I'm fighting against them with the way I've been trying to edit these windows... ).
- Sat Apr 17, 2021 11:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using multiple types of "Say" windows?
- Replies: 2
- Views: 571
Using multiple types of "Say" windows?
I was wondering if anyone could give me some guidance, or if there were any tutorials out there for creating different “say” windows for different types of characters—or, at least, that’s what I think I’m looking for… Here’s a general idea of what I’m trying to accomplish. I’ve already managed to cr...
- Sun Dec 20, 2020 12:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Background image panning based on mouse movement?
- Replies: 1
- Views: 689
Background image panning based on mouse movement?
So I had an idea that interested me, but I have no clue on how to accomplish it. Thought maybe someone here could point me in the right direction. I was thinking about a sequence where the player is looking through a pair of binoculars. There would be a background image with points of interest on it...