Quantcast
Channel: Pixi.js Latest Topics
Browsing index pages (4008 articles)
↧

Proper freeing of textures and cleaning up the loader

I have an in-game asset that can be swapped out. I want to do the right thing by loading the new asset on-demand and then be a good citizen and release the older textures. Code looks something like...

View Article


Responsive Design

Hey ! I was able to resize my canvas so it always fills the whole screen, with app.renderer.view.style.position = "absolute"; app.renderer.view.style.display = "block"; app.renderer.autoResize = true;...

View Article


A portable PixiJS v8 particle workflow: author, validate, export, run

I’ve been working through a cleaner way to keep particle effects out of PixiJS scene code while still making them versionable and easy to review. The workflow that has held up best for PixiJS v8...

View Article

LS Dialog Editor (LSDE) v2 is release

**v2 is here**, one week late 🙂, but with a major overhaul of the **LSDE/LSDEDE** stack and a ton of new features. - **~10× faster performance** with native bytecode, with PixiJS WebGL/WebGPU as the...

View Article

How to check if members are initiated in constructor

Here is the full question https://stackoverflow.com/questions/66646134/checking-if-members-are-initiated-yet-in-constructor   I have a class that extends `PIXI.Text` which overrides the default...

View Article


WTB: Fully Completed HTML5 Game with IAP & Exclusive Rights (Pixi.js...

Hello everyone, I am looking to buy a fully completed, ready-to-launch game, but I require the 100% Exclusive Rights (Full Copyright Ownership). Upon purchase, you must hand over the complete source...

View Article

PixiJS v7 — handball pitch motion looks stiff / clumps (help)

Hello! Thanks in advance for any tips. PixiJS v7.4.3 (WebGL 2D) — isolated handball pitch demo (not a full game). Problem Top-down handball match view (7 vs 7 discs). Formations switch on possession;...

View Article

Optimizing asset loading and performance for heavy canvas applications

I've been working with PixiJS for rendering animations and managing graphic elements on web canvases. Recently, I ran into a bit of a bottleneck while handling asset bundling and cache management for...

View Article


How do I get a texture ID from a direct source as in a pokemon sprite?

If i'm publishing sprites to Pokemon fan games, how would i get a texture id? As in a direct source of the sprite? Do I copy and paste something? I was told it was the direct id of a decal and that...

View Article


Guide to pixi-V4 filters

V4 filters are differ from V3. You can't just put there shader and assume that texture coords are in [0,1] range. I am sorry that you have to learn all of that, and I will make sure that the process...

View Article

Image may be NSFW.
Clik here to view.

Questions about mobile games with PixiJS

Hi guys, After skimming through the forum, I really couldn't find any sound information about the mobile game development with PixiJS. I used Starling before and had success with it. I don't want to...

View Article

Stage vs renderer size

I have a silly question and I haven’t found any explanation online, so if this has already been covered, please respond with a link… I’ve been playing around with Pixi and I’m having trouble with all...

View Article

Assets cached via Spine.from() are not removed by Assets.unloadBundle()...

Hello, I'm running into some unexpected caching behavior with Spine in PixiJS. Package versions: "pixi.js": "8.17.1" "@esotericsoftware/spine-pixi-v8": "4.2.107" Code example: // STEP 1 — Load bundle...

View Article


Spine.from() still works after Assets.unloadBundle — cached data not cleared...

Hello, I'm running into some unexpected caching behavior with Spine in PixiJS v8. Package versions: "pixi.js": "8.17.1" "@esotericsoftware/spine-pixi-v8": "4.2.107" Example: // STEP 1 — Load bundle...

View Article

Image may be NSFW.
Clik here to view.

PixiJS Warning: [Assets] Asset id ./Assets/dragon-skeleton.atlas was not...

This is my code copied from pixi/opengames. private spine: Spine;     /** Inner container for internal animations */     private container: Container;       constructor() {         super();...

View Article


RenderTexture performance issues

Hi there, I'm working on creating a casino slot game which has a lot of reels. The reels themselves are very heavy so I'm using a renderTexture for each reel to optimize. It helps a lot, but up to a...

View Article

possible to tell pixi to render children which are not in Container.children...

Is it possible to tell pixi to render children which are not in Container.children array? They are in separate  Content.array  Thanks!

View Article


Dynamic naming of graphics and inspecting the canvas

I believe I have used name = to assign a dynamic name to each of my icons. However I am unsure and wanted to inspect the DOM but I couldn’t see a way to do this. I found a chrome browser extension but...

View Article

Text and resolution

Hi everyboby, I have a surely a trivial question for some of you, but What is the good rule to have always  crispy texts in pixi.js. Something like ?  this.text = new PIXI.Text(this.model.text,...

View Article

Portrait and landscape design switch

So I'm trying to provide a portrait and landscape design for my game. Currently I'm able to resizing the canvas keeping 16:9 aspect ratio for landscape and 9:16 for portrait, everything works fine in...

View Article
Browsing index pages (4008 articles)


Latest Images