Skip to content

Commit

Permalink
23.1 Stable
Browse files Browse the repository at this point in the history
  • Loading branch information
OttCS committed Jan 6, 2023
1 parent 932d332 commit 98fedb1
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 66 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<header class="card">
<h1 class="zephyr">ZephyrJS</h1>
<p><strong>Expands <a href="https://github.com/pixijs/pixijs" class="pixi">PixiJS</a> for easy interactive projects!</strong></p>
<p><strong>Expands <a href="https://github.com/pixijs/pixijs" class="pixi" id="compatibility">PixiJS</a> for easy interactive projects!</strong></p>
</header>

<p class="pixi" id="compatibility"></p>

<h2>Tell Me Why</h2>
<p>PixiJS on its own is very powerful, but a lot of work is needed to make it work for web-based interactive content. PhaserIO is exclusively used to make games, and not all of the functionality is translatable back to Pixi. ZephyrJS is for more than just games, made to be usable with interactive projects of any sort. It also directly ADDS to PixiJS instead of wrapping it, letting you use the full functionality of Pixi so that what you've gotten used to can still be used outside of Zephyr.</p>

Expand Down
2 changes: 1 addition & 1 deletion documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dl>
<dt>PIXI.Mouse.setContainer(domElement)</dt>
<dd>What the mouse’s coordinates should be scaled according to (Generally, this should be your Pixi app.view).</dd>
<dd><strong class="nightly">NOTE</strong>: There has been a bug report about passing in an element that hasn't been appended to the DOM. This has been addressed in Nightly version 22.12.26, and will be going into Stable in Zephyr 23.1. If not using one of these versions, please ensure your mouse container has been appended to the DOM BEFORE setting it as the mouse container.</dd>
<dd><strong class="warning">NOTE</strong>: Please ensure that this element has already been appended to the DOM. As of version 23.1, calling this method an unappended element will print a console error about using an "invalid element".</dd>
<dt>PIXI.Mouse.down([mouse button])</dt>
<dd>Returns true if the button is actively pressed down.</dd>
<dd class="return">Boolean</dd>
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
let s = document.querySelector('#link-to-other');
s.href = 'https://github.com/ZephyrJS-Project/ZephyrJS';
s.textContent = 'ZephyrJS Github';
document.querySelector("#compatibility").textContent = PIXI.Zephyr.compatible;
})
});
</script>
Expand Down
2 changes: 1 addition & 1 deletion nightly/zephyr.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PIXI.Audio = {};
PIXI.File = {};

PIXI.Zephyr = {
version: "ZephyrJS 22.12.26",
version: "ZephyrJS 23.1.6",
compatible: "PixiJS v7.0.5",
useKeys: () => {
PIXI.Keys.map = new Map();
Expand Down
120 changes: 60 additions & 60 deletions stable/pixi.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion stable/zephyr.js

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

4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ dd {
color: var(--mid);
}

.warning {
color: var(--warning);
}

.return {
color: var(--comfort);
}
Expand Down

0 comments on commit 98fedb1

Please sign in to comment.