-
Posts
1,600 -
Joined
-
Last visited
-
Days Won
18
xerver last won the day on February 25
xerver had the most liked content!
Contact Methods
-
Website URL
http://github.com/englercj
-
Twitter
rolnaaba
Profile Information
-
Gender
Male
-
Location
USA
Recent Profile Visitors
6,179 profile views
xerver's Achievements
-
RussiSunni reacted to a post in a topic: Remove all children from a Stage
-
hulkyuan reacted to a post in a topic: Mask with transparency
-
ivan.popelyshev reacted to a post in a topic: Tile Rendering Performance
-
If you're using the Tiled map editor, then gl-tiled can help render large maps efficiently (WebGL only).
-
jasonsturges reacted to a post in a topic: Change Background Color In JavaScript?
-
Shahdee reacted to a post in a topic: Sprites display with black border bug.
-
AnDG reacted to a post in a topic: Prepare and Destroy Texture from Video
-
As Exca mentioned this is an actual browser limitation. There is a limit to the number of WebGL contexts you are allowed to create in a single page. The actual number depends on your environment and browser. No, one canvas has 1 renderer.
-
Do you have a running example we can debug?
-
Kraghen reacted to a post in a topic: PIXI.loader.resources or TextureCache
-
ivan.popelyshev reacted to a post in a topic: loading series of base64 images with PIXI.loader
-
A running playground that reproduces this problem would be really helpful for trying to track down what is going on here. You can choose the pixi version using the "settings" button to get your exact version.
-
xerver reacted to a post in a topic: Need guidance on how to do some low level GL operations
-
themoonrat reacted to a post in a topic: Request to moderator to stop cyberbullying in the forum.
-
bigtimebuddy reacted to a post in a topic: Request to moderator to stop cyberbullying in the forum.
-
Request to moderator to stop cyberbullying in the forum.
xerver replied to [email protected]'s topic in Pixi.js
No bans are happening here (yet). @[email protected], try to understand the frustration people are experiencing. A new user came to the forum and in nearly every post they made trashed the project they were asking about. A lot of people here put in a lot of time and effort to not only to develop the project, but answer questions here as well. I was definitely frustrated reading your responses as someone who has put 6+ years of their life into this project. @botmaster did a poor job of handling that situation, but has apologized and I'm sure will do better in the future, as will you as well. Let's all be adults about this, acknowledge we did something wrong, and move on. @[email protected] you are free to ask any question you need help with, but I definitely recommend reading through some tutorials, the examples, and checking the API docs before asking questions. It will often lead to you finding the answer yourself, and there will be less fatigue for the people answering here on the forum. I'd also recommend you approach things you don't understand, or decisions you disagree with, with a more open mind. Try to learn and grow the new library, not all libraries are alike and different problem spaces call for different solutions. Having a bad attitude is a good way to earn ill-will in the community and you may no longer get the help you expect if you are ungracious about it. When you find inconsistencies, or things you think should work differently, then change it! Pixi.js is an open source library built by the community. Everyone gets a chance to make the library better by contributing to it. The best way to get problems you have fixed, are to fix them yourself. -
A description of how to run it locally is in the readme: https://github.com/englercj/playground#usage
-
Then you should make those changes and PR them to the main repo, not deploy a separate parallel instance. I'd love to integrate the ability to handle l10n! Setting up and running your own instance is not something you need to do, especially if your not familiar with managing deployments like this. If you insist: Everything you would need to know about setting up a server to run the app on is here: https://github.com/englercj/playground/blob/9267471c869d1610339e8c7a175d322453b69dbd/server/droplet-setup.sh Environment configuration and how that gets setup is here: https://github.com/englercj/playground/blob/9267471c869d1610339e8c7a175d322453b69dbd/server/src/config.ts
-
Hello, npm contains all the dependencies needed to build and run locally. To run on the server in "production" mode there is a lot more involved (MySQL and CloudFlare integration for example). I have automated scripts for setting up a server, but you still need to build them yourself and make all the configuration. Why are you trying to publish a separate version of the playground app? If you are trying to share a playground with someone, just make it and save it on the live site: https://www.pixiplayground.com/#/edit
-
Are you encountering a performance issue with the method you are using?
-
If you are using ES6 then extend the class using ES6: export class CustomSpriteClass extends PIXI.Sprite { constructor(imageURL) { super(Texture.fromImage(imageURL)); } } If you have to use ES5 the proper way to extend a constructor is: function CustomSpriteClass(imageURL) { PIXI.Sprite.call(this, Texture.fromImage(imageURL)); } CustomSpriteClass.prototype = Object.create(PIXI.Sprite.prototype); CustomSpriteClass.prototype.constructor = CustomSpriteClass;
-
I think you are looking for getBounds(): http://pixijs.download/release/docs/PIXI.Container.html#getBounds
-
The correct way to implement this would be through a proposed "subresource options" feature (https://github.com/englercj/resource-loader/issues/98) and the addition of a Resource-specific option for appending a query string. If you have better ideas for how this should work, please add them to: https://github.com/englercj/resource-loader/issues As always PRs are welcome for additional features that make your life easier.
-
xerver reacted to a post in a topic: When to use Bitmap Text & Text?
-
http://pixijs.io/examples/#/basics/render-texture.js For next time, prefer opening a new thread to reviving a 3 year old one
- 19 replies
-
- PIXI.Graphics
- Images
-
(and 4 more)
Tagged with:
-
Conditionally load the pixi.js file and the code that draws your graphics based on some JS on your page that does your detection?