Ali Zemani
84d63bfe7e
Merge pull request #33 from MxShift/master
...
[NEW] Added a choices translation selector
2023-02-25 21:29:46 +03:30
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
Ali Zemani
be2136e5b2
add German sub
2022-07-22 20:15:18 +04:30
Ali Zemani
52a3ece82a
add Korean sub
2022-01-25 17:50:39 +03:30
Ali Zemani
3fa8e4dd17
fix Hungarian file encoding
2021-12-30 15:02:57 +03:30
Ali Zemani
5c9c6d7031
rename Hungarian file
2021-12-30 15:01:13 +03:30
Ali Zemani
009c6e9a3e
add Hungarian sub
2021-12-30 14:58:45 +03:30
Ali Zemani
ed40b0e549
Merge pull request #25 from ZapperDJ/patch-1
...
Create bandersnatch.bat
2021-09-06 12:37:16 +04:30
Ali Zemani
0f3aab3e2d
add fr subtitle
2020-11-08 08:14:57 +03:30
Ali Zemani
c4be579d12
remove virgul article
2020-10-04 14:38:27 +03:30
Ali Zemani
8a69aa6bc3
add Russian Subtitle
2020-10-04 14:35:22 +03:30
ZapperDJ
a5fe2f06f6
Create bandersnatch.bat
...
This is a batch file that starts index.html in chrome with some flags that fix the error when trying to load subtitles when opening index.html as a local file instead of loading it through a web server
2019-11-04 18:39:44 +01:00
Ali Zemani
32c01d9ec2
Merge pull request #24 from mehotkhan/add-license-1
...
Create LICENSE
2019-08-03 11:14:42 +04:30
Ali Zemani
17a3ac75e6
Create LICENSE
2019-08-03 11:14:30 +04:30
Ali Zemani
114d029e18
Merge pull request #23 from CyberShadow/pull-20190727-205645
...
More fixes
2019-08-03 11:06:21 +04:30
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
Ali Zemani
a76a551fe9
Merge pull request #22 from CyberShadow/pull-20190727-205645
...
More fixes
2019-07-29 01:45:09 +04:30
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
Ali Zemani
a0984c1f46
Merge pull request #21 from CyberShadow/pull-20190727-205645
...
Many fixes and improvements
2019-07-28 14:25:26 +04:30
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
2fce7361e9
index.html: Disable looping
...
Pointless in this case.
Avoid inadvertently resetting all variables upon reaching the credits screen.
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