Skip to content

Commit 98fedb1

Browse files
committed
23.1 Stable
1 parent 932d332 commit 98fedb1

File tree

7 files changed

+69
-66
lines changed

7 files changed

+69
-66
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<header class="card">
22
<h1 class="zephyr">ZephyrJS</h1>
3-
<p><strong>Expands <a href="https://github.com/pixijs/pixijs" class="pixi">PixiJS</a> for easy interactive projects!</strong></p>
3+
<p><strong>Expands <a href="https://github.com/pixijs/pixijs" class="pixi" id="compatibility">PixiJS</a> for easy interactive projects!</strong></p>
44
</header>
55

6-
<p class="pixi" id="compatibility"></p>
7-
86
<h2>Tell Me Why</h2>
97
<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>
108

documentation/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<dl>
3030
<dt>PIXI.Mouse.setContainer(domElement)</dt>
3131
<dd>What the mouse’s coordinates should be scaled according to (Generally, this should be your Pixi app.view).</dd>
32-
<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>
32+
<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>
3333
<dt>PIXI.Mouse.down([mouse button])</dt>
3434
<dd>Returns true if the button is actively pressed down.</dd>
3535
<dd class="return">Boolean</dd>

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
let s = document.querySelector('#link-to-other');
2020
s.href = 'https://github.com/ZephyrJS-Project/ZephyrJS';
2121
s.textContent = 'ZephyrJS Github';
22+
document.querySelector("#compatibility").textContent = PIXI.Zephyr.compatible;
2223
})
2324
});
2425
</script>

nightly/zephyr.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PIXI.Audio = {};
55
PIXI.File = {};
66

77
PIXI.Zephyr = {
8-
version: "ZephyrJS 22.12.26",
8+
version: "ZephyrJS 23.1.6",
99
compatible: "PixiJS v7.0.5",
1010
useKeys: () => {
1111
PIXI.Keys.map = new Map();

stable/pixi.js

+60-60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stable/zephyr.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

style.css

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ dd {
4242
color: var(--mid);
4343
}
4444

45+
.warning {
46+
color: var(--warning);
47+
}
48+
4549
.return {
4650
color: var(--comfort);
4751
}

0 commit comments

Comments
 (0)