pixijs / guides Goto Github PK
View Code? Open in Web Editor NEWPixiJS User Guides
Home Page: https://pixijs.io/guides/
License: MIT License
PixiJS User Guides
Home Page: https://pixijs.io/guides/
License: MIT License
The link "Working with Bundlers" on this guide leads to https://pixijs.io/guides/basics/working-with-bundlers.md, which doesn't exist.
In the example code given by the documentation:
app.ticker.add((delta) => {
// Add the time to our total elapsed time
elapsed += delta;
// Update the sprite's X position based on the cosine of our elapsed time. We divide
// by 50 to slow the animation down a bit...
sprite.x = 100.0 + Math.cos(elapsed/50.0) * 100.0;
});
I tried this code out, but it seems that the unit of delta
in the code is neither seconds nor miliseconds. I measuerd the actual time between two ticks and the delta
given by the function and their value seems to be 1 to 16 in ratio.
I think the documentation should clarify what unit the delta
value is in, rather than using the vague term "time" to refer to the value.
I noticed a couple of issues on https://pixijs.io/guides/basics/interaction.html I may be able to submit a PR to improve this at some point, but wanted to at least make a note:
It seems that there are 2 sites with "Pixi.js guides" :
Questions:
https://github.com/pixijs/guides/blob/main/docs/basics/architecture-overview.md
"Scene Graph" leads to
https://github.com/pixijs/guides/blob/main/docs/basics/scene-graph.html
Which results in 404 error
I guess, it should be
https://github.com/pixijs/guides/blob/main/docs/basics/scene-graph.md
be able to link to the correct place
pixi.js
version: e.g. 7.1.0No response
No response
The initial paragraph in the Textures guide says
We're about to get to sprites and other simple display objects. But before we do, we need to talk about textures.
But Sprites, Graphics, and general DisplayObjects were already covered earlier in the guide.
Locally the hyperlink to sample.png on the getting started page is correct but on Github Pages
https://pixijs.io/guides/basics/getting-started.html the hyperlink to sample.png points to https://pixijs.io/static/images/sample.png which is incorrect.
sample.png is served under https://pixijs.io/guides/static/images/sample.png.
At the bottom of this page : https://pixijs.io/guides/basics/sprite-sheets.html
The callback version of the parse method is used while PIXI code says it is "deprecated since version 6.5.0"
I can update this example in the guide if needed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.