PowerUp Story Designer is a web app for creating automated story sequences for PowerUp (iOS, Android), a text-adventure style mobile game by Systers Open Source.
Best experienced in Chrome. Also works in Safari and Firefox. Possibly with quirks.
Powerup Story Designer Live App
Contents
- Getting Started
- The Card Track
- Basic Functions
- Add
- Focus
- Delete
- Scroll
- Basic Functions
- The Editor
- Text
- Image
- Position
- Animation
- The Thumbnail Track
- The Menu
- Drop Downs
- Scenario Selection
- Type Selection
- Music Selection
- Icons
- Undo
- Redo
- Open Saved States
- Open Import/Export
- Open Help
- Drop Downs
- Saved States
- Saved
- Load
- Rename
- Delete
- Import/Export
- Download
- Upload
- Export
- Hotkeys
Getting Started
PowerUp Story Designer represents frames in a sequence as Cards
.
Each Card
represents a single automated Step
, which is broken down into a Left Event
and Right Event
.
An Event
describes:
- The text on that side.
- The image on that side.
- The image position relative to the side.
- An animation to be applied to the image.
A new Step (Card)
is presented every time a user taps to advance the story, but not every Step
has to have both a Left Event
and Right Event
. It’s ok to leave one empty, meaning that particular Step
will only change one side.
If a
Step
does have both aLeft Event
andRight Event
, it will play both events at the same time, but technically theStorySequencePlayer
reads theLeft Event
first. This means theLeft Text
will always be on top when bothEvents
are in a singleStep
.
The Card Track
The large, bottom-left container is the Card Track
. It can hold any number of cards, and represents sequence frames in order.
-
Basic Functions
- Add a card by clicking the
+
icon in the top left. - Click on a card to focus it and enable the editor on the right.
- While focused, press your
delete
key to delete a card. - Click in the empty area to unfocus.
- While hovering over the
Card Track
, use your touchpad or mousewheel to scroll (if there are multiple cards) or … - … hover over the right side of the
Card Track
to reveal a draggable scroll bar.
- Add a card by clicking the
The Editor
The editor is found in the bottom-right corner.
Changes to the Editor Fields
will be realized in the Card Track
in real time.
Text
- The text fields contain the text to be displayed on that side. In PowerUp, the text is animated onto the screen as an unbound text bubble.Image
- Selectingno change
will use the same image as the preceding card.- All new cards default to
no change
, so adding a new card will show the images from the preceding card, but the value for this field will still beno change
. - Images for PowerUp Story Sequences are cataloged as a
Character
with multipleMoods/Types
. File names for images follow the convention"CharacterName^Type"
. The carat^
is an expected separater for bothStorySequencePlayer
andPowerUp Story Designer
.- Selecting a different
Mood/Type
for the same character will simply change the image to the selection. - Selecting a
Character
different from the precedingCard
will result in the image being animated off screen, changing to the selected image, and then animating to the assigned position. - This is handled automatically by
StorySequencePlayer
.
- Selecting a different
- All new cards default to
Position
- The position options are relative to the side.Near
is closer to the edge of theCard
, andFar
is closer to the middle.Mid
is the middle of thos two options.- Choose
Hidden
to remove an image from aCard
. There is no option in theImage
selector to remove an image. This is to ensure that an image is animated off screen rather thanblinking out of existence
. - Note: we could add an animation option for
blinking out of existence
if there is ever a need.
- Choose
Animation
- This field selects an animation that will be applied to the image after any animatable position changes.
Changes to the
Animation
field currently do not give any visual feedback on the focusedCard
, but will be included and rendered when exported to and viewed in PowerUp.
The Thumbnail Track
The Thumbnail Track
copies the contents of the Card Track
. It also updates in real time, and serves as a convenience feature for navigating/finding Cards
.
Clicking on a Thumbnail
will scroll to and focus that Card
in the Card Track
.
Similar to the Card Track
, if there are enough Thumbnails
to overflow the container, you can use your touch pad to scroll the view horizontally, or hover over the bottom of the Thumbnail Track
to reveal a draggable scroll bar.
The Menu
<img src="https://github.com/justKD/Powerup-Story-Designer/blob/dev/docs/images/6-the-menu.png?raw=true" width=500/>
Drop Downs
- Scenario Selection
- This drop down lists available scenarios.
- When adding scenarios to PowerUp, this web app will need to be updated to include matching options with the correct
ScenarioID
.
- When adding scenarios to PowerUp, this web app will need to be updated to include matching options with the correct
- This selection is mandatory and will be used to identify where this
Story Sequence
appears in PowerUp.
- This drop down lists available scenarios.
- Type Selection
- This drop down lists available type options per scenario.
- Currently,
Intro
andOutro
are the only two options, and determine if the currentStory Sequence
appears before the first question, or after the scenario is completed (but before any mini-games). - This selection is mandatory and will be used to identify where this
Story Sequence
appears in a scenario.
- Music Selection
- This drop down lists all available music options.
- When adding
StorySequencePlayer
music resources to PowerUp, this web app will need to be updated to include matching options with exact file names.
- When adding
- This selection is optional. Leave it on
no music
if desired.When exporting, make sure each option is selected correctly. There should be only one of each Scenario/Type combination.
Icons
- This drop down lists all available music options.
- Undo
- Undo the last stored change.
- Redo
- Redo the last undone action.
- Open Saved States
- Opens the Saved States GUI.
- Open Import/Export
- Opens the Import/Export GUI for downloading/restoring work sessions and exporting a collection of
Sequences
as a dataset usable in PowerUp.
- Opens the Import/Export GUI for downloading/restoring work sessions and exporting a collection of
- Open Help
- Opens the help pop up.
Saved States
This page allows you to save the state of your work session. Use it to save versions of the same scenario/type as well as different documents altogether. These saved states are selected when exporting the PowerUp dataset, so you will likely want to have a state for each Story Sequence
you want to include in the game.
- Select a slot to enable the buttons.
- Selecting
Save
will prompt you to name the slot if it is empty, overwrite a slot if it has a different saved state, or simply update the saved state if it is the same as the current working session. - Select a non-empty slot and select
Load
to restore that saved state. Renaming
a slot does not affect the content of the saved state.Deleting
a slot will revert it back toempty
.
Import/Export
This page allows you to Download
and Upload
work session files, as well as to Export
saved states in a dataset for PowerUp.
- The
Download
button will download a JSON file representing your entire work session. This includes the currentStory Sequence
being worked on, saved states, and history. Upload
will open a file finder dialog. Choose a previously downloaded PowerUp Story Designer JSON in order to restore the work session.This feature can be used locally in order to save your work between sessions, but also should be used in the Github repo for collaborative work. A single master session should be kept under version control and treated in the same manner as other code documents, at least until another collaborative solution is implemented.
- The
Export
button will download a file calledStorySequences.json
. This is a drop-in file for PowerUp that is used by theStorySequencePlayer
class.- The downloaded file will contain all of the saved states selected in the bottom portion of this page. Match the scenario/type with the appropriate select field.
- It’s ok to leave empty fields. They will be ignored, but the downloaded file will still be viable.
- Ensure that each saved state has the scenario/type properly set. The grid on this page is for convenience. The saved state is assigned a position in
StorySequences.json
based on the scenario/type selection actually in each saved state.
Hotkeys
ctrl + n
- add a new cardctrl + z
- undo actionctrl + y
- redo actionctrl + s
- save over last saved statectrl + d
- prompt to download work session filectrl + u
- prompt to upload work session filedelete
- delete the currently focused card