-
Notifications
You must be signed in to change notification settings - Fork 0
/
story.js
40 lines (38 loc) · 1 KB
/
story.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
var sStart = "start"; //Start element name
var bCursor = false; //display a cursor
var oActions = {
key: { //action bindings
"a" : "action1", //key: action name in story.json
"b" : "action2"
},
mouse: {
"1" : "action1", //left button
"2" : "action2" //right button
}
}
var oStory = {
"start": {
"video": "video/Startvideo.mp4",
"autoaction": "start",
"action1": "intro",
"action2": "intro"
},
"intro": {
"video": "video/Intro.mp4",
"autoaction": "Entscheidungsvideo"
},
"Entscheidungsvideo": {
"video": "video/Entscheidungsvideo.mp4",
"action1": "FolgeSchwarz",
"action2": "FolgeWeiß",
"autoaction": "start"
},
"FolgeSchwarz": {
"video": "video/FolgeSchwarz.mp4",
"autoaction": "start"
},
"FolgeWeiß": {
"video": "video/FolgeWeiß.mp4",
"autoaction": "start"
}
}