[code] scrolling marquee

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.
Post Reply
Message
Author
Unin
Regular
Posts: 54
Joined: Wed Sep 01, 2010 8:08 pm
Location: Florida
Contact:

[code] scrolling marquee

#1 Post by Unin »

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. :roll:

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

Post Reply

Who is online

Users browsing this forum: No registered users