EL-R1
f288cde077
refactor: replace PACS by P.A.C.S.
2023-06-23 16:16:41 +02:00
EL-R1
2519bb1122
refactor: remove console.log
2023-06-21 18:47:05 +02:00
EL-R1
3a91e92080
fix: display image
...
send child choice instead of parent
2023-06-21 11:03:50 +02:00
EL-R1
6759495a2a
fix: update subtitle size
...
I was developping on firefox, and in the future maybe we will need to add a conditionnal event for subtitle size
2023-06-21 10:17:12 +02:00
EL-R1
fdf8d0511d
Merge branch 'input-numbers'
2023-06-21 10:16:14 +02:00
EL-R1
3d6a905f86
Merge branch 'dev-logos'
2023-06-21 10:16:00 +02:00
EL-R1
141c13f817
feat: increase subtitle size
2023-06-20 22:22:36 +02:00
EL-R1
02bb0dda37
feat: add numbers choices for scene:cs_bs_phone
2023-06-20 21:56:06 +02:00
EL-R1
7208052669
feat: add choice value to see if it's image or not
2023-06-19 23:32:31 +02:00
EL-R1
76cc3bbe52
feat: add images logo's
...
spoil in the description :
netflix logo, Glyph White Bear logo and P.A.C.S. logo are now chosable instead of text
2023-06-19 21:15:12 +02:00
EL-R1
015437510b
Revert "feat: add images logo's"
...
This reverts commit 6dacda6dbd
.
2023-06-19 21:13:35 +02:00
EL-R1
6dacda6dbd
feat: add images logo's
...
spoil in the description :
netflix logo, Glyph White Bear logo and P.A.C.S. logo are now chosable instead of text
2023-06-19 21:09:01 +02:00
EL-R1
66c1141b5b
refactor: add accent for french translation
2023-06-19 19:00:57 +02:00
EL-R1
3252c58208
feat: add text for 6A and 6B scene
2023-06-19 14:15:36 +02:00
EL-R1
a080945454
refactor: change lot of translation to be more accurate
2023-06-19 14:14:48 +02:00
EL-R1
9981da7b6e
feat: add french choices translation file
2023-06-18 23:04:05 +02:00
MxShift
a930971a7a
Prepared for pull request
2023-02-25 01:11:51 +06:00
MxShift
a4f6d03137
Added a choices translation selector
...
Added the ability to select a translation of choices
2023-02-25 01:02:39 +06:00
MxShift
d84fa0fd06
English choices replaced by Russian choices
2023-02-24 21:12:20 +06:00
Vladimir Panteleev
80f4bd0b6e
assets/scripts.js: Segment group preconditions override segment preconditions
2019-08-02 03:06:17 +00:00
Vladimir Panteleev
88c7b5dced
Add "reset" link in HTML
2019-07-29 03:06:20 +00:00
Vladimir Panteleev
8693936308
Improve HTML
...
- Improve English
- Credit all authors
- Mention more controls
- Slightly improve layout
- Remove Google Analytics
2019-07-29 03:06:20 +00:00
Vladimir Panteleev
0bccf68de1
assets/scripts.js: Fix non-choice transitions
...
The previous logic was completely wrong.
2019-07-29 03:06:20 +00:00
Vladimir Panteleev
927aeac7b4
assets/scripts.js: Return strings from preconditionToJS
...
Minor correctness fix.
2019-07-28 22:19:56 +00:00
Vladimir Panteleev
3e17def067
assets/scripts.js: Fix handling of IDNT segment
...
This segment does not have an end-time, so treat all timestamps past
its start time as belonging to it.
Fixes #null appearing in hashes and stored locations.
2019-07-28 22:13:59 +00:00
Vladimir Panteleev
941c975e36
assets/scripts.js: Log previous persistentState values
2019-07-28 21:25:53 +00:00
Vladimir Panteleev
9bf91b095b
assets/scripts.js: Initialize persistent state from data
...
Fixes JS errors when seeking past first choice with empty localStorage.
2019-07-28 21:25:31 +00:00
Vladimir Panteleev
9ea55f3c02
assets/scripts.js: Fix recording of breadcrumbs after jumps
2019-07-28 21:25:10 +00:00
Vladimir Panteleev
9df4416b2b
assets/scripts.js: Use consistent variable name
2019-07-28 19:38:29 +00:00
Vladimir Panteleev
6d34768b11
assets/scripts.js: Fix case of unmapped segment
...
Fixes behavior and JS errors during the post-credit studio logos.
2019-07-28 19:36:33 +00:00
Vladimir Panteleev
ad877dfe1e
assets/scripts.js: Make left/right arrow seeks "natural"
...
Unbreaks jumping to/past first choice with empty localStorage.
2019-07-28 19:04:54 +00:00
Vladimir Panteleev
96908eb3af
assets/scripts.js: Fix jumping forward while paused
2019-07-28 19:04:53 +00:00
Vladimir Panteleev
e9a9719f21
Add Unlicense header to source files
...
As per f3a58d84bf
2019-07-28 19:04:43 +00:00
Vladimir Panteleev
7ad6dec786
assets/scripts.js: Fix comparing to strings in preconditions
2019-07-28 18:01:33 +00:00
Vladimir Panteleev
4260f0ccf4
assets/scripts.js: Tweak precondition debug log
2019-07-28 08:38:34 +00:00
Vladimir Panteleev
3fbed6886b
assets/scripts.js: Implement more precondition expression types
2019-07-28 08:38:34 +00:00
Vladimir Panteleev
f9b7bc840c
assets/scripts.js: Simplify some precondition code
2019-07-28 08:35:23 +00:00
Vladimir Panteleev
60fd4fa882
assets/scripts.js: Check moment preconditions
2019-07-28 08:21:34 +00:00
Vladimir Panteleev
59782b0707
assets/scripts.js: Improve precondition handling
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
bc81c00be8
Make the left-arrow key do the reverse of the right-arrow key
...
Track how we got to a certain scene through persistent breadcrumbs,
then follow them back to go along the path the user took.
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
d228a13031
assets/scripts.js: Implement disableImmediateSceneTransition
...
Allow navigating from dead-end segments without waiting for the
segment to end.
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
e7b80f431a
assets/scripts.js: Improve choice handling
...
- Apply effects of the default choice even if the user didn't click
anything
- Pave way for implementing disableImmediateSceneTransition
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
d5b63699fe
assets/scripts.js: Make choice timer bar animation smoother
...
It's still not smooth due to the ontimeupdate rate limit, but at least
it's less choppy (moves at a consistent speed).
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
39c3144e4c
assets/scripts.js: Improve timer logic
...
Use end of ongoing moments and start of upcoming moments too.
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
57166f7daa
assets/scripts.js: Remember and restore playback position when reopening
...
Just like the real thing.
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
bc5a6bf2b9
assets/scripts.js: Clean up some global variables
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
449e112040
assets/scripts.js: Make persistent state actually persistent
...
Use localStorage to save persistent variables.
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
336a65f31a
assets/scripts.js: Pause and unpause on click
...
- By placing the event handler on the video element, we ensure we don't
receive it when a choice item was clicked.
- Use preventDefault to avoid the pause-and-immediately-unpause
problem due to the video element itself also handling the event.
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
7989e92f2b
assets/scripts.js: Fix Space not unpausing with visible controls
...
When the video controls are visible, the video is paused, and the
video element is focused, pressing Space would unpause the video and
then immediately pause it again.
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
ea6ff3f69e
assets/scripts.js: Use moments for right key
...
Allows stopping at false interactions (e.g. 2B/1).
2019-07-28 08:16:55 +00:00