kyouryuukunn/renpy-ActionEditor3

Couldn't reproduce the state of images at specific time.

Closed this issue · 2 comments

Although written in a symptomatic manner, the following code can be used to specify the time

    class FixedTimeDisplayable(renpy.Displayable):


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

            self.d = d
            self.fixed_st = st
            self.fixed_at = at
        

        def render(self, width, height, st, at):

            self.d.render(width, height, 0, 0)
            return self.d.render(width, height, self.fixed_st, self.fixed_at)