Search found 12 matches
- Fri Sep 18, 2020 9:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do ATL properties work with AlphaMasks and looping scrolling images?
- Replies: 0
- Views: 372
How do ATL properties work with AlphaMasks and looping scrolling images?
I have several questions that basically add up to that single question in the subject. The situation is that I'm trying to implement looping picture effects on select rectangles on the screen, because I am making a motion graphics comic with panels. I've been successful with the method of displaying...
- Thu Apr 18, 2019 8:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Handling Displayables That Are No Longer Needed In The Scene
- Replies: 0
- Views: 183
Handling Displayables That Are No Longer Needed In The Scene
Hi. I'm working on a comic, so most of my displayables are panels that scroll into view, and then scroll out. These displayables aren't used multiple times, except when the reader presses 'back'. Is there an optimization technique I should be doing to remove assets when they are no longer in view, o...
- Sun Jan 06, 2019 6:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help defining keyboard input actions for imagebuttons
- Replies: 3
- Views: 354
Re: Help defining keyboard input actions for imagebuttons
It turns out left/right wasn't working because of the changes I made for the game controls: $config.keymap['rollback'].append('K_LEFT') $config.keymap['dismiss'].append('K_RIGHT') I disabled those and now left/right is fine. Is there a way to use those keymap edits just for in-game and not the menu?...
- Sun Jan 06, 2019 4:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help defining keyboard input actions for imagebuttons
- Replies: 3
- Views: 354
Help defining keyboard input actions for imagebuttons
Hi, Is it possible to link imagebuttons to one another such that the user can switch focus between them using only the arrow keys? Here's what I have: if main_menu: imagebutton idle gui.start_comic_idle hover gui.start_comic_hover xpos 150 ypos 800 keyboard_focus True action Start() imagebutton idle...
- Fri Jun 08, 2018 1:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do I disable key focusing on quick menu?
- Replies: 4
- Views: 1271
Re: How do I disable key focusing on quick menu?
Thank you both! kivk: I went with $config.keymap['focus_up'].remove('K_UP') $config.keymap['focus_up'].remove('repeat_K_UP') for all directions, and that seems to work well, though it would be even better if I could still allow the movement in the main menu. Remix: I tried that method. It works almo...
- Thu Jun 07, 2018 9:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do I disable key focusing on quick menu?
- Replies: 4
- Views: 1271
How do I disable key focusing on quick menu?
I'm using left and right on the keyboard to move back and forward in my project. For this build, I would like to disable access to the quick menu via arrow keys, primarily so that the quick menu won't be focused by accident, which would make the user have to click more than once in order to advance....
- Thu Apr 26, 2018 8:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: ATL: What happens to an image's anchor when the image is zoomed?
- Replies: 1
- Views: 368
ATL: What happens to an image's anchor when the image is zoomed?
I'm having trouble with xpos, and I suspect that it's because I'm doing transforms with different zooms. What happens to the anchor when you do say zoom 1.0 -> 0.4 -> 1.0 in transforms? Also, is there a way to print the anchor's coordinates to console or some other debugging technique I could use? U...
- Wed Apr 18, 2018 4:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: ATL transform moving in wrong direction
- Replies: 2
- Views: 471
Re: ATL transform moving in wrong direction
Thank you very much for the detailed explanation!
- Tue Apr 17, 2018 11:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: ATL transform moving in wrong direction
- Replies: 2
- Views: 471
ATL transform moving in wrong direction
Here's my code: transform scrollin: xpos 1920 yalign 0.5 pause 1.0 linear 2.0 xoffset -1400 transform scrollout: linear 2.0 xoffset -800 When I apply these to an image, scrollin works as intended (move from right to left), but with scrollout what happens is the image moves 800 pixels to the right. W...
- Fri Apr 13, 2018 4:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: Question about ATL movement
- Replies: 3
- Views: 646
Re: Question about ATL movement
I got it to work, though I'm still not sure what was fundamentally wrong with my old code. transform p2p1scrollin: xalign 0.5 ypos resolutionHeight linear 10.0 ypos -2500 transform p2p1zoomout: parallel: linear 5.0 zoom 0.3 parallel: linear 5.0 yalign 0 parallel: xpos halfResolutionWidth linear 5.0 ...
- Wed Apr 11, 2018 12:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: Question about ATL movement
- Replies: 3
- Views: 646
Re: Question about ATL movement
Adding with move just seems to add an odd hopping motion near the start of the transform.
Code: Select all
show p2p1 at p2p1zoomout
- Tue Apr 10, 2018 12:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: Question about ATL movement
- Replies: 3
- Views: 646
Question about ATL movement
Hello! I'm having an ATL problem. I need my image to move from right to left. Instead, my image is teleporting all the way to the left and then moving to the right to the designated xpos. How is the path to the position determined? (I'm working on a motion comic, and these transforms are for a panel...