Pixi starter project boilerplate with Hot Module Replacement and CoffeeScript
I just created this to accelerate development of Pixi projects: https://github.com/Leftium/pixi-starter Imagine the basic bunny demo, but the bunny reacts immediately to your changes (the game state...
View ArticlePixi.js pixelates texture if too large - WEBGL ONLY
Hello, everyone. I am using an SVG file to render resolution independent textures. My device has a pixel ratio of 3, and so I set the PIXI resolution to 3 for a crisp display. My SVG texture becomes...
View ArticleMultiple Hit Targets?
I want the User to be able to connect two Objects with a Line. Therefore I need the hit target on pointerup. I display the virtual line which changes position with moving the cursor (the end of the...
View ArticlePixi.js Installation Confusion
I'm developing a game and I plan on using Pixi.js for it. I tried installing Pixi.js on my computer by using the NPM install and it did create the node_modules file but, when I tried implementing...
View ArticleDisplacement filter scale issue.
Hi, I've long wanted to implement a neat looking invisibility effect for my game, tried using DisplacementFilter, but stumbled upon an issue with scale property. While it works correctly to displace...
View ArticleFailed to execute 'texImage2D' on 'WebGLRenderingContext' Error
So I treid using Pixi.js for the first time and I tried loading an image onto a web page. When I tried doing so, I got this error: Uncaught DOMException: Failed to execute 'texImage2D' on...
View ArticleText Input?
What is the best way to make a Text Input? I've been researching for hours and trying so many things and can't seem to get a text input working at all. When using a regular HTML text input, the...
View ArticlePixi.JS / Pan & Zoom Canvas
Hi, I'm using Pixi since several days on a game prototype which consists in a map made of tiles. The problem is that I got a big map (2000px / 2000px), so it don't fit a desktop screen, and not any...
View ArticleGame with AJAX->PHP
I'm new to game development. I want to create a game that is decided on the server side with PHP. The graphics will be shown using Canvas and I would hope that some graphics would be used from...
View ArticleSimplest Way of Implementing Keyboard Input into a Pixi.js Game
I'm trying to implement keyboard input into my game (basic WASD input). I tried searching how to do so, but I either came across nothing or something that didn't work. I was wondering if anyone knew a...
View ArticleIsometric grids
I have an isometric grid set up, but I'm not sure what size the tiles should be. In another question I asked about scaling and learned about mipmapping. How does this apply to isometric tiles? Should...
View ArticleHow pixi works in class ?
Hi, I try to create small game with some classes. Can't find some information about this. I think this is not a problem with Pixie, this is my ignorance of the js. Can someone explain me? I want to...
View ArticleKeyboard Movement Acting Weird
So, I implemented keyboard movement into my game: PIXI.loader .add(rooms[0].imageName, rooms[0].image) .add(rooms[1].imageName, rooms[1].image) .add(rooms[2].imageName, rooms[2].image)...
View ArticleRunning PixiJSv4 Project *Locally* On Google Chrome?
Hi, Been a while... I have a problem: My favorite desktop is a slow custom thin client. I run Linux Mint 18.2 KDE 64Bit on the thin client with a Win 10 virtual machine. On Win 10 VM there is no...
View ArticleIs it possible to scale a sprite, and have that new size be set as scale 1?
Hi all I've been making a game with lots of sprites which use high resolution textures. I am hoping to give the option to replace these textures with lower quality ones for performance benefits. I...
View ArticleStoping followcurve
Hi everyone, I'm new to pixi.js, I have made sprite and moving it by followcurve function, I want to detect mouse collision with sprite and change followcurve path, but I can't stop sprite and...
View ArticleRedraw only when needed
Is there a way to have Pixi only redraw as needed? For example, in the RenderTexture sample, the GPU is at 20% but nothing is...
View ArticleCurrent status of Pixi development?
Hi Everyone! I have a gazillion little projects happily running a late version of Pixi v3. I'm *considering* upgrading to Pixi v4, but before I do, have a few questions: 1. Is there a v3/v4 change log...
View ArticleUpdate scene graph via state
I'm toying around with the idea of rendering out via react or some other "view-from-state" methodology. Whatever it is - in this scenario, state is managed via logic before it gets pushed to the view...
View ArticleRotation control?
I'm porting over an old flash app that used to rely on this third-party contribution: http://proj.lamb-mei.com/handlesheet/ (you need to enable flash) Source code is at...
View Article