mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
Rename the project to ElseIFPlayer
This commit is contained in:
parent
fa2635525c
commit
8699868c42
9 changed files with 17 additions and 16 deletions
14
README.md
14
README.md
|
|
@ -1,9 +1,9 @@
|
|||
# ifplayer
|
||||
# ElseIFPlayer
|
||||
|
||||
Interactive Fiction player for the web.
|
||||
Powered by [cheap-glkote](https://github.com/He4eT/cheap-glkote) and [Emglken](https://github.com/curiousdannii/emglken).
|
||||
|
||||
To see a live demo, check out [https://he4et.github.io/ifplayer/](https://he4et.github.io/ifplayer/).
|
||||
To see a live demo, check out [https://he4et.github.io/elseifplayer/](https://he4et.github.io/elseifplayer/).
|
||||
|
||||
## Direct links
|
||||
|
||||
|
|
@ -12,13 +12,13 @@ You can provide the direct link to your game:
|
|||
`/#/play/encodedURL/[theme]/[mode]/`
|
||||
|
||||
- `encodedURL` — storyfile location encoded with `encodeURIComponent`.
|
||||
- `theme` — [UI theme](https://github.com/He4eT/ifplayer/blob/master/src/themes/themes.js), optional.
|
||||
- `theme` — [UI theme](https://github.com/He4eT/elseifplayer/blob/master/src/themes/themes.js), optional.
|
||||
- `mode` — player interface mode, optional:
|
||||
- the default mode is used if the option is not set.
|
||||
- `focus` — single window mode without additional windows, such as the status bar.
|
||||
|
||||
### Examples
|
||||
- [Play "Lost Pig" with default or last used theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
|
||||
- [Play "Lost Pig" without statusbar with default or last used theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
|
||||
- [Play "Lost Pig" with Nord theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/nord/);
|
||||
- [Play "Lost Pig" without statusbar with Dim theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/dim/focus/);
|
||||
- [Play "Lost Pig" with default or last used theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
|
||||
- [Play "Lost Pig" without statusbar with default or last used theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
|
||||
- [Play "Lost Pig" with Nord theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/nord/);
|
||||
- [Play "Lost Pig" without statusbar with Dim theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/dim/focus/);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
CURRENT_TIMESTAMP=`date +"%Y-%m-%d-%H%M%S"`
|
||||
|
||||
GH_REPO_NAME='ifplayer'
|
||||
GH_REPO_NAME='elseifplayer'
|
||||
RELEASE_BRANCH='release'
|
||||
BUILD_DIR='docs'
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0">
|
||||
<title>
|
||||
IFPlayer
|
||||
ElseIFPlayer
|
||||
</title>
|
||||
<meta
|
||||
name="description"
|
||||
|
|
|
|||
3
package-lock.json
generated
3
package-lock.json
generated
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
"name": "ifplayer",
|
||||
"name": "elseifplayer",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "elseifplayer",
|
||||
"version": "0.1.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "ifplayer",
|
||||
"name": "elseifplayer",
|
||||
"version": "0.1.0",
|
||||
"description": "Play interactive fiction games in your browser",
|
||||
"main": "index.js",
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ const fail = details => (
|
|||
<a
|
||||
target='_blank'
|
||||
rel='noopener noreferrer'
|
||||
href='https://github.com/He4eT/ifplayer/issues'>
|
||||
href='https://github.com/He4eT/elseifplayer/issues'>
|
||||
Report bug
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ const themes = [
|
|||
'wasp'
|
||||
]
|
||||
|
||||
const LS_THEME_KEY = 'ifplayer/theme'
|
||||
const LS_THEME_KEY = 'elseifplayer/theme'
|
||||
const DEFAULT_THEME = themes[0]
|
||||
|
||||
const getSavedTheme = () => {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export default function ({ themeEngine }) {
|
|||
return (
|
||||
<main className='view home'>
|
||||
<h1>
|
||||
ifplayer
|
||||
ElseIFPlayer
|
||||
</h1>
|
||||
|
||||
<section>
|
||||
|
|
@ -32,7 +32,7 @@ export default function ({ themeEngine }) {
|
|||
Source code can be found in this <a
|
||||
target='_blank'
|
||||
rel='noopener noreferrer'
|
||||
href='https://github.com/He4eT/ifplayer'>
|
||||
href='https://github.com/He4eT/elseifplayer'>
|
||||
repository
|
||||
</a>.
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ export default () => (
|
|||
<a
|
||||
target='_blank'
|
||||
rel='noopener noreferrer'
|
||||
href='https://github.com/He4eT/ifplayer/issues'>
|
||||
href='https://github.com/He4eT/elseifplayer/issues'>
|
||||
Report bug
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue