kyouryuukunn / renpy-ActionEditor3

125 stars 13 forks source link

Can't show animation image in ActionEditor #4

Closed kyouryuukunn closed 2 years ago

kyouryuukunn commented 2 years ago

Can't show image with atl aniamtion. Can't get the correct image by d.render(w, h, time, at)

image test:
    "sylvie green normal"
    1.0
    "sylvie green smile"
    1.0
    repeat
    class FixedTimeDisplayable(renpy.Displayable):

        def __init__(self, d, st, at, **properties):
            super(FixedTimeDisplayable, self).__init__(**properties)

            self.d = d
            self.st = st
            self.at = at

        def render(self, width, height, st, at):
            #st, at is 0 allways?
            return self.d.render(width, height, self.st, self.at)
kyouryuukunn commented 2 years ago

fixed d0631d83dda857b5ed9307188691379cf643b733