Search found 48 matches

by tim640
Fri Apr 19, 2024 9:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Making a parallax effect react to the buttons focused rather than the mouse?
Replies: 0
Views: 147

Making a parallax effect react to the buttons focused rather than the mouse?

Hi guys! So i've spend the night on this, but can't seem to solve the problem. I have an imagemap screen with multiple hotspots (an "explorable" location), which i show on a layer with a parallax effect applied to it. The code is this: init python: class MouseParallax(renpy.Displayable): d...
by tim640
Wed Dec 27, 2023 3:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Applying an ImageDissolve to an Imagemap element
Replies: 1
Views: 948

Applying an ImageDissolve to an Imagemap element

Hello, friends! Continuing to work and learn, ran into a puzzle. I have a very standard Imagemap: imagemap: ground "images/locations/marshome.png" selected_hover "images/locations/marshomedoor.png" hover "images/locations/marshomedoor.png" alpha False hotspot (42, 184, ...
by tim640
Thu Sep 21, 2023 7:00 am
Forum: Ren'Py Questions and Announcements
Topic: renpy.get argument for buttons??
Replies: 2
Views: 369

renpy.get argument for buttons??

Hi, everyone! Been a while. I was wondering if anyone knows if there's an argument that lets you check if a certain button is pressed? For example, to control certain events depending on which screen is showing, you can check it with "renpy.get_screen()", and then use it with "if"...
by tim640
Tue Dec 08, 2020 11:00 am
Forum: Ren'Py Questions and Announcements
Topic: Foreground button image transformation refresh [SOLVED]
Replies: 5
Views: 1177

Re: Foreground button image transformation refresh

UPD: oh my GOD i can't believe how freaking easy the solution was. So the problem was that to start over the animation, a screen refresh was needed, right? But forcing a screen refresh would restart the interaction as well, which is not needed. But, for example, after showing a confirm screen, and t...
by tim640
Tue Dec 08, 2020 8:21 am
Forum: Ren'Py Questions and Announcements
Topic: Foreground button image transformation refresh [SOLVED]
Replies: 5
Views: 1177

Re: Foreground button image transformation refresh

Thank you for your response! That is definitely a chunky runaround, considering all of my buttons would require a custom piece like that, that's gonna be heavy. I'm going to try one more approach and i think i'll settle down with the idea that it either going to loop just once, or it's going to be b...
by tim640
Tue Dec 08, 2020 6:57 am
Forum: Ren'Py Questions and Announcements
Topic: Transform an image as an action?
Replies: 1
Views: 400

Transform an image as an action?

Good day! It's a part of one of my previous questions, but i figured it might be a topic on it's own, hope that's alright. So as the title of the thread says, is it possible to implement Transform() as an action when clicked of hovered over a button? To transform an image. Something simple like this...
by tim640
Mon Dec 07, 2020 4:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Foreground button image transformation refresh [SOLVED]
Replies: 5
Views: 1177

Re: Foreground button image transformation refresh

Thank you for the answer!! Yeah, i tried the button as well, but the problem still stays - because on each other hover after the first one it doesn't start the image transformation block over. I feel like something must be done within the transformation block, so after finishing the transform (but n...
by tim640
Sun Dec 06, 2020 7:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Foreground button image transformation refresh [SOLVED]
Replies: 5
Views: 1177

Foreground button image transformation refresh [SOLVED]

Good evening! Yet again i have a question. So i use the "hover_foreground" button line to show a picture near a button which acts like a pointer. But the trouble is that it has an animation as it shows up, and it's not a loop - it supposed to just do it once. And it does - but since the sc...
by tim640
Sun Dec 06, 2020 3:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Playing sounds depending on action? [SOLVED]
Replies: 2
Views: 636

Re: Playing sounds depending on action?

Ohhhhh man, i used that Confirm action many times, but somehow i didn't think of simply using Play as an action like that. Thank you so much, i feel silly, haha!!
by tim640
Sat Dec 05, 2020 2:16 pm
Forum: Ren'Py Questions and Announcements
Topic: A problem with CTC and dialogue window animation [SOLVED]
Replies: 2
Views: 466

Re: A problem with CTC and dialogue window animation

Thank you for the quick response and advices! The animation honestly is pretty short, but i see how it might sound or even be annoying. The pop-up is a zoom from 0.99 to 1.0 with an easein_elastic, and actually it lasts less than a second - so far on the testing runs it wasn't too annoying or hard o...
by tim640
Sat Dec 05, 2020 1:02 pm
Forum: Ren'Py Questions and Announcements
Topic: A problem with CTC and dialogue window animation [SOLVED]
Replies: 2
Views: 466

A problem with CTC and dialogue window animation [SOLVED]

Good evening! So i suddenly ran into a problem while making finishing animations of the interface which seems to be a simple one, but somehow is not, haha. I am using a CTC in my dialogue window with a "fixed" position since i want it showing at a corner of the window. But using an animati...
by tim640
Wed Nov 18, 2020 11:52 am
Forum: Ren'Py Questions and Announcements
Topic: Playing sounds depending on action? [SOLVED]
Replies: 2
Views: 636

Playing sounds depending on action? [SOLVED]

Hello! So it's a bit of a tricky one, i suppose. I'll use a save slot as an example of what i was trying to do. I want a different sound to be played depending on what are you doing with a save slot - deleting it, overwriting it, or saving on an empty one. I am trying to do that inside of a slot but...
by tim640
Fri Nov 13, 2020 8:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing mouse zorder/layer?
Replies: 3
Views: 411

Re: Changing mouse zorder/layer?

Ohhh that's perfect!! The rendering thing looks like it will need a bit of experimenting since that's something i haven't worked with yet, but that's okay, thank you! If any of you guys can give more tips about writing it correctly, it'd be greatly appreciated, but either way, at least now i know wh...
by tim640
Fri Nov 13, 2020 5:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing mouse zorder/layer?
Replies: 3
Views: 411

Changing mouse zorder/layer?

Good evening! I was wondering if anyone knows if it's possible to change the layer the mouse is being shown on? I want some screens\objects to be shown over the mouse, but i can't find any information on how to do this. Is it even possible? Also, is there a short command to show\hide mouse cursor on...
by tim640
Mon Dec 09, 2019 9:22 am
Forum: Ren'Py Questions and Announcements
Topic: Custom transform on event statement?
Replies: 4
Views: 1036

Re: Custom transform on event statement?

Bump, please? It'd rrrreeeeally help a ton.

Or maybe there's a way to write a function to add to the transform that'll define the position?