A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
-
Unin
- Regular
- Posts: 54
- Joined: Wed Sep 01, 2010 8:08 pm
- Location: Florida
-
Contact:
#1
Post
by Unin » Wed Mar 27, 2013 1:46 am
wasted 3+ hours trying to get something to scroll in place with a combination of cropping and moving and anchor juggling... then figured it out in 3 lines by ditching the movement and anchors. Feel like an idiot, hope this save's others time.
for image foo (which happens to be 128 x 128 in this case)
Code: Select all
show foo:
crop (0, 0, 64, 128)
ease 3.0 crop (64, 0, 64, 128)
scrolls in place from left to right
Users browsing this forum: No registered users