Quantcast
Channel: Pixi.js Latest Topics
Browsing all 3980 articles
Browse latest View live

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 Article


Pixi.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 Article


Multiple 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 Article

Pixi.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 Article

Image may be NSFW.
Clik here to view.

Displacement 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 Article


Failed 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 Article

Text 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 Article

Pixi.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 Article


Game 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 Article


Simplest 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 Article

Isometric 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

Keyboard 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 Article


Running 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 Article

Is 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 Article


Stoping 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 Article

Redraw 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 Article


Current 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 Article

Update 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 Article

Image may be NSFW.
Clik here to view.

Rotation 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
Browsing all 3980 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>