Skip to content

Commit

Permalink
Finish 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Mar 12, 2020
2 parents 69ee758 + 2afc13f commit 1aafe26
Show file tree
Hide file tree
Showing 27 changed files with 719 additions and 536 deletions.
24 changes: 20 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
{
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"env": {
"browser": true,
"es6": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 11,
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"plugins": ["jsdoc"],
"extends": [
"eslint:recommended",
"plugin:jsdoc/recommended"
],
"settings": {
"jsdoc": {
"mode": "closure",
"tagNamePreference": {
"class": "constructor",
"constant": "const",
Expand Down Expand Up @@ -87,6 +92,17 @@
"error",
"single"
],
"require-jsdoc": [
"error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": false,
"ArrowFunctionExpression": false,
"FunctionExpression": true
}
}
],
"semi": [
"error",
"always"
Expand Down
4 changes: 4 additions & 0 deletions .righteous-sandbox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"just_init": "_init",
"just_list": true
}
45 changes: 5 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ A compact, dependency-free Javascript implementation of the beloved 16-bit Scree
1. [Features](#features)
2. [Installation](#installation)
3. [Methods](#methods)
4. [Building](#building)
5. [License](#license)
6. [Credits](#credits)
4. [License](#license)
5. [Credits](#credits)



Expand All @@ -27,9 +26,9 @@ The JS Mate Poe script has also been heavily optimized using [Google Closure Com

| Encoding | Size |
| -------- | ---- |
| None | 98,318 Bytes |
| Gzip | 56,158 Bytes |
| Brotli | 52,455 Bytes |
| None | 97,841 Bytes |
| Gzip | 56,352 Bytes |
| Brotli | 52,671 Bytes |

The [latest release](https://github.com/Blobfolio/js-mate-poe/releases/latest) contains all of the main animation sequences, including complex multi-sprite interactions such as alien encounters and multimedia experiences such as sneezing and bleating. Poe can also be dragged around the screen using your mouse (if you're *that* kind of person!).

Expand Down Expand Up @@ -142,40 +141,6 @@ Poe.speed = 1;
```



 
## Building

The JS Mate Poe code can be edited and/or compiled by Linux/Mac users meeting the following system requirements:

| Dependency | Description | Auto |
| ---------- | ----------- | ---- |
| [Brotli](https://github.com/google/brotli) | Static encoding. | * |
| [Gzip](https://www.gzip.org/) | Static encoding. | * |
| [Just](https://github.com/casey/just) | Task runner. | |
| [NPM](https://www.npmjs.com/) | Dependency management. | |
| [SassC](https://github.com/sass/sassc) | SCSS processing. | * |
| [Watchexec](https://github.com/watchexec/watchexec) | Source file monitoring. | * |

The Just build tasks will attempt to automatically install any missing dependencies (other than NPM and Just itself). If you do not already have Watchexec installed, you'll also need [Cargo](https://doc.rust-lang.org/stable/cargo/getting-started/installation.html), so Just can build it.

If you meet the requirements, hop into the terminal and type:
```bash
# Clone the repository.
git clone https://github.com/Blobfolio/js-mate-poe.git

# Go to it!
cd js-mate-poe

# Watch for changes...
just watch

# Or build without changing anything...
just build
```



 
## License

Expand Down
6 changes: 3 additions & 3 deletions dist/demo/assets/demo.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/demo/assets/director.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/demo/director.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
<symbol viewBox="0 0 447.561 512.172" id="i-arrow"><path fill="currentColor" d="M446.742 283.925c-1.664-3.989-5.547-6.592-9.856-6.592H320V10.667C320 4.779 315.22 0 309.334 0H138.667C132.779 0 128 4.779 128 10.667v266.667H10.667a10.702 10.702 0 00-9.856 6.571c-1.643 3.989-.747 8.576 2.304 11.627l212.8 213.504a10.675 10.675 0 007.552 3.136c2.837 0 5.547-1.131 7.552-3.115l213.419-213.504a10.645 10.645 0 002.304-11.628z"/></symbol>
</svg>

<script src="assets/vue.min.js?ver=18"></script>
<script src="assets/director.min.js?ver=18"></script>
<script src="assets/vue.min.js?ver=19"></script>
<script src="assets/director.min.js?ver=19"></script>
</body>
</html>
6 changes: 3 additions & 3 deletions dist/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ <h2 class="section-title">Animations</h2>

<div id="fader"></div>

<script src="../js-mate-poe.min.js?ver=18"></script>
<script src="assets/vue.min.js?ver=18"></script>
<script src="assets/demo.min.js?ver=18"></script>
<script src="../js-mate-poe.min.js?ver=19"></script>
<script src="assets/vue.min.js?ver=19"></script>
<script src="assets/demo.min.js?ver=19"></script>
<script>
(function() {
// Start it!
Expand Down
2 changes: 1 addition & 1 deletion dist/demo/minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</style>
</head>
<body>
<script src="../js-mate-poe.min.js?ver=18"></script>
<script src="../js-mate-poe.min.js?ver=19"></script>
<script>
(function() {
// Start it!
Expand Down
Loading

0 comments on commit 1aafe26

Please sign in to comment.