Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Port StorySequencePlayer from iOS #1168

Open
5 tasks
justkd opened this issue Jun 11, 2018 · 0 comments
Open
5 tasks

Port StorySequencePlayer from iOS #1168

justkd opened this issue Jun 11, 2018 · 0 comments
Labels
Epic Port from iOS To label features needing to be ported from the iOS version.

Comments

@justkd
Copy link

justkd commented Jun 11, 2018

Description

As a developer,
I need port StorySequencePlayer from the iOS version,
so that I can ensure both platforms have the same capability and can use generic datasets to design and implement this funtionality.

Story sequences have two versions: an introductory sequence that begins when a scenario is launched, and an ending sequence that is called when a particular terminal answer is chosen.

They are full screen overlays that play music and present a step-by-step story sequence. Tapping on the view presents the next step (long-pressing opens a quick skip option). Each step consists of two independent events, left and right. An event can be described with the text, an image, the image position, and the image animation (see the StorySequenceModel and data).

The class and it's dependencies can be found in the OOC-Event-Classes folder:

StorySequencePlayer.swift
StorySequenceModel.swift
StorySequences.swift
StorySequences.json

It shares these dependencies with PopupEventPlayer:

SoundPlayer.swift
Animate.swift

Its use can be found in ScenarioViewController.swift, in the startSequence() and startOutroSequence(popupID: Int) functions.

Mocks

image

Acceptance Criteria

Update [Required]

  • Class should be ported such that:
  • Story sequences can be instantiated in similar fashion (retrieve the sequence data, call and add to the view)
  • Sequences use the same generic data parsed from StorySequences.json

Definition of Done

  • All of the required items are completed.
  • Approval by 1 mentor.

Estimation

[INSERT NUMBER HERE] hours

@justkd justkd added Epic Port from iOS To label features needing to be ported from the iOS version. labels Jul 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Epic Port from iOS To label features needing to be ported from the iOS version.
Projects
None yet
Development

No branches or pull requests

1 participant