Skip to content

Commit

Permalink
22.11.02
Browse files Browse the repository at this point in the history
Pixi v7 is HERE and it's awesome!
  • Loading branch information
OttCS committed Nov 3, 2022
1 parent 5f03b39 commit 2efb82f
Show file tree
Hide file tree
Showing 11 changed files with 2,252 additions and 45 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1>ZephyrJS v22.10</h1>
<h1>ZephyrJS v22.11.02</h1>
<p><strong>Expands <a href="https://github.com/pixijs/pixijs">PixiJS</a> for easy interactive projects!</strong></p>

<p class="pixi">Compatible with PixiJS v6.5.7!</p>
<p class="pixi">Compatible with PixiJS v7.0.2!</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 user-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.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>

<body>
<h1>Documentation of ZephyrJS v22.10</h1>
<h1>Documentation of ZephyrJS v22.11.02</h1>
<p>Zephyr is designed to extend the functionality of PixiJS, rather than wrapping it so that you can always use Pixi
without Zephyr.</p>
<p>The <span class="return">Return</span> line below the function indicates the object type that is returned.</p>
Expand Down
43 changes: 18 additions & 25 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,45 +12,38 @@
</head>

<body>
<h1>ZephyrJS</h1>
<h1>ZephyrJS v22.11.02</h1>
<p><strong>Expands <a href="https://github.com/pixijs/pixijs">PixiJS</a> for easy interactive projects!</strong></p>

<p class="pixi" id="nightlyCompatible">Compatible with Pixi 6.5.7!</p>

<p class="pixi">Compatible with PixiJS v7.0.2!</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 user-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>
<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 user-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>
<p>Check out <a href="https://ottcs.github.io/ZephyrJS/documentation.html">the documentation</a> as well!</p>

<h2>Getting Started</h2>

<p>Please note that it is REQUIRED that you include the script tag for PixiJS before the script tag for ZephyrJS.</p>

<p>Most projects should just use the monthly <a href="https://github.com/OttCS/ZephyrJS/releases">Github Releases</a>, as the latest tested-compatible version of PixiJS is included with each one.</p>

<p>If you don't want to download Pixi/Zephyr, use the following code to use the hosted <strong>stable release</strong>. Please note that some specs WILL change at the start of every month when a new version is released, but this is a great way to test out Zephyr for projects without committing to using it.</p>
<p><code>&lt;script src="https://ottcs.github.io/ZephyrJS/stable/pixi.js"&gt;&lt;/script&gt;</code></p>
<p><code>&lt;script src="https://ottcs.github.io/ZephyrJS/stable/zephyr.js"&gt;&lt;/script&gt;</code></p>
<p>This will always use the latest stable-tested version of (minified, speed matters) Pixi/Zephyr.</p>

<p>If you're willing to help out development by reporting bugs and issues, consider using the <strong>nightly release</strong>!</p>
<p><code>&lt;script src="https://ottcs.github.io/ZephyrJS/nightly/pixi.js"&gt;&lt;/script&gt;</code></p>
<p><code>&lt;script src="https://ottcs.github.io/ZephyrJS/nightly/zephyr.js"&gt;&lt;/script&gt;</code></p>
<p><code>&lt;script src="https://ottcs.github.io/ZephyrJS/nightly/zepyhyr.js"&gt;&lt;/script&gt;</code></p>
<p>Please do bear in mind that things ARE likely to break in functionality, especially right after a new release of Pixi.</p>

<p>Looking for a starting point? Check out the quickstart!</p>
<p><a href="quickstart/index.html">View the quickstart</a></p>
<p><a href="quickstart/quickstart.zip">Download the quickstart</a></p>


<h2>More</h2>
<p><a href="https://github.com/OttCS/ZephyrJS/">ZephyrJS Github</a></p>
<p><a href="https://github.com/OttCS/ZephyrJS/issues">Issues Page</a></p>
<p><a href="https://github.com/users/OttCS/projects/7">Project Board</a></p>
<p><a href="https://github.com/OttCS/ZephyrJS/discussions">Discussions Page</a></p>

<p><a href="https://github.com/OttCS/ZephyrJS/">ZephyrJS Github</a>
<a href="https://github.com/OttCS/ZephyrJS/issues">Issues Page</a>
<a href="https://github.com/users/OttCS/projects/7">Project Board</a>
<a href="https://github.com/OttCS/ZephyrJS/discussions">Discussions Page</a>
</p>

<p>Thanks for using ZephyrJS &lt;3</p>
</body>

Expand Down
1,117 changes: 1,112 additions & 5 deletions nightly/pixi.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions nightly/pixi.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion nightly/pixi.min.js.map

This file was deleted.

8 changes: 4 additions & 4 deletions nightly/zephyr.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ PIXI.Zephyr = {
ADVANCE: "#a36cef",
PIXIJS: "#ea1e63",
},
version: "ZephyrJS 22.10.22",
compatible: "PixiJS v6.5.7",
version: "ZephyrJS 22.11.02",
compatible: "PixiJS v7.0.2",
useKeys: () => {
PIXI.Keys.map = new Map();
PIXI.Keys.down = (key) => {
Expand Down Expand Up @@ -43,8 +43,8 @@ PIXI.Zephyr = {
useMouse: () => {
PIXI.Mouse.bounds = document.getElementsByTagName("html")[0].getBoundingClientRect();
PIXI.Mouse.container = document.getElementsByTagName("html")[0];
PIXI.Mouse.x = screen.width / 2;
PIXI.Mouse.y = screen.height / 2;
PIXI.Mouse.x = 0;
PIXI.Mouse.y = 0;
PIXI.Mouse.setContainer = (view) => {
PIXI.Mouse.container = view;
PIXI.Mouse.bounds = PIXI.Mouse.container.getBoundingClientRect();
Expand Down
1,117 changes: 1,112 additions & 5 deletions stable/pixi.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions stable/pixi.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion stable/pixi.min.js.map

This file was deleted.

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.

0 comments on commit 2efb82f

Please sign in to comment.