I'm trying to display a map in a viewport, with a list of places next to it. Clicking a place name should move the viewport to center on the place on the map.
I can already center any place on the map when I show the screen, but I fail to manipulate it afterwards. My guess is that I can use AnimatedValue to achieve my goal, but as is often the case the function is not documented in a way that I understand (examples help me much more than IT-correct descriptions).
Also, if possible I'd like to be able to use transition warpers like easein/easeout, but AnimatedValue doesn't seem to offer these.
Any pointers or examples how to do this?
EDIT:
I revisited another thread and took my examples from there
Auto-scroll Viewport (solved)
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Milkymalk
- Miko-Class Veteran
- Posts: 753
- Joined: Wed Nov 23, 2011 5:30 pm
- Completed: Don't Look (AGS game)
- Projects: KANPEKI! ★Perfect Play★
- Organization: Crappy White Wings
- Location: Germany
- Contact:
Auto-scroll Viewport (solved)
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
-
- Newbie
- Posts: 23
- Joined: Sun Feb 25, 2018 11:39 pm
- Contact:
Re: Auto-scroll Viewport (solved)
Sorry, can you post a link to that thread?
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot], piinkpuddiin, snotwurm