Quote Originally Posted by Berwayer View Post
In a raw_scenario JSON file (3_harem-summon.json) I see this code: {"repeat": false, "auto": true, "stay": "1s", "film": "0001-2-2_c3.jpg", "fps": 8, "talk": [{"chara": "", "words": ""}]}, {"talk": [{"chara": "", "words": ""}], "auto": true, "transition": "whiteout2s", "film": "pink_s.jpg", "fps": 1}. x_c3.jpg is supposed to loop once, flash white for 2 seconds, display pink, and then display x_d.jpg. The only transition I see in 2_build_rpy is transition = 'dissolve' so it would take some programming knowledge to include 'whiteout2s' as an option and to make x_c3.jpg not repeat loops like x_c1.jpg and x_c2.jpg.

2_build_rpy.py convert raw scenario above to renpy's format

I check renpy's old anim.Filmstrip manual add "loop=False" to c3 (fps=8)

but just like #burststrike said we only get one frame in the player.

anim.Filmstrip(im.Rotozoom("nutaku/assets/%s/%s",90,1.0),(900,640),(16,1),%f))))
pic size 900x640, grid 16x1 delay 1/8=0.125sec

if fps > 8:
c = 'show expression '
c += '(Zoomable(Frame(anim.Filmstrip(im.Rotozoom("nutak u/assets/%s/%s",90,1.0),(900,640),(16,1),%f)))) ' % (
rd, entry['film'], 1/fps)
c += 'at top as cg with dissolve'
script.append(cmd(c))
elif fps > 1:
c = 'show expression '
c += '(Zoomable(Frame(anim.Filmstrip(im.Rotozoom("nutak u/assets/%s/%s",90,1.0),(900,640),(16,1),%f,loop=False)))) ' % (
rd, entry['film'], 1/fps)
c += 'at top as cg with dissolve'
script.append(cmd(c))