pizzabox-main/pizzactrl/sb_en.py

212 lines
10 KiB
Python
Raw Normal View History

from pizzactrl import storyboard, fs_names
STORYBOARD = [
storyboard.Chapter(
2021-11-04 13:21:33 +00:00
storyboard.Do(storyboard.Activity.LIGHT_LAYER, # VERT01
intensity=1.0, fade=1.0)
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-01')),
2021-11-04 13:21:33 +00:00
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-02')),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
2021-11-04 18:38:19 +00:00
# storyboard.Do(storyboard.Activity.ADVANCE_UP) # VERT02up
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-03')),
2021-11-19 15:09:49 +00:00
# storyboard.Do(storyboard.Activity.ADVANCE_UP, steps=90), # VERT02down
2021-11-04 13:21:33 +00:00
storyboard.Do(storyboard.Activity.LIGHT_BACK,
intensity=1.0, fade=0.5),
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=0.0, fade=0.5),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-05')),
# storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT03
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-06')),
2021-11-04 13:21:33 +00:00
storyboard.Do(storyboard.Activity.LIGHT_BACK,
intensity=0.0, fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-07')),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
2021-11-04 18:38:19 +00:00
# storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT04
2021-11-04 13:21:33 +00:00
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=1.0, fade=1.0),
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-08')),
# storyboard.Do(storyboard.Activity.ADVANCE_LEFT), # HOR02
storyboard.Do(storyboard.Activity.LIGHT_BACK,
intensity=1.0, fade=0.5),
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=0., fade=0.5),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-09')),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_REC_AUDIO),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-10')),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.StoryFile('IC-SIBI-11')),
storyboard.Do(storyboard.Activity.LIGHT_BACK,
intensity=0., fade=1.0),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_REC_AUDIO),
storyboard.Do(storyboard.Activity.RECORD_SOUND,
filename=fs_names.REC_NAME,
2021-11-04 18:38:19 +00:00
duration=5.0,
cache=True),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_STOP_REC),
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-12')),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.REC_NAME),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-13')),
# storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT05
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=1.0, fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-14')),
# storyboard.Do(storyboard.Activity.ADVANCE_LEFT), # HOR03
storyboard.Do(storyboard.Activity.LIGHT_BACK,
2021-11-04 18:38:19 +00:00
intensity=1.0, fade=0.5),
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=0., fade=0.5),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-15')),
storyboard.Do(storyboard.Activity.LIGHT_BACK,
2021-11-04 18:38:19 +00:00
intensity=0., fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-16')),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT)
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-17')),
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=1.0, fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-18')),
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
2021-11-04 18:38:19 +00:00
intensity=0.0, fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-19')),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-20')),
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=1.0, fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-21')),
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=0.0, fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-22')),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-23')),
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=1.0, fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-24')),
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=0.0, fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-25')),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
2021-11-04 18:38:19 +00:00
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=1.0, fade=1.0),
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-26')),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-27')),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_REC_AUDIO),
storyboard.Do(storyboard.Activity.RECORD_SOUND,
filename=fs_names.REC_CITY_NAME,
2021-11-04 18:38:19 +00:00
duration=5.0,
cache=False),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_STOP_REC),
2021-11-04 18:38:19 +00:00
storyboard.Do(storyboard.Activity.LIGHT_LAYER,
intensity=0.0, fade=0.5),
storyboard.Do(storyboard.Activity.LIGHT_BACK,
intensity=1.0, fade=0.5),
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-28')),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.StoryFile('IC-SIBI-29')),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_REC_AUDIO),
storyboard.Do(storyboard.Activity.RECORD_SOUND,
filename=fs_names.REC_CITY_DESC,
2021-11-04 18:38:19 +00:00
duration=60.0,
cache=False),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_STOP_REC),
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-30')),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.StoryFile('IC-SIBI-31')),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_REC_AUDIO),
storyboard.Do(storyboard.Activity.RECORD_SOUND,
filename=fs_names.REC_CITY_SOUND,
2021-11-04 18:38:19 +00:00
duration=60.0,
cache=False),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_STOP_REC),
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-32')),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-33')),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-34')),
storyboard.Do(storyboard.Activity.LIGHT_BACK,
2021-11-04 18:38:19 +00:00
intensity=0.0, fade=1.0),
storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_REC_AUDIO),
storyboard.Do(storyboard.Activity.RECORD_VIDEO,
filename=fs_names.REC_DRAW_CITY,
2021-11-04 18:38:19 +00:00
duration=70.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.SFX_STOP_REC),
),
storyboard.Chapter(
storyboard.Do(storyboard.Activity.LIGHT_BACK,
2021-11-04 18:38:19 +00:00
intensity=1.0, fade=1.0),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-35')),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
sound=fs_names.REC_NAME),
storyboard.Do(storyboard.Activity.PLAY_SOUND,
2021-11-04 18:38:19 +00:00
sound=fs_names.StoryFile('IC-SIBI-36')),
storyboard.Do(storyboard.Activity.LIGHT_BACK,
2021-11-04 18:38:19 +00:00
intensity=0.0, fade=2.0)
)
]