Search found 2 matches

by Ignis_Umbrae
Fri Jul 24, 2009 10:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Variable-length parameter lists and the Animation class
Replies: 3
Views: 646

Re: Variable-length parameter lists and the Animation class

Edit 3: the problem appears to be to do with relative paths. Specifying the full path (here "C:/renpy-6.9.2/PWAAish/game/img/phoenix/pointing-t/") fixes the problems, but using the relative path ("img/phoenix/pointing-t") causes an error. Does tools.py implicitly run from a diffe...
by Ignis_Umbrae
Fri Jul 24, 2009 9:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Variable-length parameter lists and the Animation class
Replies: 3
Views: 646

Variable-length parameter lists and the Animation class

Greetings! To make life a little easier for myself, I wrote a small snippet of Python which retrieves all images from a directory, taking an animation speed and returning a tuple (stored in tools.py): import os def animList(path,speed): alist = [] for f in os.listdir(path): alist = alist+[f,speed] r...