Skip to content
mpetrovic edited this page Apr 15, 2011 · 5 revisions

Component

Contains all items needed for a cutscene, including lines, animations and camera changes. Really, it's just a list of Scene Lines and some methods for managing them

Properties:

  • lines -- contains all lines for a scene
  • line_curr -- the current line
  • is_playing -- the cutscene is playing
  • background -- the background for the scene
  • bg_music -- what music should be playing for a given line
Methods:
  • play(line) -- plays a scene from the beginning, the existing pause point, or a given line
  • pause() -- pauses the scene
  • execute_line(line) -- executes a single line action, sets up trigger for next, and changes bg music if needed
Clone this wiki locally